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
lytnin
Quote from ferdinand tampubolon

ideal si 0.6-0.8

You are over complicating it.

Say ATR has a Value of 10points, and im using a 0.5 coefficient... That means it will use 5points...

If im using a coefficient of 2.75, then it would use 10x 2.75 = 27.5 points... Thats all... 

in the default set, the step size is 15points, in my modified set it fluctuates depending on ATR x Coefficient.

Avatar
Sai Pratap

Thanks for the set. My results with OctaFX.

Image 4204

Image 4205

Avatar
lytnin
Quote from Sai Pratap

Thanks for the set. My results with OctaFX.

Image 4204

Image 4205

Thanks Sai... Interesting that the results are different on the same broker... Is this on a live or demo account?

Avatar
Quote from lytnin

You are over complicating it.

Say ATR has a Value of 10points, and im using a 0.5 coefficient... That means it will use 5points...

If im using a coefficient of 2.75, then it would use 10x 2.75 = 27.5 points... Thats all... 

in the default set, the step size is 15points, in my modified set it fluctuates depending on ATR x Coefficient.

it is pipstep not point..

read text on set file ( number 161 PipStep=15.0 )

Avatar
Ulises Cune
Quote from ferdinand tampubolon

it is pipstep not point..

read text on set file ( number 161 PipStep=15.0 )

All parameters nominated in points use standard 4-digits points (for 4- and 5-digits symbols) and 2-digits points (for 2- and 3-digits symbols).

https://communitypowerea.userecho.com/communities/7/topics/384-what-is-a-point-in-cp-what-does-stoploss-250-points-mean

Avatar
lytnin
Quote from Ulises Cune

All parameters nominated in points use standard 4-digits points (for 4- and 5-digits symbols) and 2-digits points (for 2- and 3-digits symbols).

https://communitypowerea.userecho.com/communities/7/topics/384-what-is-a-point-in-cp-what-does-stoploss-250-points-mean

Thank you

Avatar
Sai Pratap
Quote from lytnin

Thanks Sai... Interesting that the results are different on the same broker... Is this on a live or demo account?

The test is on demo account. I checked on real account as well. The results are the same as above.

Avatar
lytnin
Quote from Sai Pratap

The test is on demo account. I checked on real account as well. The results are the same as above.

Thanks for checking Sai.

Actually, upon testing further im realizing my % drawdown hedge isnt working properly. not sure why tbh. here is the .ini file if anyone can help me with it...

VolEU

Avatar

wow looks very good

Avatar
fengli

My results with pepperstone from 1Jan2020 until 3Apr2023, looks great. Will run it with live account after few more tests. Thanks.

Image 4227