Hi, I what to know if it's possible to check for result after this.advice call. I need to realize if buy or sell was successful or not in order make decisions.
For example if bot calls this.advice and buy fails because lack of currency, keeping trying to buy later but no to sell because can't get any asset.
Hello. I am very new to the gekko.
I have Tradingview pinescript code but I am poor at javascript.
Can someone change below code to Gekko strategy?
Thank you.
--------------------------------------------------------------
//@version=2
study(title="MODIFIED ADX", shorttitle="MODIFIED ADX", overlay=true)
//
//VAR
lenadx = 14 //DI Length
lensig = 14 //ADX Smoothing
limadx = 18 //ADX Green Active
//CACULATION
up = high - high[1] //ORIGINAL : up = change(high)
down = low[1] - low //ORIGINAL : down = -change(low)
trur = rma(max(max(high-low, abs(high-nz(close[1]))), abs(low-nz(close[1]))), lenadx)
plus = fixnan(100 * rma(up > down and up > 0 ? up : 0, lenadx) / trur)
minus = fixnan(100 * rma(down > up and down > 0 ? down : 0, lenadx) / trur)
sum = plus + minus
adx = 100 * rma(abs(plus - minus) / (sum == 0 ? 1 : sum), lensig)
macol = adx > limadx and plus > minus ? lime : adx > limadx and plus < minus ? red :black
//
//BUY OR SELL
buy = macol != black and ((macol == lime and macol[1] == red) or (macol == lime and macol[1] == black)) ? true : na
sell = macol != black and ((macol == red and macol[1] == lime) or (macol == red and macol[1] == black)) ? true : na
//END
That strategy looks like it beats the market by more than 40% when backtested against the last couple months. The source code (in pine script) is here: https://bpaste.net/show/937e9df5278a
I am a novice, and haven't really done hardly any coding before, but I've managed to get gekko running, and I have been struggling to figure out how to code the STC into an indicator for gekko, so that I can try to translate that pine script strategy into a gekko strategy, and run it with some real money, or at least backtest it with gekko and see if it looks like it might work.
I would be willing to pay somebody but don't have much to offer, unfortunately, likely nowhere near enough to make it worth your while. I'm hoping that somebody will be interested in helping port this over to gekko and make it available open-source out of the goodness in their hearts. -- EDIT: Will consider any offers, willing to pay a bounty, name a price and we'll see if I can afford it!
Hi,
can you help me? I'm able to login to a remote server by ssh and start a live gekko, but how to detach and reatach it when closing ssh?
How to deal with output?
Regards,
Dirk
Hi,
can some explain here how to enable telegram messanger notifications?
I want to get an notification on each trade my gekko is doning with let's say some information.
But how to start?
Regards,
Dirk
I'm a newbie, and started using Gekko today accessing data on Poloniex.
1. I have been able to get 2 Market Watcher Gekkos running, But I can't get any more MWs or start any Strategies. Each time I tried, I received an error stating "Child Failure". What can I do? 2. How long do I need to wait watching a Market before I can run a Strategy? 3. Each time I try to run a Gekko Strategy, the process fails. What can I do?