The strategy is a crossover strategy. I have 3 sets in the conditions and actions section. The first is the buy order, the second is the sell order, and the third is my way to implement the limit.
The current way I am implementing the limit is that I have a bool variable that defaults to "True". In both of the trading sets, I have it check to see if that variable is still true and if it is, to go ahead and trade. The third set is set up to change that variable to False using the following command - SystemPerformance.AllTrades.TradesPerformance.Tick s.CumProfit>23 Do the following: Oktotrade=False.
I'm not sure what the issue is. I've double-checked any user error, like using the wrong account, or not using the right expiration time on the instrument. I have also checked for any errors on the log. I am not really sure what else to do. I would appreciate any help I could get.
Comment