Hi.
I wanna try a strategy and i am looking for a code that takes a position one for up and closes after say 3 hours no matter win or loss?
Hi Stephan
What are your conditions to enter Long or Short? Plenty of examples on here or in the PRT Auto-System Help Manual.
Let’s say you are using the 5 Min Timeframe, then to close your Trade after 3 hours is …
IF BarIndex - TradeIndex = 36 Then
Sell at Market
ExitShort ar Market
EndIF
Cheers
GraHal
Hello GraHal.
If I would like to have the bollingerband middle as buy or sell condition?
For example If Its under bollinger middle It goes long and If Its over It goes short and then close after 5 hours?
Thanks for the reply GraHal 🙂 i will try it out!