Download MetaTrader 5

Newby needs coding help please?

To add comments, please log in or register
One billion tasks have already been executed with MQL5 Cloud Network. Test trading robots even faster!
SADigger 2015.12.25 08:50 

Hail the reader... and to him a Merry Xmas and many pips in the coming year.

I am endeavoring to change some code in my indicator - but on compiling it gives me the error as see in the file appended hereto.

The error message is as follows:-

'SetIndexLabel' wrong parameter count

I am grateful for someone to help me - at 80 years old it does become more difficult to cotton on to all things new.

Thank you to the good Samaritan.


Keith Watford
Keith Watford 2015.12.25 10:33  

Line 88

SetIndexLabel     (0, DRAW_LINE, STYLE_SOLID, 1, Aqua);

change to

SetIndexStyle     (0, DRAW_LINE, STYLE_SOLID, 1, Aqua);


To add comments, please log in or register