negative variables
-
i just discovered that Project Variables cannot be negative. or at least it seems that way.
my entry Condition uses a custom indicator that references a Project Variable, and as soon as i flipped the variable positive, and used the ADJUST field *-1, my entry now works.
-
This works for me: https://fxdreema.com/shared/kkdXLDHPc
Check if your variable is numeric type. Or is it variable like this at all, because there is another type of global variables. Or give me more details, some screenshot for example.
-
yes, your code is like my workaround (which works). but when my Project Variable is simply set to -1, it doesn't work. i have to make the PV +1 and use the Adjust *-1 as you did in order for it to work.
-
If you made the same project in the web version I will be able to see it and tell you exactly what is going on. It can be imported also from .mq4 file (the one generated with fxDreema).