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 Apr 27, 2024 10:10 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Post your custom indicatos and we will create the ea for you
PostPosted: Thu May 07, 2015 11:37 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
We can check your request if you complete it. We need:
-An image showing the indicator and the signals (like this line is a, this line is b, buy if a>b)
-A written description on how to use the indicator (when to trade)
Are you using the 3 indicators in one ea, or it it 3 eas? please do one post per ea


Top
 Profile  
 
 Post subject: Re: Post your custom indicatos and we will create the ea for you
PostPosted: Mon May 11, 2015 9:29 am 
Offline

Joined: Fri Apr 10, 2015 9:43 am
Posts: 5
these indicators turn into one ea. and it has a template in it

https://www.sendspace.com/file/tlj4zc

Go short:

SSG Bline agree wit h SSG Fbar so as SSG HASignal is at sell direct ion.
1. SSG Bline Draw orange big dot as a direction change(WILL NOT REPAINT). Main indicator
2. SSG Fbar cross 0 and goes below drawing red bar.
3. SSG HASignal is at confirmed direct ion white bars.

go long:

SSG Bline agree wit h SSG Fbar so as SSG HASignal is at buy direct ion.
1. SSG Bline Draw green big dot as a direction change(WILL NOT REPAINT). Main indicator
2. SSG Fbar cross 0 and goes above drawing green bar.
3. SSG HASignal is at confirmed direct ion blue bars.


the exit signal is their long or short signal reverse .


Attachments:
ssg3.png
ssg3.png [ 160.47 KiB | Viewed 84531 times ]
ssg2.png
ssg2.png [ 154.64 KiB | Viewed 84536 times ]
ssg1.png
ssg1.png [ 173.3 KiB | Viewed 84556 times ]
Top
 Profile  
 
 Post subject: Re: Post your custom indicatos and we will create the ea for you
PostPosted: Tue May 19, 2015 12:04 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
These indicators are a great example on how to build a complex ea.
The first thing to do is to test the indicators separatedly. You create an ea for each indicator and make sure it works (you backtest them separatedly). You use 0.1 as lotsize and no tp/sl to test how good the indicator behaves.
Then you join 2 indicators and test them, then all indicators. Then you work on your money / risk management.
In the following post I will be talking about each indicator.

Remember that here you get the ea in molanis format, so you open it with the strategy builder and then generate the ea file
Also for the ea to work you need to save the indicator in the indicators folder, then you open it and compile it to get the .ex4 indicator file


Last edited by molanisfx on Tue May 19, 2015 12:17 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Post your custom indicatos and we will create the ea for you
PostPosted: Tue May 19, 2015 12:16 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
The ssg bline indicator is a trend following indicator (yellow and greenlines near the price). Usually on trend following eas you lose money on choppy markerts but this indicator does a good job on choppy markets to the expense or having more risk. This ea uses the short and sell signals to be always on the market. No tp/sl is included so you really asses the signals. My backtest on longer time frames gives a profit what was expected. You do not want to use trend followers ea in short timeframes

The indicator uses 2 signals, one for short and one for long - only one signals is plotted at the time. The signals are made of the signal that you see on screen and an empty value that means no signal. empty values in mt4 are a big number so in the strategy builder I added a condition that checks if the indicator is lower than 2000. This means that there is in fact a signal. You need to get the signal on the previous bar since it does not plot in the current signal.


Attachments:
File comment: This is the indicator.
SSG Bline.mq4 [5.5 KiB]
Downloaded 3312 times
File comment: This is an ea using only the ss gb line indicator. It is a mol file for molanis
SSGBlineEA.mol [9.62 KiB]
Downloaded 3218 times


Last edited by molanisfx on Tue May 19, 2015 12:50 pm, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: Post your custom indicatos and we will create the ea for you
PostPosted: Tue May 19, 2015 12:48 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
The ssg fbar indicator is the histogram indicator. You compare it to 0 to generate the signals. I am not a real fan of this indicator since it says buy when it could say sell :)
The ea seems to be unprofitable even in longer timeframes.
The indicator repaints the current bar so you need to get the signal on the previous bar so it may seem delayed


