Hi everyone,
i have made an indicator based on a strategy i'm looking at but can't find what's wrong with it.
The purpose is for it to place previous week high/low/middle and a short and long indicator line.
The long indicator line seems to be ok (but i'm not sure the calculation is right) but the short has the same value as the long despite the calculation being reversed.
The code is pretty self explainatory. Thanks a lot in advance.
i have made an indicator based on a strategy i'm looking at but can't find what's wrong with it.
The purpose is for it to place previous week high/low/middle and a short and long indicator line.
The long indicator line seems to be ok (but i'm not sure the calculation is right) but the short has the same value as the long despite the calculation being reversed.
The code is pretty self explainatory. Thanks a lot in advance.
Attached File(s)
High Low.mq4
5 KB
|
461 downloads