Hello Support,
Thanks for answer.
I spend much time to back test this strategy and as you can see on the snapshot attached, it trades.
I don't know how to use the logging values strat in the link. The code you provide (conditions for buy/sell) in the strat seems ok.
But as you can see, it trades (open buy or sell) whereas the conditions (stoch cross) are not met.
Do you think stochastic is only a visual indicator and can't be traded in an automated strategy?
Do you think (in a another way) that it opens a trade before the current bar is closed?
Im sorry but I learn more and more in the forum and in the wiki, but there is a lot of knowledge and it takes long time
Thanks to consider my request,
cheers,
Math