i trade since 2 years, and i am learning C# since 2 weeks with an book, but its not for traders :-)
I have an developed with the Wizzard an Indicator wich works nice.
But i cant build a strategy out of it to 1 test it in strategy analyser, or to let it run as strategy, because i dont know how to calculate the SL or TP , but i think its very simple :-)
My SL should be for:
Long = (last bar bullish candle) the Low [1] till the Close[1]
Short = (last bar bearish candle) the High [1] till the Close [1]
SL is normal = Close +- High/Low, but i dont know how to describe it with Ninjascript:-)
TP1 for Long or Short = The SL of the last candle.
TP2 = TP1+TP1
BE of the 2 Trades = after TP1 is reached.
And i want to enter the Trade after last bar is closed, (signalbar)
I watched BigMikesAdvanceStrategyVideo, and some others about the Wizzard from Ninjatrader.com, but i dont know how to calculate it in NinjaScript :-) I can not really find a lot of videos from where i can see people coding a different strategy than Xcrossing, which would help me to learn from it.
Can you help me please? :-)
Sorry for my English, its not my first language.
Thanks a lot for your help.
Comment