thank you for the seminar "Introduction to Ninjascript strategy development"! It helps me a lot. Following that I decided to program Turtle strategy which is based on entry after 20 bar high/low breakout and exit after 10 bar low/high breakout. I am faced with two problems:
1. Strategy do not entry short, only long. If I swith Sets of conditions, that Short Entry is 2 and Long Exit is 3, it enters correctly both directions, however exit only at oposite entry.
2. I am not able to export strategy from NT, because of following itam at LOG:
11.9.2008 16:57:45 Default Error compiling export sources: c:\Documents and Settings\Vlada\Dokumenty\NinjaTrader 6.5\bin\Custom\Strategy\Turtles2.cs(69,31) : error CS0103: Name MAX do not exist in actual context
Because I was not able to export, strategy I saved it as txt.
Thank you for your help!
Vladimir

Comment