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 May 11, 2024 10:05 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Moving Average strategy & low volatility
PostPosted: Wed Jul 18, 2012 2:27 am 
Offline

Joined: Thu Jun 28, 2012 9:31 am
Posts: 6
Dear Forum members,

I am currently working on building an Expert Advisor which execute trades based on Moving Average (line cross over) however I got a problem when the market have low volatility the EA execute trades when the market have almost none movement, what is the best way to handle this problem ? Integrate an Indicator into the strategy which measure the volatility of the market like an Average True Range ?


Top
 Profile  
 
 Post subject: Re: Moving Average strategy & low volatility
PostPosted: Wed Jul 18, 2012 7:10 am 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
ATR is probably the most popular for actual movement. If you want to get into the nitty gritty regarding tick activity, there is a free Better Volume indicator out there that shows tick volume per bar, the "churn" type of each bar, and an MA of tick volume. Note that actual order volume is not available in retail forex, so you really have no idea whether one tick represents 1 lot or 100 lots--a major limitation.

_________________
I'm not a programmer, but I play one on TV.


Top
 Profile  
 
 Post subject: Re: Moving Average strategy & low volatility
PostPosted: Wed Jul 18, 2012 7:18 am 
Offline

Joined: Thu Jun 28, 2012 9:31 am
Posts: 6
Dear Rjo,

thank you for your reply, I wonder what could be the right away to avoid "fault trades"
when the market have low movements ?


Top
 Profile  
 
 Post subject: Re: Moving Average strategy & low volatility
PostPosted: Wed Jul 18, 2012 6:26 pm 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
You could stay out of the market when tick volume is below average tick volume:

Attachment:
bv.gif
bv.gif [ 23.08 KiB | Viewed 4882 times ]


Or stay out when standard deviation value is below ATR value:

Attachment:
atr_std_dev.gif
atr_std_dev.gif [ 11 KiB | Viewed 4870 times ]

_________________
I'm not a programmer, but I play one on TV.


Top
 Profile  
 
 Post subject: Re: Moving Average strategy & low volatility
PostPosted: Mon Oct 29, 2012 1:27 pm 
Offline

Joined: Thu Jun 28, 2012 9:31 am
Posts: 6
Hi Again,
I tryed to follow your advice to stay out of the market if Volume is lower than average tick volume, now I got a problem because the EA doesn´t trade, my setup is following: If Volume Indicator is higher than user defined number than open a trade, I was wondering what option I could choose that the EA takes the average tick Volumen automatically without I have to set it by user defined number ? Or could there be another problem


Top
 Profile  
 
 Post subject: Re: Moving Average strategy & low volatility
PostPosted: Thu Nov 08, 2012 2:51 pm 
Offline

Joined: Sun Oct 07, 2012 3:40 am
Posts: 13
Hi Helsinki123,

To begin with, you can't totally avoid chopping your account in choppy market. So be prepared to lose some money before cathching a trend.
The use of ATR may look like that: enter a trade only if ATR > ATR[1]*1.5 (current ATR is bigger than previous ATR by 50%). This reduces some fake breakouts (while causing other problems, so you may tweak the coeficient to a bearable level).

You also treat the problem by pure MM, either lot management or Martingale, depends on your preferences.

Some notion I use is to make sure all ma's point to the same direction and the entry bar's low > faster ma and vice versa with short.

LUCK


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