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

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Is it possible to base TP/SL levels off of ATR?
PostPosted: Mon Aug 27, 2012 12:16 pm 
Offline

Joined: Sat Aug 25, 2012 9:01 am
Posts: 1
Hello,

I'd like to know if it's possible within the Molanis strategy builder to create TP/SL figures automatically based on the ATR of the currency. For example, rather than saying I want a static figure of 50 pips for a SL, I'd prefer to tell the EA to calculate the SL to be 30% of ATR.

That way the EA is autonomous and adjusts for changing volatility in the currency.

Does anyone know if this is possible and how?

Thanks,
Matt


Top
 Profile  
 
 Post subject: Re: Is it possible to base TP/SL levels off of ATR?
PostPosted: Mon Aug 27, 2012 4:59 pm 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Not possible yet


Top
 Profile  
 
 Post subject: Re: Is it possible to base TP/SL levels off of ATR?
PostPosted: Fri Aug 31, 2012 9:55 am 
Offline

Joined: Wed Jul 18, 2012 11:06 pm
Posts: 78
It's a long shot but this may help, I have done something similar but it wont be exactly what you're after... Using the indicator builder create two indicators:

1) high - low

and

2) ATR * 0.3

Then in strat builder,

if (high - low) >/= ATR*0.3 = sell/buy whatever...

I'm not sure of your system but if you can define your entry price somehow, you could use what I have done but replace the (high - low) part.

nolube


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