
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
Below code comes from an indicator's code, and I think the red codes and blue codes are the same, but in the fact very different.
the red code gets the line as 'A' and blue code gets the line as 'B':
A:
B:
in addition, i find add label by two methods as below:
"IndicatorShortName("BIAS("+MAPeriod+")"); SetIndexLabel(0,"BIAS"); "
"IndicatorShortName("BIAS("+MAPeriod+")"); " always works, but "SetIndexLabel(0,"BIAS"); " not. I don;t know why, because i think they should all work well.