Gekko comes with an indicator called DEMA, it is supposed to implement the Double EMA indicator properly. However @ pointed out the current implementation is not correct, see #1812 for more details.
Who ever can get a PR merged that:
- fixes the indicator to implement the described algorithm ["DEMA = ( 2 * EMA(n)) - (EMA(EMA(n)) ), where n= period"]
- fixes the current DEMA test.
- updates the DEMA strategy to only use a single period n.
- updates the sample-config and the toml config file to use a single period n.
Can claim a bounty of 0.003 BTC (currently worth ~$33.15), the bounty comes from me
Since my OP wasn't informative enough I am adding here what I would like from this indicator:
1) I would like the indicator to return different attributes about the current given candle size (15m, 1H, 2H etc) in such a way that they could be used in strategies. The indicator returns a lot of information in any given timeframe and I would like to be able to use that information as much as possible. Also it needs just 4 candles to warm up;
2) I would like to be able to run and also backtest this indicator on a live market in the any timeframe that I want. Let's say 1H. I would like the indicator to continuously (live) check the status of the current candle and to return what number it represents in a setup or countdown counter (1 green/red, 2 green/red, 3 green/red etc). After reporting the number of the candle I would like the strategy to act upon this returned number and give long or short signal based on somehow custom attributes. For example I am interested in a strategy that sounds like this: When candle 2 starts trading above/below candle 1 then long/short. This would be to open the trade. I'll get to the closing the order in a second.
3) About closing the order or giving the short/long signal. MeanSquaredError told me in a private message:
"Right now the strategy just issues a 'short' or 'long' advice to Gekko once the TD countdown is completed. If by SL and TP you mean the stop-loss and take-profit, then I guess I can implement something like that, but the real problem is that the custom strategy does not see separate orders. The strategy just gives Gekko's portfolio manager to go 'short' or 'long'. So if we have issued a 'long' advice, then after a while we can sort of close that order by giving a 'short' advice. But we can not even be sure what amount has Gekko sold after our advice.
I guess we can discuss this with Mike and see whether he is willing to make changes to Gekko that would make possible the development of more complex strategies."
@Mike are you planning on stop-loss and take-profit capabilities on trades? Also how does the bot operates in live trading? It just does a market buy/sell with all the account balance?
I guess this could be coded as a series of ifs>else until this is implemented.
Added more:
3) In TradingView when looking at a timeframe with the TD Indicator sometimes the candles have 2 numbers on them. The first (principal) number above the candle and the second (secondary) number below and for example there can be candle with a 3 green on top and 10 red below. Would that be possible in Gekko?;
4) Would it be possible to differentiate between perfected 9s and imperfected 9s?;
5) Would it be possible to tell where the TDST line is at any given time if there is any?
P.S. If you think that the bounty is too low for what I'm asking speak up!
if you running a Gekko strategie that needs SQlite you might find an ERROR in the CMD that SQlite is not installed yet.
it ask you to install it by:
npm install sqlite3@3.1.4 //something like this
Hi all, having problems, if anyone can advise me on what is wrong here it would be greatly appreciated.
[color=rgba(255, 255, 255, 0.7)]TypeError: Cannot read property 'log' of undefined
at pipelineRunner (C:\xxxx\xx\Downloads\gekko-develop\web\routes\startGekko
.js:86:14)
at Object.message (C:\xxxx\xx\Downloads\gekko-develop\core\workers\pipeline
\messageHandlers\realtimeHandler.js:10:9)
at ChildProcess. (C:\xxxx\xx\Downloads\gekko-develop\core\worker
s\pipeline\parent.js:29:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at emit (internal/child_process.js:772:12)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
disconnect[/color]
Hey SQLite was not working for me, the bot crashes everytime I try to use it with tradebot...works great with everything else ...getting child errors etc...So I want to try postgresql but I’m not familiar with it...I downloaded the newest postgresql and have the server running...edited the uiconfig and base config but still not luck...this is on windows 10 running gekko in UI mode..any ideas? From what I’ve read SQLite is too weak to handle tradebot so therefore I wanna try postgresql
<-- GET /api/imports
--> GET /api/imports 200 17ms 2b
<-- GET /api/gekkos
--> GET /api/gekkos 200 4ms 2b
<-- GET /api/gekkos
--> GET /api/gekkos 200 4ms 2b
<-- GET /api/apiKeys
--> GET /api/apiKeys 200 3ms 10b
<-- GET /api/exchanges
--> GET /api/exchanges 200 8,848ms 64.46kb
<-- POST /api/import
Import 696685438790157 started
--> POST /api/import 200 794ms 150b
RECEIVED ERROR IN IMPORT 696685438790157
Hi
Enybody know..?
I startet a liveGekko Stratrunner.
Before, i config config.js in order to mail me at the buy/sell signals. Also wenn starting the liveGekko.
-"my.Adress"
-"my.Password"
-"smtp.gmx.COM" //<--- my email ...gmx.NET
-smtpauth: true, // just recognized while writing. sorry
-"" // is it smtp.gmx.NET ?
-""
-""
-ssl: true,
-""
It created an error at startup
Is the Mailer Plugin (easy method) only for Gmail accounts?
I must ask this question because for this LiveGekko Stratrunner its to late.
Hi Mike
(PS: right now my Gekko made a third Trade but the Year display remain the same and Exposure 5month.
Has it got not enough data or did i messed it up when put 100usdt into the Currency-wallet while warmup Period?)
My Stratrunner made one roundtrip. Now its waiting.
I recodnized a strange Year problem in the roundtrip window. See Atachement
(the current Balance is incorrect because i sold coins while at Warmup stage)
Just tested the the Cmd method and tryed backtest since have two seperat laptop now.
Its nice i like it. Neat
Thinking of restarting my Stratrunner as Cmd and dont touch this comp again.
Or could it be nordVPN dropout?
Should i disable the VPN for LiveGekko?
Thanks