7pairs dynamic grid

Avatar
  • updated

Hi guys,

So I was just playing around with various grid step-ups based on volatility. And ended up with an idea to basically go smaller then bigger when calculating the step distance. the only way to do that was to go with custom step coefficients.

Image 4957

As you can se we first start decreasing the step sizes then when we are in a situation where market is still moving against us we start expanding the grid. 

We also use the 5min ATR, but with a look back of a whole day, 288. This gives us the average 5min movement of the day to base your grid spacing.

The last part of the grid was the lot sizes. Usual calculation types often blow the account, so I ended up taking the Fibonacci sequence and stretched it to 15 orders with custom lot sizes just to maintain control on risk. The best custom lot sizes I came up with is the following:

Image 4958

This keeps the lot sizes in check, but makes it bottom heavy to be able to average out the trade a bit easier.

So then I had to work on entry signals, this part I find doesn't matter as much to this idea, but I decided to use Stochastic K and default TDI. (Feel free to choose any signal you want). I ran this for all 28 pairs filtering out any set with greater than 30% relative drawdown. Then looking at open trade correlation, I went with the least correlating pairs to lessen the chance of drawdowns lining up, these are the best picks from the results.

Image 4959


I decided to exclude TP and SL for the time being and go purely with signals. Once I'm confident enough, ill aiming for a global TP and SL, which would have all the different grids interacting together.


Here are the results so far:
AUDCAD:

Image 4960


AUDUSD:

Image 4961


EURGBP:

Image 4962


EURUSD:

Image 4963


GBPUSD:

Image 4964


NZDUSD:

Image 4965


USDCAD:

Image 4966


The above results are from 1-Sep-2022 to 31-Aug-2023, last year, using my broker, blueberry markets raw account.


SO... the idea here is to have these 7 pairs trade together... and since I don't really have a proper way to combine the results, and since the initial lot size is 0.01 per 1000USD, I think that having all 7 will compound each other to get bigger and bigger entries which should result in a higher return overall.

Here are the set files:

AUDCAD.set
AUDUSD.set
EURGBP.set
EURUSD.set
GBPUSD.set
NZDUSD.set
USDCAD.set


Use these for whichever pair you like, the main 3 parameters that you should optimize are:

  • Pending order distance
  • Martin Step Size
  • Whatever entry signal you decide to go with.


The above sets are NOT a plug an play sets, just an idea I've been working on that thought I'd share and brain storm with you guys. And various brokers will sure have different setups and results.


Thank you!

MT version:
Set for MT5 only
EA version:
2.55
Symbol:
AUDCAD, AUDUSD, EURGBP, EURUSD, GBPUSD, NZDUSD, USDCAD
TimeFrame:
M5
Avatar
jay hu

Good job,lytnin. It is nice to have this useful setting. Thank you for your work. By the way, which broker are you using?

Avatar
lytnin
Quote from jay hu

Good job,lytnin. It is nice to have this useful setting. Thank you for your work. By the way, which broker are you using?

Thanks.. as stated above, blueberry markets raw account

Avatar
Andrey Khatimlianskyi

Cool! Thanks for your research!

Avatar
Andrey Khatimlianskyi
Quote from lytnin

Thanks.. as stated above, blueberry markets raw account

Don't forget to use my referral link to get 1.5 USD lower commission ;)

Avatar
lytnin
Quote from Andrey Khatimlianskyi

Don't forget to use my referral link to get 1.5 USD lower commission ;)

Lol... Would it work on old accounts? I've had my trading accounts with them from before 2019 i think lol

Avatar
Andrey Khatimlianskyi
Quote from lytnin

Lol... Would it work on old accounts? I've had my trading accounts with them from before 2019 i think lol

It will, but profit will be much higher with a lower commission, especially with a grid strategy.
You can try to ask them to move you under my IB ;)

Avatar
lytnin
Quote from Andrey Khatimlianskyi

It will, but profit will be much higher with a lower commission, especially with a grid strategy.
You can try to ask them to move you under my IB ;)

Ill try contacting support.. i would definitely want to contribute :)

Avatar
Andrey Khatimlianskyi
Quote from lytnin

Ill try contacting support.. i would definitely want to contribute :)

Thank you for your support!

This is a win-win ;)

Avatar
Chris Tom

Wow! Awesome! 

Already testing all your SetFiles with my accounts. 

Going to post the results as soon as they are ready. :D

could take a while:

Image 4978

Avatar
lytnin
Quote from Chris Tom

Wow! Awesome! 

Already testing all your SetFiles with my accounts. 

Going to post the results as soon as they are ready. :D

could take a while:

Image 4978

Lol nice.. looking forward to it.. I usually try to keep the runs to around 1000-1500 permutations.. even with that and i have a 5800x it would take around 2-3hrs a run... I think cause nothing is based on fixed numbers l, all variables