NexusFi: Find Your Edge


Home Menu

 





Symmetry


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Maletor with 11 posts (3 thanks)
    2. looks_two Big Mike with 6 posts (0 thanks)
    3. looks_3 Todd with 4 posts (0 thanks)
    4. looks_4 kronie with 2 posts (0 thanks)
    1. trending_up 13,467 views
    2. thumb_up 3 thanks given
    3. group 6 followers
    1. forum 25 posts
    2. attach_file 9 attachments




 
Search this Thread

Symmetry

  #11 (permalink)
Maletor
Boston
 
Posts: 88 since Jun 2009
Thanks Given: 7
Thanks Received: 27

All prime fib numbers. Because why the heck not?

Attached Thumbnails
Click image for larger version

Name:	Picture 8(2).png
Views:	364
Size:	940.2 KB
ID:	50  
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #12 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512

i have forget symmetrie but now is back in brain and i will insert in my simple strategy some points and add some variables for optimizing.

nice weekend

this is i was looking for onbarupdate

 
Code
// For direction
			if(direction == "long")
				if(Close[0] < DoubleMA(1, NinjaTrader.Indicator.MAV.MAType.ADXVMA, 15, NinjaTrader.Indicator.MAV.MAType.ZeroLagEMA).RisingPlot[0]) 
					direction = null;
				
			if(direction == "short")
				if(Close[0] > DoubleMA(1, NinjaTrader.Indicator.MAV.MAType.ADXVMA, 15, NinjaTrader.Indicator.MAV.MAType.ZeroLagEMA).FallingPlot[0]) 
					direction = null;
A other good point is to add in this strategy
 
Code
if(direction == null)
 if(DoubleMA(1, NinjaTrader.Indicator.MAV.MAType.ADXVMA, 15,   NinjaTrader.Indicator.MAV.MAType.ZeroLagEMA).Signal[0] == 0) 
 Go and smoke a cigarette come back in 10 minutes

Reply With Quote
  #13 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603



Maletor View Post
All prime fib numbers. Because why the heck not?

28657 tick... awesome!

Your charts are very nice, clean, simple. Great job.

I'd like to see more of your daily charts if you don't mind taking some shots here and there as the days go by. We have a forum just for that:
[B]Daily charts and profit/loss reports[/B]

Mike

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #14 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 since Jun 2009
Thanks Given: 28
Thanks Received: 40

maletor,

You said you want to stay out of "flat eco"... how are defining flat? Aren't you entering when eco is near the zero line - isn't that basically flat?

I really think the eco is a good indicator....

Todd

Reply With Quote
  #15 (permalink)
Maletor
Boston
 
Posts: 88 since Jun 2009
Thanks Given: 7
Thanks Received: 27

I just mean when the ECO is ranging between -10 and +10 for a relative amount of time.

I really want the thing to thurst through the 0 line like it's got a pair.

Reply With Quote
  #16 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 since Jun 2009
Thanks Given: 28
Thanks Received: 40

true.... but how do you program that into a strategy that can be backtested?

Reply With Quote
  #17 (permalink)
Maletor
Boston
 
Posts: 88 since Jun 2009
Thanks Given: 7
Thanks Received: 27

You don't.

We are human. We are infinitely smarter than computers. We just have to be "unconsciously competent".

Reply With Quote
  #18 (permalink)
Maletor
Boston
 
Posts: 88 since Jun 2009
Thanks Given: 7
Thanks Received: 27

Here is version 3. Buggy, and still just a prototype.

Attached Files
Elite Membership required to download: Symmetry3.zip
Reply With Quote
Thanked by:
  #19 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

Todd,

I think it will depend on if you want an auto-strategy or a mechanical strategy.

For instance, instead of spending your life trying to program "chop", you can just watch the chart. If you are in chop, then don't have the strategy running. Once you exit, turn the strategy back on. This is the approach I favor. Roonius has something called Discretionary Buttons which put buttons right on your chart to make this incredibly easy, much easier than manually adding/removing a running strategy.

Mike

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #20 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603


Maletor,

What I do in order to make my strategies not "jump in" is something like this:
 
Code
#variables
signal = "firstbar"

#onbarupdate

// looking for longs
if (signal == "firstbar")
blah
blah

EnterLong();

signal  = "long";

if (signal != "firstbar" && marketposition == position.flat)
signal = "justexited";
I don't have Ninja up so I had to adlib some of that, but you get the idea. Basically, once you EXIT a position you want the "signal" to change to "justexited". Then you can test for that, and make sure you have a valid NEW setup, not just a continuation of a previous setup.

Make sense?

As for pullbacks, you can record the value of one of your primary signals (say the DMA adxvma line), and then compare price to that value. If price has moved a certain distance you could consider it a pullback, etc.

Mike

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on August 3, 2010


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts