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 Sat May 18, 2024 11:29 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Customer Indicator Builder
PostPosted: Wed Jul 13, 2011 4:28 am 
Offline

Joined: Fri Mar 11, 2011 7:50 am
Posts: 40
Hi,

How to create a customer Indicators: Moving Averages period, 7 and 26 steps backwards. Pace in the past 26 (-26). What and how to write in Calculation line?

Please reply as soon as

The best!

Martin


Top
 Profile  
 
 Post subject: Re: Customer Indicator Builder
PostPosted: Wed Jul 13, 2011 10:22 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
I hope you mean custom indicator.
To create an ma indicator, add a TI icon, then in the advanced formula select average, in the advanced period select period - this is the ma period. In the formula use the input for the moving average (price and shift), i.e. for ma of current close price use Close[i]
You can also use the indicator button, just click it and add an ma indicator (with this option do not use the advanced formula and period described above)


Top
 Profile  
 
 Post subject: Re: Customer Indicator Builder
PostPosted: Wed Jul 13, 2011 11:29 am 
Offline

Joined: Fri Mar 11, 2011 7:50 am
Posts: 40
Hi,

Thank you for answering.
But I've already done it all, which I opened the indicator in MT4, but it does not work. From that moment, when I open him up to it in MT4, it does not work, just stops.
What's wrong?

Please answer quickly!

Thanks,

MartinA


Top
 Profile  
 
 Post subject: Re: Customer Indicator Builder
PostPosted: Wed Jul 13, 2011 12:15 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Probably the indicator scale is different to the pair scale so you won't see it on the screen. i.e. you are plotting a number like 10 but the range for the pair is 1.4 to 1.5 - MT4 shows the range for the pair
Try changing the indicator to plot as a separated chart (in the START icon)


Top
 Profile  
 
 Post subject: Re: Customer Indicator Builder
PostPosted: Wed Jul 13, 2011 1:57 pm 
Offline

Joined: Fri Mar 11, 2011 7:50 am
Posts: 40
Hi,

Thank you for your response.

Sorry, but I did not know where and what I need to change?

Please reply as soon as

best of all,
MartinA


Top
 Profile  
 
 Post subject: Re: Customer Indicator Builder
PostPosted: Wed Jul 13, 2011 8:29 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
In the indicator builder, click on the START icon. It has only one option, change it.


Top
 Profile  
 
 Post subject: Re: Customer Indicator Builder
PostPosted: Thu Jul 14, 2011 5:17 am 
Offline

Joined: Fri Mar 11, 2011 7:50 am
Posts: 40
Hi,

Please a help!
I guess I've already tried everything, can not in any way. I do not know what I'm doing wrong!
Please help, I need: Moving Avarage, Period 10, Shift -30.

Please reply as soon as

Best Wishes!

MartinA


Top
 Profile  
 
 Post subject: Re: Customer Indicator Builder
PostPosted: Thu Jul 14, 2011 6:40 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Please post your indicator file .mol file to take a look
Anyway why do you want to create a simple indicator that already comes with metatrader?


Top
 Profile  
 
 Post subject: Re: Customer Indicator Builder
PostPosted: Thu Jul 14, 2011 8:26 am 
Offline

Joined: Fri Mar 11, 2011 7:50 am
Posts: 40
Hi,
Thank you for answering!
Certainly it is a simple indicator, but I can not add Shift to -30.
I added the Molanis file.

All the best,

MartinA


Attachments:
MAClose[i].moi [1.45 KiB]
Downloaded 414 times
Top
 Profile  
 
 Post subject: Re: Customer Indicator Builder
PostPosted: Thu Jul 14, 2011 10:07 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
If you want to add the shift to ma, you need to create the indicator clicking in the indicator button (look for the ma indicator and set the parameters period and shift) Do not use the advanced option and period in this case - if you use it, you will have a ma of a ma.
MInd you the shift we allowed is positive bacause a negative shift moves the chart to the left.
Shift = -30 will plot the ma in the bar 30 bars ago from the current bar. So you do not get any signal in the current or previous bar (or the previous 29 bars). For us it does not make sense to create such indicators so we restrict shifts to positive values.
In my opinion, just use the ma that comes with mt4, there you can put the -30 shift and have an ma that plots in all but the last 30 bars.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next

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:  
Powered by Molanis © 2009