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 Sun May 19, 2024 9:55 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: How to build EA from one indicator that has the buy and sell
PostPosted: Sat Feb 25, 2012 8:30 pm 
Offline

Joined: Sat Feb 25, 2012 8:15 pm
Posts: 15
Hi,
I'm trying to bulild an EA based on one custom indicator , the indicator has 2 lines once they have same color (green) and croos each other in same color , it generate buy signal and once both have red colors and cross each other ,it generate sell signal.
I was able to import the indicator however I'm not able to figure how to configure the buy /sell excutions part on the EA.
Thx in advance :roll:


Top
 Profile  
 
 Post subject: Re: How to build EA from one indicator that has the buy and sell
PostPosted: Mon Feb 27, 2012 10:45 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Please take a look at viewtopic.php?f=9&t=162
Create a strategy with that indicator and post it here along with the indicator. There is no way to know how to use it unless we see the indicator and your strategy.


Top
 Profile  
 
 Post subject: Re: How to build EA from one indicator that has the buy and sell
PostPosted: Mon Feb 27, 2012 12:29 pm 
Offline

Joined: Sat Feb 25, 2012 8:15 pm
Posts: 15
admin wrote:
Please take a look at viewtopic.php?f=9&t=162
Create a strategy with that indicator and post it here along with the indicator. There is no way to know how to use it unless we see the indicator and your strategy.

First thank you for your help ,Attached the .mol file with the indicator.
now the indicator has 2 lines that turn green and cross for buying and turn red and cross for selling.
It's the same indicator on both buy and sell side on strategy right now as I'm not sure how to configure that.
I saw the link you posted ,sorry way confusing.
Thank you,


Attachments:
Indicator cross.mol [6.9 KiB]
Downloaded 478 times
Top
 Profile  
 
 Post subject: Re: How to build EA from one indicator that has the buy and sell
PostPosted: Mon Feb 27, 2012 2:28 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
You need to post the indicator file (.mq4 file)


Top
 Profile  
 
 Post subject: Re: How to build EA from one indicator that has the buy and sell
PostPosted: Mon Feb 27, 2012 3:37 pm 
Offline

Joined: Sat Feb 25, 2012 8:15 pm
Posts: 15
molanisfx wrote:
You need to post the indicator file (.mq4 file)

here you go..
Also would like to know how to create the strategy when the fast trix line change color to green or red
in some cases waitng for the cross might be 2 late.

Thx


Attachments:
Trix v4.01 Div.ex4 [30.07 KiB]
Downloaded 507 times
Top
 Profile  
 
 Post subject: Re: How to build EA from one indicator that has the buy and sell
PostPosted: Mon Feb 27, 2012 9:59 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
We need the mq4 file to see how it was coded to understand the signals


Top
 Profile  
 
 Post subject: Re: How to build EA from one indicator that has the buy and sell
PostPosted: Tue Feb 28, 2012 4:11 pm 
Offline

Joined: Sat Feb 25, 2012 8:15 pm
Posts: 15
molanisfx wrote:
We need the mq4 file to see how it was coded to understand the signals

attached the MQ4 file
Thank you,


Attachments:
Trix cross.mq4 [33.97 KiB]
Downloaded 453 times
Top
 Profile  
 
 Post subject: Re: How to build EA from one indicator that has the buy and sell
PostPosted: Tue Feb 28, 2012 5:53 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Just to confirm. You posted the mq4 for a different file (Trix v4.01 Div.ex4 has a different name)
Are you sure the mq4 is ok or you uploaded a different file by mistake?
It may take up to 3 days for support to review the file if it's the correct one.


Top
 Profile  
 
 Post subject: Re: How to build EA from one indicator that has the buy and sell
PostPosted: Tue Feb 28, 2012 6:26 pm 
Offline

Joined: Sat Feb 25, 2012 8:15 pm
Posts: 15
molanisfx wrote:
Just to confirm. You posted the mq4 for a different file (Trix v4.01 Div.ex4 has a different name)
Are you sure the mq4 is ok or you uploaded a different file by mistake?
It may take up to 3 days for support to review the file if it's the correct one.

Trix cross .mq4 is the right one,
thank you


Top
 Profile  
 
 Post subject: Re: How to build EA from one indicator that has the buy and sell
PostPosted: Wed Feb 29, 2012 4:16 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
You have to help me out here. Your strategy (.mol file) uses a custom indicator called "THV3 Trix called" and not the ones you posted. We are here to help but not to do the work for you. Repost your strategy file and make sure it uses the right indicator.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  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