TradeBot icon indicating copy to clipboard operation
TradeBot copied to clipboard

Indicator weights

Open markusaksli opened this issue 4 years ago • 2 comments

Config needs values for how much each indicator contributes to confluence.

markusaksli avatar Apr 14 '21 06:04 markusaksli

Each value needs to be weighted

vxinv avatar Apr 19 '21 08:04 vxinv

The functionality for indicators weights is now completed for the next version. The new config file is in YAML format and will look something like this:

moneyPerTrade: 0.1
trailingSl: 0.1
takeProfit: 0.15

confluenceToOpen: 2
# confluenceToClose: 2
indicators:
  - !<RSI>
    weight: 1
    period: 14
    positiveMax: 15
    positiveMin: 30
    negativeMax: 70
    negativeMin: 80
  - !<MACD>
    weight: 1
    shortPeriod: 12
    longPeriod: 26
    signalPeriod: 9
    requiredChange: 0.15
  - !<DBB>
    weight: 1
    period: 20

markusaksli avatar May 10 '21 17:05 markusaksli