Arnis Lapsa
Arnis Lapsa
period function has to return signal
``` buildIndicator('stochRsi', 'stoch_rsi', '1m', { length: whatever }) let indicators = indicatorPeriod.getCurrentValues() let stochRsi = indicators.stochRsi if (stochRsi.stoch_k > 80) //
Such strategy will lead to losses. Some of the biggest pumps happen at stochk_k 100. Likewise - time and length params are of utmost importance. > When I create stochrsi.js...
Open up `src/utils/indicators.js` and search for `stoch_rsi` function.
> Unfortunately, I don't have the knowledge to examine the indicator.js :) Well. You need to build it up. There's no way around it. File you examined specifies available inputs...
As in - profitable? Probably no one.
With fees included: ``` Backtesting Results - cemliks_stoch_rsi - 5m Dashboard Backtesting Results Summary - 21-07-31 19:00:00 - 21-08-07 19:25:00 Initial Capital 10000 $ Final Capital 11402.27 $ Net Return...
`tick_listener.js` has `signal_slowdown` that controls time for how long bot ignores exit signals
Provide a configuration with your exchange credentials ```cp conf.json.dist conf.json``` https://github.com/Haehnchen/crypto-trading-bot/blob/master/conf.json.dist ``` { "exchanges": "bitmex": { "key": "here", "secret": "and here" }, ```
@SuselK here's an example: `src/modules/strategy/strategies/dip_catcher/dip_catcher.js` ``` module.exports = class DipCatcher { ... period(indicatorPeriod) { ... if (lastSignal && indicatorPeriod.getProfit() > 0.4) emptySignal.setSignal('close'); return emptySignal; } ... } ```