Forex Forum - EarnForex
Serving Traders Since 2005
 

Go Back   Forex Forum - EarnForex > MetaTrader > MetaTrader Indicators

MetaTrader Indicators Post and discuss the MetaTrader indicators here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 9th October 2009, 09:40
Default Avatar
Junior Member
 
Join Date: Sep 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compiling Trouble

I need help in compiling an indicator I have found at http://hyiperz.com/wp-content/upload...lagma_v711.mq4.


Do I just need to copy this to the MetaQuotes Language Editor and press compile? I don't seem to get a file I can add to my MetaTraders/Experts/Indicators directory.?


Thanks
Reply With Quote
  #2 (permalink)  
Old 9th October 2009, 12:33
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,446
Thanks: 6
Thanked 8 Times in 7 Posts
Default

I get 403 Forbidden Error when I try to open the link.

If it's opening as an MQL code to you then you have to "Save As..." it to your PC, then copy to the indicators directory and then compile it.
Reply With Quote
  #3 (permalink)  
Old 9th October 2009, 15:34
Default Avatar
Junior Member
 
Join Date: Sep 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4 (permalink)  
Old 9th October 2009, 17:55
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,446
Thanks: 6
Thanked 8 Times in 7 Posts
Default

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.
Reply With Quote
  #5 (permalink)  
Old 10th October 2009, 08:52
Default Avatar
Junior Member
 
Join Date: Sep 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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)
Reply With Quote
  #6 (permalink)  
Old 10th October 2009, 16:05
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,446
Thanks: 6
Thanked 8 Times in 7 Posts
Default

I guess that it's not possible for me to help solving that error without seeing the full code.
Reply With Quote
  #7 (permalink)  
Old 13th October 2009, 07:41
Default Avatar
fxp fxp is offline
Banned
 
Join Date: Oct 2009
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can try to download another NONLAGMA indicator, there are plenty which are all the same in terms of calculation.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Inactive Reminders By Icora Web Design

SEO by vBSEO 3.3.2