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 Mon Apr 29, 2024 8:08 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Custom Indicator by Molanis refuses to appear on screen
PostPosted: Thu Aug 19, 2010 8:08 am 
Offline

Joined: Thu Aug 19, 2010 8:01 am
Posts: 19
I have designed a basic Custom Indicator with Molanis Technical Indicator Builder and compiled it successfully. It doesn't show anything on the MT4 screen however.
What can be the problem?
Regards.


Attachments:
MagicTrend.ex4 [3 KiB]
Downloaded 751 times
MagicTrend.moi [3.19 KiB]
Downloaded 782 times
Top
 Profile  
 
 Post subject: Re: Custom Indicator by Molanis refuses to appear on screen
PostPosted: Thu Aug 19, 2010 11:47 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
In the graph MetaTrader gives priority to the price action - the graph focuses is the current price
If the current price is 1.34 and your indicator value is 5, mt4 won't show your indicator. There is no adjust graph size to see my value of 5 in mt.
That is why you have two types of indicators - in the chart or in a separated chart
If your indicator is not close to the price action, you better use in a separated chart.
In your case, you have this calculation:
High[i]+Low[i]+Close[i]/3 = 1.4+1.2+1.3/3
It should be (High[i]+Low[i]+Close[i])/3 to get the average - remember the basic math rules


Top
 Profile  
 
 Post subject: Re: Custom Indicator by Molanis refuses to appear on screen
PostPosted: Sat Aug 21, 2010 9:55 am 
Offline

Joined: Thu Aug 19, 2010 8:01 am
Posts: 19
Thank you Molanis for your help. Set in a separate window the indicator does appear, although I'll have to work on it to make it more significant.
Sorry about the maths oversight. The parentheses make an awful lot of difference!
Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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