Attachments:
File comment: The ea - molanis file for strategy builder
SSGFbarea.mol [7.25 KiB]
Downloaded 3186 times
File comment: The indicator
SSG Fbar.mq4 [5.39 KiB]
Downloaded 3113 times
Top
 Profile  
 
 Post subject: Re: Post your custom indicatos and we will create the ea for you
PostPosted: Tue May 19, 2015 1:13 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
merlin1331 I am not sure how to deal with the ssg ha signal indicator since the signals are confussing. It has a signal for body and another for wick. The signal that is show as an alert is not written in a way that can be shared with eas since it is just a visual signal.
Also, since the main indicator does not paint the current bar and the others repaint the current bar you cannot trade at the exact time you want - you can trade one bar after that


Top
 Profile  
 
 Post subject: Re: Post your custom indicatos and we will create the ea for you
PostPosted: Wed May 20, 2015 10:49 am 
Offline

Joined: Fri Apr 10, 2015 9:43 am
Posts: 5
:) thanks admin help for this ea.

actually these 3 indicators need to combine into one ea, not just seperate with them, if can not combine with them, the result will not be the best. but the main indicator is not repaint so this ea still has profit potential.

just a little disappointment that the ssg ha signal indicator is confussing for you, but admin, you indeed give a help in it.

i would like to share the useful indicators in here for ea example , if they are profitble.


Top
 Profile  
 
 Post subject: Re: Post your custom indicatos and we will create the ea for you
PostPosted: Thu May 21, 2015 11:51 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
What signal do you use from the ssg ha signal indicator? is it just the color?
To combine them you joing the buy logic to an AND, do the same for sell

You also need to avoid chopp marktes, some ideas that come to mind:
-Use adx>30
-use Bolinger Bands to detect choppy markets. When they are very tight, it suggest a choppy market. You can add to an ea easiy
Other 2 options that are hard to add to an ea and require custom development are:
-use ATR, put ATR 14 and EMA 14 set on ATR 14
When ATR is reading above 14 EMA - the market is active, it may be less choppy
-use renko charts. Renko simply filters choppy market. 5 pips per brick/candle.


Top
 Profile  
 
 Post subject: Re: Post your custom indicatos and we will create the ea for you
PostPosted: Tue May 26, 2015 3:18 pm 
Offline

Joined: Sun May 17, 2015 10:17 am
Posts: 2
Hello

I'm a new of the forum and i'm sorry but i not write very well english, but i do ;)

I have a problem: the impostation of variabily of custom indicator.
I read more post in the forum, but i could not make it work

I attach the file .mol and the two custom indicator (it is SUPERTREND)
I want to create an expert advisor with a one supertrend fast and one supertrend slow (as your example n° 13-Simple-MA-EA-TAplusTrade) with the possibility to vary the parameters of the two variables and optimize the same
The ea open buy when the supertrend fast and slow are green (the price are on the two supertrend) and open sell when the two supertrend are red (the price are under the two supertrend)
I find the variabily in the indicator and they are two:
NbrPeriod and extern Multiplier
I renamed the variabily in one custom indicator in NbrPeriodfast and the other NbrPeriodslow and compilated MTVAR.

What am I doing wrong??? :(

I do not know the program and ask for help to enable me to create this ea.
if I explained step by step operations to do I am grateful
Thanks soo much! :D


Attachments:
SuperTrendSLOWcustom.mq4 [4.27 KiB]
Downloaded 3243 times
SuperTrendFASTcustom.mq4 [4.27 KiB]
Downloaded 3055 times
PROVA2.mol [92.47 KiB]
Downloaded 3131 times
Top
 Profile  
 
 Post subject: Re: Post your custom indicatos and we will create the ea for you
PostPosted: Mon Jun 01, 2015 8:59 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Yor mol file was created with a version that we do not support anymore.
Adding variables to manage custom indicators is a manual process.
First create the variables in the mtvar icon
Then create your ea.
Then look for the parts were custom indicators are used and replace the values for the variable name
For example in your case, you create a variable called: short
when you import your custom indicator it will show like:
Custom fields= "SuperTrendFASTcustom", 10, 3.0
where
"SuperTrendFASTcustom" is the name and 10, 3.0 ara inputs. If you want to put a variable for those inputs you need to go to the custom field and type replacing the value for the variable:
"SuperTrendFASTcustom", short, 3.0
where short is the variable name


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

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