Compiling Trouble

  • Thread starter Thread starter JXBlack
  • Start date Start date
  • Watchers Watchers 1
Thanks for your reply.

How do I know if it is opening as an MQL Code?

I copied this page to the editor.
I hit compile.
At the bottom of the page i see it is compiling and I see 1 error and no warnings.

This indicator now shows up in the customs indicators and in the script directories., but when I drag it to a chart ,,,,,,,,nothing happens.

I don't care so much about this indicator, I just want to learn how I convert this kind of script to a working indicator.

Thanks again
 
First, for me the page shows not an indicator's code but a simple web server error 403.
Second, if you try to compile it and see the error, then you should treat it somehow. If you don't know how to do it then post the error message here and I'll try to help you.
Third, only after indicator's compiled without any errors it can be used in your MT4.
 
I believe this is the error message?

'start' - function already defined and has a body C:\Program Files\MetaTrader - Alpari UK\experts\indicators\NonLagMA_v7.1.1.mq4 .mq4 (223, 5)
 
You can try to download another NONLAGMA indicator, there are plenty which are all the same in terms of calculation.