I thought I haved solved all questions for the strategy. Now it occurs that the stoploss doesn´t work as stop but it closes in a winning position because it uses the upper parabolic as "stop". How can I avoid this and what do I have to change in the stoploss variable so that only lower parabolic works as stoploss (for longs of course). My stoploss now is
stop1=ParabolicSAR(0.02, 0.2, 0.02)[0];
SetStopLoss("LG1", CalculationMode.Price, stop1, false);
In the attached screenshot you can see what I mean - the strategy should use the (lower) parabolic as stop - of course it does - but it also closes winners at upper.
Thanks
Tony
Comment