I am trying to set Indicator buffers and make the Moving Averages a specific colour but its not working only 1 buffer is set "MA 1" and the colour is black
Where did you tell the terminal how many visible buffers you have and how many total?
William Roeder #:
Where did you tell the terminal how many visible buffers you have and how many total?
Thanks for the reply here I have used IndicatorBuffers() Where did you tell the terminal how many visible buffers you have and how many total?
int MATotalBuffers = StringSplit(MAPeriod,',',maperiods); if(MATotalBuffers < 2 || MATotalBuffers > 7) { if(MATotalBuffers < 2)Alert("MA Periods Less than 2 Kindly Check"); if(MATotalBuffers > 7)Alert("MA Periods More than 7 Kindly Check"); return (INIT_FAILED); } int BufferSize = MATotalBuffers; if(IndicatorBuffers(BufferSize))Alert("Buffers ",BufferSize); else if(!IndicatorBuffers(BufferSize))Alert("Failed ");

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