GridDancer / GridMaster

Rene's trading Expert Advisors
Post Reply
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

I have updated Post 1 of this thread with new versions of GridMaster and HGIDancer:

GridMasterv1.81: Fixes a bug that prevented the EA from sending a Rinse-n-Repeat if/when the total profit of all open trades combined reaches the set BasketProfit.

HGIDancerv1.3: Has an added Currency Exposure filter. If the new parameter UseCurrencyExposureFilter has been set to true, GD will only open a new trade if by adding that new trade the given MaxCurrencyExposure is not exceeded. So, the logic works like this:

If a new grid level has been reached ==>
  • Check most recent HGI signal (can be: BUY, SELL or nothing)
  • If HGI-signal == BUY and there is no open BUY at this level and a new BUY does not exceed currency exposure ==> Open BUY
  • else if HGI-signal == SELL and there is no open SELL at this level and a new SELL does not exceed currency exposure ==> Open SELL
The currency exposure is a global thing: eg. the exposure of the USD is determined by all pairs that have USD in their name. As each HGIDancer is operating independently of each other, on a separate thread, it is in theory possible that two (or more) HGIDancer's reach a new grid level at exactly the same time, and determine at that same time that the currency exposure (for a particular currency) has not yet been exceeded and therefore open a trade at the same time, thereby exceeding the currencies' exposure. Although the chances for this to happen are remote, I have added a mutex to avoid this eventuality.

From what I've seen so far whilst testing this currency exposure filter, the drawdown has been very limited (Mind you, this is only after 1.5 days, after the US elections. We really need another brexit or US election, to test this properly). See my results from this new demo:
Capture.JPG
Have fun!
You do not have the required permissions to view the files attached to this post.
vsmakkal
Trader
Posts: 56
Joined: Tue Sep 23, 2014 12:50 am

GridDancer / GridMaster

Post by vsmakkal »

Thanks Rene.. Love your Ea.. And really appreciate u sharing this with us,

U are a star,

Sara
paepae
Posts: 9
Joined: Sun Mar 13, 2016 8:42 am

GridDancer / GridMaster

Post by paepae »

Hi Rene,

Many thanks for your efforts. I am restarting with your new version and larger balance to fight big DD :D

May I request to add EA log whenever the GridMaster closes the trades along with the closure reason like closing by BasketProfit, EquityTP, or MinProfit? It would be helpful to analyze how and when the parameters kick in.

Cheers!
highwise
Trader
Posts: 11
Joined: Sat Jun 02, 2012 12:30 pm

GridDancer / GridMaster

Post by highwise »

Hi Rene,

thx for the explanation. I'll continue to use 1.3 for the moment and start testing 1.8. Great job!

Tom
User avatar
traderduke
Trader
Posts: 306
Joined: Mon Nov 28, 2011 7:30 pm
Location: East Coast USA

GridDancer / GridMaster

Post by traderduke »

Rene
Thanks a lot for this Ea it has unbelievable potential. I think your idea to limit the currency is great but the “MaxCurrencyExposure” number is unclear to me(.2). Can you look at my chart and relate the number to it??

Thanks again for outstanding contributions to this forum.

Ray
2016-11-11_114732-GP=v1.1.png
You do not have the required permissions to view the files attached to this post.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

traderduke » Sat Nov 12, 2016 2:55 am wrote:Can you look at my chart and relate the number to it??
You show a list of closed transactions.

MaxCurrencyExposure relates to open trades. The way it is calculated is explained in this thread. If, eg. the Currency Exposure of USD is currently +0.20, and MaxCurrencyExposure has been set to 0.20, it won't open another "BUY 0.05 lots of USDCAD" trade, as that would bring the Currency Exposure for USD to +0.25. However, it can open a "BUY 0.05 lots of GBPUSD" trade, as this would reduce the Currency Exposure for USD to +0.15.

Hope this explains it all.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

Here are my end of week results of my new demo, that I started on the 10th of November:
Capture.JPG
6% balance increase with only 1% drawdown is a very encouraging result. However, this performance needs to continue for at least one month before I would consider to let GM/GD touch any of my real money.

Have a good weekend!
You do not have the required permissions to view the files attached to this post.
User avatar
traderduke
Trader
Posts: 306
Joined: Mon Nov 28, 2011 7:30 pm
Location: East Coast USA

GridDancer / GridMaster

Post by traderduke »

Rene,
Thanks
Ray
acostafulano
Trader
Posts: 243
Joined: Tue Dec 06, 2011 3:40 pm

GridDancer / GridMaster

Post by acostafulano »

Hello Rene,

Thanks for the latest posts and the new additions to the EA.

After my failure on this demos:
http://www.stevehopwoodforex.com/phpBB3 ... 20#p149128

I re-started some new demos with a slightly tweaked approach:

- GridATR distance increased from 0.12 to 0.2 (to make it safer)
- "MinProfit" Closures to $1 (using 0.01) lots, which equates to roughly 10 PIPS. -> (I was previously using LARGER mini-closures)
- Equity TP's of 6-8X "minprofit" to get Rinses quite often.

It's only been one day, but these demos are off to a great start.

https://www.myfxbook.com/members/acosta ... -1/1853941
https://www.myfxbook.com/members/acosta ... -1/1853942
https://www.myfxbook.com/members/acosta ... -2/1853943

As per this setfiles:
GM.zip
My next step has been to introduce a couple of more demos with very tight "Minprofit" (=1), but with different variations of EQUITYTP (one larger, one smaller) to see how they compare.

WIth the new release, I will add an additional extra demo as per my demo "1G" with the only difference in the CurrencyFilter, to see how that compares as well.

Any opinions on this plan Rene? :D

Diego
You do not have the required permissions to view the files attached to this post.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

acostafulano » Sun Nov 13, 2016 3:59 pm wrote: Any opinions on this plan Rene?
I just want to say that I applaud your efforts to experiment with the settings -- there are not many parameters but yet they can have a huge impact on the performance of this combo. If we would all run this OOTB we would not learn anything new. So, keep experimenting and let us know what your results are.
Post Reply

Return to “Auto-trading EA's and EA monitors”