alien1983:
Hi,
how to correctly rewrite this line from pine script to mql4?
Pine Script:
mql4 error:
'[' - array required
'SmoothedTrueRange' - invalid array access
Thx...
// SmoothedTrueRange = nz(SmoothedTrueRange[1]) - (nz(SmoothedTrueRange[1])/ADX_Length)+ TrueRange; //SmoothedTrueRange is a array or SmoothedTrueRange[0] double SmoothedTrueRangenew = nz(SmoothedTrueRange[1]) - (nz(SmoothedTrueRange[1])/ADX_Length)+ TrueRange;

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
Hi,
how to correctly rewrite this line from pine script to mql4?
Pine Script:
mql4 error:
'[' - array required
'SmoothedTrueRange' - invalid array access
Thx...