Gunbot v4.0.2 - Poloniex/Bittrex/Kraken/Cryptopia - Core Edition - AllOs_x64
@GuntharDeNiro GuntharDeNiro and @raffaeledonadono released this 2 minutes ago
Changelog:-Fix exchanges hangs on timed out requests
-Set EMA1, EMA2, LASTPOSITION, AVGPOSITION, AVGMINIMUM settings configurable for new Trend Watcher
-Fix WATCH_MODE
-Tuning STEPGAIN family a bit more
Instructions:-This is a full install. If you are already on the previous v4.x, replace executable AND config.js
Config.js changes and explanations:Since the v4.x we now use TA lib to calculate all indicators, Trend Watcher included. Default settings for Trend Watcher are already tuned for a short term watchdog: 5 to 8 candlesticks. You can tune and play with the following settings, to make Trend Watcher fit your trading style:
Given the following array we collect from "Tickers":-"period_storage_ticker": 300, //we collect an array of 300 prices
-"interval_ticker_update": 25000, //we collect one price every 25000 ms (25 seconds)
These are the used variables in the Trend Watcher formula:-"LASTPOINTS": 1, //How many elements should be taken from the end of the array to calculate the last point.
-"AVGPOINTS": 10, //How many elements should be taken to calculate an average.
-"AVGMINIMUM": 0.00000001, //Ignore (i.e. return null) if the average is below a minimum
-"EMA1": 200, //We use the latest 200 prices of the 300 collected as EMA1 (Each one every 25seconds - see above)
-"EMA2": 50, //We use the latest 50 prices of the 300 collected as EMA2 (Each one every 25 seconds - see above)
-"PERIOD": 15, //We use 15 minutes candlesticks in the EMA formula
Results for TrendWatcher: if Trend > 1 is an UPTREND, if Trend is < 1 it is a DOWNTREND.
Play with the variables above to tune it for your trading style, ask me in PM if you have doubts or quietly have a chat with one of the GBU Professors.
Once again thanks to @raffaeledonadono for his precious contribution to this code.
Please report any bug immediately!
Thanks!
~Gun