View Full Version : 20 day breakout system question
enoc2g
06-01-2007, 11:20 AM
Hi is it possible to program ninja trader to buy on the 20 day breakout high?
pls let me know.. THANKS.
NinjaTrader_Dierk
06-01-2007, 11:24 AM
You can code your custom strategy by using NinjaScript (the programming language of NinjaTrader). However, this requires some coding proficiency, there is no "button" where you just could enable such a strategy. Please check out our free webinars (see link in my signature) and NT documentation for assistance on how to code NinjaScript to implement your particular strategy.
enoc2g
06-01-2007, 11:32 AM
is it possible to use condition builder to do this?
enoc2g
06-01-2007, 11:33 AM
im checking out the doc now on condition builder and it looks like i might be able to based on price data tab....
NinjaTrader_Dierk
06-01-2007, 11:34 AM
Great. The condition builder is a perfect starter to get familiar with NT custom strategies.
enoc2g
06-01-2007, 11:39 AM
sounds good, i just want to program it to buy the 20 day high
so basically it would be :
if current high is greater than high 20 bars back buy! my only question is will this work on daily bars by default or do i need to tell it that?
NinjaTrader_Dierk
06-01-2007, 11:42 AM
You would select the daily as series you want to run the strategy on. Please consider attending our free webinars to learn about e.g. using the strategy analyzer or how to run a strategy on a daily chart.
enoc2g
06-01-2007, 11:43 AM
which course would that be?
NinjaTrader_Dierk
06-01-2007, 11:45 AM
My apologies: I just noticed there is nothing scheduled in regards to strategy analyzer for next week.
However: The New User Orientation is a good starter to learn about "what's available where".
enoc2g
06-01-2007, 11:50 AM
cool, question when my system is turned off will it still exercise my strategy?
NinjaTrader_Dierk
06-01-2007, 11:53 AM
No, since NT hosts your strategy and executes it. If NT is not running, then your strategy is not running.
enoc2g
06-01-2007, 11:59 AM
Thanks and I guess if im using gain to trade forex I cant really backtest my strat based on daily time frame I would need esignal for that right?
NinjaTrader_Dierk
06-01-2007, 12:03 PM
eSignal would be a valid source for daily forex backfill data.
zukkaweb
11-02-2008, 06:23 AM
i'd like to test this strategy,
but the code is isn't complete.
bye