thank you
it is not work
I managed to get this to work, by replacing;
size = ArraySize(data);
with
size = ArrayRange(data,0);
and replacing;
if(sy!=Symbol())
with
if(sy!=StringUpper(StringTrimLeft(StringTrimRight(Symbol()))))
- ArraySize(); was returning the size of the whole data array vs the 0/row elements which was causing the for loop to fail
- Wrapping Symbol() with StringUpper(StringTrimLeft(StringTrimRight())) normalised the comparison which meant that there was a like for like comparison, else no symbol was being matched for me
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
Statement To Chart:
Author: Rustamzhan Salidzhanov