iEnvelopes does not accept negative shift
double envHigh = iEnvelopes(NULL, 0, maPeriod, MODE_SMA, 10, PRICE_MEDIAN, deviation, MODE_UPPER, -10)
qjol:
double envHigh = iEnvelopes(NULL, 0, maPeriod, MODE_SMA, 10, PRICE_MEDIAN, deviation, MODE_UPPER, -10)
same result as...
double envHigh = iEnvelopes(NULL, 0, maPeriod, MODE_SMA, 0, PRICE_MEDIAN, deviation, MODE_UPPER, 0)
and double envHigh = iEnvelopes(NULL, 0, maPeriod, MODE_SMA, 0, PRICE_MEDIAN, deviation, MODE_UPPER, -10) returns 0.00000000
MisterDog:
It can't work . . . plot it manually on a chart show a screenshot and tell us what the values are for bar 0 . . . and then tell us what the values are for bar 11.
How do I get iEnvelopes to use a negative shift?
Negative shift works here...
How do I get iEnvelopes to use a negative shift?
Negative shift works here...