TEAMTRADER
Active member
- Messages
- 198
- Likes
- 86
Fractals are based on highs and lows.
Does anyone know how to change fractal based indicators to OPEN prices?
The bit of code that I think needs amending is below. But not being a coder does not help!
Thanks to anyone who can help.
Regards
TEAMTRADER
val1 = iFractals(NULL, 0, MODE_UPPER,i);
if (val1 > 0)
v1=High;
else
v1 = v1[i+1];
val2 = iFractals(NULL, 0, MODE_LOWER,i);
if (val2 > 0)
v2=Low;
else
v2 = v2[i+1];
Does anyone know how to change fractal based indicators to OPEN prices?
The bit of code that I think needs amending is below. But not being a coder does not help!
Thanks to anyone who can help.
Regards
TEAMTRADER
val1 = iFractals(NULL, 0, MODE_UPPER,i);
if (val1 > 0)
v1=High;
else
v1 = v1[i+1];
val2 = iFractals(NULL, 0, MODE_LOWER,i);
if (val2 > 0)
v2=Low;
else
v2 = v2[i+1];