molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Wed May 15, 2024 6:53 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Unable to Import Custom Indicator
PostPosted: Thu Aug 12, 2010 8:20 am 
Offline

Joined: Thu Aug 12, 2010 7:49 am
Posts: 81
Hi, Molanic,

I am facing a problem when I want to import my Custom Indicator, the error message as following: Error: Can't read the Custom Indicator. Aborting! please verify that you are reading an MQL file.\ nIn the Custom field insert the indicator name and variables. Kindly let me know what's wrong with it and how to solve the problem?

Thank you for your help.

K. W. Ng


Attachments:
FX_FISH_2MA.mq4 [5.85 KiB]
Downloaded 434 times
Top
 Profile  
 
 Post subject: Re: Unable to Import Custom Indicator
PostPosted: Thu Aug 12, 2010 8:57 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
This indicator is not well written.
It has defined variables that are used as a help - so they are no real variables.
Just change it from
extern string TypeHelp="SMA- 0, EMA - 1, SMMA - 2, LWMA- 3";
extern string TypeHelp2="John Hyden settings TypeMA1=0, TypeMA2=3";
to
//extern string TypeHelp="SMA- 0, EMA - 1, SMMA - 2, LWMA- 3";
//extern string TypeHelp2="John Hyden settings TypeMA1=0, TypeMA2=3";


Attachments:
File comment: Modified Indicator
FX_FISH_2MA.mq4 [5.88 KiB]
Downloaded 439 times
Top
 Profile  
 
 Post subject: Re: Unable to Import Custom Indicator
PostPosted: Thu Aug 12, 2010 9:38 am 
Offline

Joined: Thu Aug 12, 2010 7:49 am
Posts: 81
Hi, Molanis,

Thank you for your quick reply.

After I changed according to your instruction. But the problem still the same. May I know why?

Thank you.


Top
 Profile  
 
 Post subject: Re: Unable to Import Custom Indicator
PostPosted: Thu Aug 12, 2010 12:25 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Use the one I uploaded.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009