I have here a strategy which does not to apply the condition as I think it should. But i am new to scripts and could have made something wrong.
See the attached picture : when asked to enter when the indicator is rising, the strategy ignores the condition .
In the title is written "half ignored", because if we add 10 pts in the same condition, the strategy reacts and the order we see in the picture is not entered.
I also attach a copy of the code that relates to this indicator (which is a simple copy of the available LineReg indicator), just to confirm that every input regarding this indicator are entered right.
The strategy behaves the same after entering the same parameters in the builder...
Is anyone able and would care to tell us how this can be ?

Comment