In my initialize, I included :
SetProfitTarget(CalculationMode.Price, 2.5);
and for some reason, it's not exiting my position when it reaches a 2.50 $ increase in price.
I also tried : SetProfitTarget(CalculationMode.Percent, 1);
nothing works...
here is my ZIP. thank you

Comment