MT5 - BTCUSD Optimisation - Any ideas where to start with the settings?

Avatar
  • updated
  • Under review

Hello, 

Just wondering if anyone has any ideas where to start with settings for crypto?

MT version:
EA version:
Symbol:
BTCUSD
TimeFrame:
5 minutes
Avatar
Andrey Khatimlianskyi

Adjust all "point" parameters. Then try to find good signal.

Avatar
Kishan Bhatt

Hi, 

You do you mean the points below. Do you have an idea where I could start?


MA Filter Type

(starting from v2.15)

Type of MA filter:

  • Disabled: MA filter disabled
  • Buy below MA / Sell above MA:
    • BUYs are allowed if MA - Ask >= Distance
    • SELLs are allowed if Bid - MA >= Distance
  • Buy above MA / Sell below MA:
    • BUYs are allowed if Ask - MA>= Distance
    • SELLs are allowed if MA - Bid >= Distance

Distance can be set in 2 modes (Distance type parameter):

  • In points: fixed distance in points
  • Volatility * Coefficient: distance is calculated as “current volatility * Coefficient”

Distance can be negative (so, in Buy below MA mode BUYs will be allowed if Ask above the MA, but not more than by distance points).

Volatility Indicator, TimeFrame and Period
(starting from v2.15)

Indicator used for the Distance calculation in the MA Filters.

Can be one of the following:

  • ATR
  • StDev
  • ATR based on “Close-Open” (high and low prices not used)
  • WATR

Volatility Filter Indicator
(starting from v2.15)

Indicator for the Volatility Filter:

  • Disabled: Volatility Filter disabled
  • ATR
  • StDev
  • ATR based on “Close-Open” (high and low prices not used)
  • WATR

Volatility Filter TimeFrame

TimeFrame for the Volatility Filter

Indicator Period

Selected Volatility indicator period

Min Volatility

Min volatility (in points) to allow new trade (both buy and sell).

Set 0 to disable minimum volatility value.

Max Volatility

Max volatility (in points) to allow new trade (both buy and sell).

Set 0 to disable maximum volatility value.

Smoothing Filter

Smoothing Volatility filter. Can be one of following:

  • Disable Smoothing Filter: filter disabled
  • Allow trade on growth (Volatility > MA): new trade is allowed only if the Volatility indicator is greater than MA based on it.
  • Allow trade on reduce (Volatility < MA): new trade is allowed only if the Volatility indicator is lower than MA based on it.

Smoothing Period

MA period for Smoothing Volatility filter

Avatar
IntheDark

Cryptos sound like a good way to trade also on weekends.

Please, keep us updated with your findings.

Avatar
Kishan Bhatt

Hello, 

I am trying to get some testing done. But my problem is that I am using a my laptop and it is nowhere the speed of my desktop setup. The main issue is the volatility I guess. I am curious about the development of the volatility indexes, Not sure where they are in the settings. but I am running v2.14. So far, cryto-USD pairs seems to kill robots (I have tried a few free ones)! I need to experiment with the oscillator values I think for. 

Stochastic/MACD - Possibly using smaller values with respect to the timeframe. M5

Can anyone think of other parameters I need to investigate?  Or any suggestions for a testing methodology? I was thinking the following


2 weeks of a time length.

Time frame to use - M5 (Just feel that it is so volatile that you need to look at the smaller times

Actual full on visualisations to see what the bot is doing. 

On the other hand, this bot does well on FX in general where the volatility is lesser to an extent. 

Avatar
Andrey Khatimlianskyi
Quote from Kishan Bhatt

Hi, 

You do you mean the points below. Do you have an idea where I could start?


MA Filter Type

(starting from v2.15)

Type of MA filter:

  • Disabled: MA filter disabled
  • Buy below MA / Sell above MA:
    • BUYs are allowed if MA - Ask >= Distance
    • SELLs are allowed if Bid - MA >= Distance
  • Buy above MA / Sell below MA:
    • BUYs are allowed if Ask - MA>= Distance
    • SELLs are allowed if MA - Bid >= Distance

Distance can be set in 2 modes (Distance type parameter):

  • In points: fixed distance in points
  • Volatility * Coefficient: distance is calculated as “current volatility * Coefficient”

Distance can be negative (so, in Buy below MA mode BUYs will be allowed if Ask above the MA, but not more than by distance points).

Volatility Indicator, TimeFrame and Period
(starting from v2.15)

Indicator used for the Distance calculation in the MA Filters.

Can be one of the following:

  • ATR
  • StDev
  • ATR based on “Close-Open” (high and low prices not used)
  • WATR

Volatility Filter Indicator
(starting from v2.15)

Indicator for the Volatility Filter:

  • Disabled: Volatility Filter disabled
  • ATR
  • StDev
  • ATR based on “Close-Open” (high and low prices not used)
  • WATR

Volatility Filter TimeFrame

TimeFrame for the Volatility Filter

Indicator Period

Selected Volatility indicator period

Min Volatility

Min volatility (in points) to allow new trade (both buy and sell).

Set 0 to disable minimum volatility value.

Max Volatility

Max volatility (in points) to allow new trade (both buy and sell).

Set 0 to disable maximum volatility value.

Smoothing Filter

Smoothing Volatility filter. Can be one of following:

  • Disable Smoothing Filter: filter disabled
  • Allow trade on growth (Volatility > MA): new trade is allowed only if the Volatility indicator is greater than MA based on it.
  • Allow trade on reduce (Volatility < MA): new trade is allowed only if the Volatility indicator is lower than MA based on it.

Smoothing Period

MA period for Smoothing Volatility filter

I meant all parameters marked with "(in points)" text.

StopLoss, TakeProfit, Min/Max Volatility.

Other parameters (orders number, oscillator level, MA periods, etc) can be used as on FX pairs.

Avatar
Andrey Khatimlianskyi

I'm going to write about testing and optimization methodology, but working on improvements at the moment.

Avatar
Kishan Bhatt

Hi, 

I am actually a science teacher, so i love that kind of stuff! Ensuring fair testing and all that. So my basic thing would be to change 1 thing, measure profit and control everything else. Right now I am running a test on the following


1 month time length - This is just to manage the times, running a whole year on a laptop isn't feasible

Changed variable - Stop Loss

measure the overall net profit

control everything else.


One suggestion I would like to make is "peer review" - we can check if people's results are reproducible following 
some sort of test. 

Avatar
Kishan Bhatt

Hi, on the note about methodology, making a standardised set of control variables, so time length, time frame etc is probably going to be involved?

Avatar
Andrey Khatimlianskyi
Quote from Kishan Bhatt

Hi, on the note about methodology, making a standardised set of control variables, so time length, time frame etc is probably going to be involved?

Yes, but it will be only my point of view.

Avatar
Andrey Khatimlianskyi

What broker do you use for backtests?