Open markusaksli opened 3 years ago
Each value needs to be weighted
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
Config needs values for how much each indicator contributes to confluence.