Supertrend indicator for Gekko trading bot.
An helpful explanation of how calculate Supertrend can be found here.
Important note: This software is not a guarantee, that you'll make profits in trading Bitcoins, Altcoins or whatever. This is meant as a helper in observing the markets. Choose it wisely. This software nor I am are responsible if you lose money in trading assets! Use at your own risk.
Configure Gekko like described here.
Install talib with the following command in the gekko directory.
npm install talib
- Copy
Supertrend.js
to gekko/strategies. - Copy
Supertrend.toml
to gekko/config/strategies. - Add the following code to the
CONFIGURING TRADING ADVICE
section insideconfig.js
. - Setup
config.tradingAdvisor
as you want.
config.Supertrend = { atrEma: 7, bandFactor: 3, }
Use this method at your own risk! Especially if you're going to let Gekko do the trades for you! I'm not responsible for any loss you gain.
This README.md was written following this one.