Gekko Forum
Understanding the Gekko MACD strategy - Printable Version

+- Gekko Forum (
+-- Forum: Gekko (
+--- Forum: General Discussion (
+--- Thread: Understanding the Gekko MACD strategy (/thread-58006.html)

Understanding the Gekko MACD strategy - Thluks - 09-11-2019

How do I get the MACD strategy to create a buy or sell order at the exact time of the crossover?

I'm looking at a 12/26/9 MACD with 30min candles on It seems pretty clear to me when to buy and when to sell and make good profits, but of course I don't want to do that 24/7.

Trying to replicate that in Gekko, I'm thinking if I set the thresholds to 0 or a very small number like 0.00025 it should then react immediately on the crossover (with persistence = 0). But the backtest result doesn't seem to match up with the cross overs I see on TradingView. Buy and sell signals are all over the place.

Is there a way to see the MACD lines that Gekko is using to generate the signals, in the web UI? That would help a lot to understand and tweak.