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 12:16 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Parabolic
PostPosted: Mon May 14, 2012 1:35 pm 
Offline

Joined: Sun Oct 30, 2011 9:05 pm
Posts: 12
Hi, I am uncertain of how to create a trading rule for the TA block.
i would like to, ie open a sell, on the opening of next bar, after 2nd paraboloc dot has appeared
On the TA block it has symbols for greater than or less than, are these suitable?
what would be required for the create trade rule? thanks Baz


Top
 Profile  
 
 Post subject: Re: Parabolic
PostPosted: Tue May 15, 2012 8:47 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Please take a look at the examples page http://www.molanis.com/products/molanis ... rs-for-mt4
Yes, you should use the TA block and the >,<,>=,<= symbols
If you look at the chart here http://ta.mql4.com/indicators/trends/parabolic_sar you will notice that the indicator is above the high or below the low price so basic conditons could be like:
psar < low then BUY
psar > high then SELL
Since you want the second dot, it gets more complex
psar with shift 2 > high with shift 2 AND psar shift 1 < low shift 1 gives you the signal that tells you when you change from sell to buy. To check the second dot:
psar with shift 2 > high with shift 2 AND psar shift 1 < low shift 1 AND psar shift 0 < low shift 0


Top
 Profile  
 
 Post subject: Re: Parabolic
PostPosted: Tue May 15, 2012 9:24 am 
Offline

Joined: Sun Oct 30, 2011 9:05 pm
Posts: 12
thankyou, i used second dot as example,if it was 4th dot or more, shift is the key ingredient. brilliant, cheers baz


Top
 Profile  
 
 Post subject: Re: Parabolic
PostPosted: Sat Jun 02, 2012 8:15 am 
Offline

Joined: Sat May 12, 2012 10:47 am
Posts: 34
Hello

Is it possible to use bsp Sar Eur + USDCHF Long and Sell.

Always get an error message.

rule

Sar EurUsd <Open and USDCHF Sar> EurUsd long.

Conversely, for sell.

Thank Pit


Top
 Profile  
 
 Post subject: Re: Parabolic
PostPosted: Sat Jun 02, 2012 8:58 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Not sure why you get an error. Start a new thread and post your strategy file along with the error.


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