You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
In this code, the buffer 0 and 1 it working but not displayng on the chart because i want to do so, buffers 2 and 3 is working and displayng on chart and that is ok, the problem is for buffers 4 and 5 the code of them is not make the matematic calcul and not display on chart!
Thank you very much for your help!
I wait for answers!
you calculate with these values before they have value, that part is after this line in the code:
this part is better placed after the other calculations in the while loop.
and as angevoyageur also noticed, probably here also you should use i+0, i+1, i+2.
dCurrent<Low[i+6]
ExtUpFractalsBuffer[i]=dCurrent; UpRatio[i]=dRatio; UpValue[0]=dUpValue;
ExtUpFractalsBuffer[i]=dCurrent; UpRatio[i]=dRatio; UpValue[i]=dUpValue;