Volatility based default set

Avatar
  • updated

Hi guys,

Rather than having fixed step size, I've been tinkering with the idea of having the steps based on volatility. Specially with the ability to fix the volatility based on the first order, we can have a somewhat flexible, but still controlled grid spacing. The goal is to make the grid reflect somewhat recent price volatility. I've also done the same for the pending order distance.

Furthermore, once we have the max orders placed, i think its beneficial to have the "close any with any" option enabled along with "Allow hedge only on main drawdown %"

So I modified the default set to use a coefficient of the ATR indicator, along with the above mentioned.

Here's the results of 01.01.2018 to 03.20.2023 on OctaFX with $1000 as initial deposit:

Image 4200

Image 4201


Would appreciate your inputs on how to further progress this idea.

VolBasedEURUSD

MT version:
Set for MT5 only
EA version:
2.50
Symbol:
EURUSD
TimeFrame:
M5
Avatar
Samuel Nguyen

Thanks @lytnin. The result looks impressive. Let me do the back test and share with you the result for other brokers as well.

Avatar
HAB_Trader

Roboforex ECN and Pro flipp

Avatar
sean friday

ICmarkets survives for me 

Avatar
Chris Tom

Roboforex Pro, ECN totally dip to 0.

IC Markets also dips about 50% at the end...maybe because the history data is also only 50%.

Avatar
lytnin

thank you all for testing and fedback.

i optimized the set with 0.25 steps of volatility. maybe i should make try optimizing at 0.5 to make it more general.

Avatar
ferdinand tampubolon

to small 0.5 

Avatar
lytnin
Quote from ferdinand tampubolon

to small 0.5 

Its in coefficient of volatility.. not in points.

Avatar
ferdinand tampubolon
Quote from lytnin

Its in coefficient of volatility.. not in points.

coefficient 0.5 so  variable will any x 0.5 =

so any is eurusd price= 1000 exsample

1000 x 0.5 + volatility = going reduce price ....

1000x 0.5 + vola ( 100 point ) = so price 600 ?

corec me if i am wrong

Avatar
lytnin
Quote from ferdinand tampubolon

coefficient 0.5 so  variable will any x 0.5 =

so any is eurusd price= 1000 exsample

1000 x 0.5 + volatility = going reduce price ....

1000x 0.5 + vola ( 100 point ) = so price 600 ?

corec me if i am wrong

It would be 1000 + (0.5xVola) ... So in your example it would be 1050

Avatar
ferdinand tampubolon
Quote from lytnin

It would be 1000 + (0.5xVola) ... So in your example it would be 1050

ideal si 0.6-0.8