macd - signal crossover wanted
#1
Hi all,

Just started with Gekko and I'm looking to create a very simple strategy:
- if macd crosses signal while going up: buy
- if macd crosses signal while going down: sell

I tried to "hack" together a custom strategy, but I'm having difficulties getting the values for EMAshort(12), EMAlong(26) and signal(9) as such so I can use them in a the above mentioned crossovers.

I can't seem to find a strategy that does this, it's probably out there and I don't know what to look for or it's not since it is a foolish strategy... I don't know which..

To be honest, I'm quite new to java programming and strategies... but I would still like to see what happens with such a strategy and gain some experience programming it.

Can anyone point me in the right direction please?

Thanks!
  Reply


Messages In This Thread
macd - signal crossover wanted - by wilbertvdl - 08-07-2018, 10:58 PM
RE: macd - signal crossover wanted - by askmike - 08-11-2018, 01:25 PM

Forum Jump:


Users browsing this thread: