You have very old version.
instead of SetIndexDigits use IndicatorDigits
instead of SetIndicatorArray use SetIndexBuffer
instead of SetIndexValue use direct access to the index array
see our samples
instead of SetIndexDigits use IndicatorDigits
instead of SetIndicatorArray use SetIndexBuffer
instead of SetIndexValue use direct access to the index array
see our samples
thanks for the pointers for the SetIndexValue.
as to me having an old version.. I got the latest build 148..
and those custom indicators fatl, moving average, sma etc are just a few of the new indicators that appeared on my platform since build 147 which don't compile.
and didn't get corrected since the move to build 148..
the only one you did correct was the zigzig indicator.. which now works fine..
as to me having an old version.. I got the latest build 148..
and those custom indicators fatl, moving average, sma etc are just a few of the new indicators that appeared on my platform since build 147 which don't compile.
and didn't get corrected since the move to build 148..
the only one you did correct was the zigzig indicator.. which now works fine..
"very old version" - i mean version of indicator sources.
thanx for note. there was our error
thanx for note. there was our error
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
many have functions that you are using which don't seem to exist like
in sma +object indicator
you have SetIndexDigits + SetIndicatorArray which are not declared.
another favourite of yours is the function SetIndexValue which is not declared.. in the indicator "FATL" and also not delcared in the majority of the new indicators you added.
Just thought I should let you know.. incase you are unaware of these errors
Just out of curiosty what is the replacement for the function
SetIndexValue..
becuase I have a few indicators that I am having ago at trying to convert from Mql2 to Mql4
and I can't work out how rewrite lines with SetindexValue.