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 12, 2024 7:35 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Problems with my Price Action EA.
PostPosted: Thu Sep 13, 2012 3:01 pm 
Offline

Joined: Tue Nov 22, 2011 3:28 pm
Posts: 83
Hello! I just created an EA based on price action but do not know what's happening! I believe the strategy is correct, but in practice this is not working the way I want.

He only buys this opening orders and did not open any order of sells.

I need you to open a buy order immediately when the current candle reach 7 pips profit, and vice versa for sell.

Attached is my file .mol .

I look forward to returning as soon as possible!

Even more!


Attachments:
Price Action.mol [9.14 KiB]
Downloaded 452 times
Top
 Profile  
 
 Post subject: Re: Problems with my Price Action EA.
PostPosted: Thu Sep 13, 2012 3:32 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Do you mean get the current open position and when the profit is 7 then enter a second position?
It's not possible since we do not have a profit feature still.


Top
 Profile  
 
 Post subject: Re: Problems with my Price Action EA.
PostPosted: Thu Sep 13, 2012 4:11 pm 
Offline

Joined: Tue Nov 22, 2011 3:28 pm
Posts: 83
What I mean is when the current candle up 7 pips, open buy order immediately, and vice versa for sell.

An order by the signal.

Only this.


Top
 Profile  
 
 Post subject: Re: Problems with my Price Action EA.
PostPosted: Thu Sep 13, 2012 7:40 pm 
Offline

Joined: Wed Jul 18, 2012 11:06 pm
Posts: 78
You need to create a custom indicator and import it into SB...

it should look something like this

Open[i]+0.0007

Then in SB choose your time frame and have a condition: Bid >= (insert custom indi.)

Note: Leave shift at 0

Hope this helps.

nolube


Top
 Profile  
 
 Post subject: Re: Problems with my Price Action EA.
PostPosted: Fri Sep 14, 2012 9:30 am 
Offline

Joined: Tue Nov 22, 2011 3:28 pm
Posts: 83
Actually this happening the following: Buy this running order, but the order of Sell did not work even once so far! Do not know why it seems that the logic is correct, as you can see in the file. Mol.

I do not understand why creating a new indicator for I do not need indicator.

I need to know what is happening.

Please help me.

Even more!


Top
 Profile  
 
 Post subject: Re: Problems with my Price Action EA.
PostPosted: Fri Sep 14, 2012 11:55 am 
Offline

Joined: Tue Nov 22, 2011 3:28 pm
Posts: 83
Added a MA period 5 for when Ask is up, buy, and when Bid is below, sell.

But still only open orders Buys! What's going on?

Attached is the file. Mol.

Even more!


Attachments:
Price Action 1.1.mol [11.65 KiB]
Downloaded 445 times
Top
 Profile  
 
 Post subject: Re: Problems with my Price Action EA.
PostPosted: Sat Sep 15, 2012 8:51 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Before adding more indicators this is why you need to create an indicator.
Using the ta icons you can create conditions like if a>b then.. but you want if a> b+7pips then.. which is not possible in a TA
What you need to do is create the b+7pips indicator, then in a TA import it into the strategy builder.


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