Gekko Forum
Strategy running with multiple timeframes - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Strategy Development (https://forum.gekko.wizb.it/forum-12.html)
+--- Thread: Strategy running with multiple timeframes (/thread-56620.html)



Strategy running with multiple timeframes - zappra - 03-28-2018

This is something I've been playing with and it came up a couple times on Discord.

I've created an example strategy - timeframes.js - in my gekko fork at https://github.com/zappra/gekko

It shows how to use candleBatcher to run with multiple timeframes in the same strategy.

For example you might want to:

Run a long/short SMA comparison at 4hr timeframe to determine broad market sentiment
Check RSI state at 30 minute interval to determine buy/sell regions
Check for MACD crossovers at 1 or 2 minute interval to find local min/max, for final sell/buy points

Using candleBatcher makes it pretty easy to do this.

Hope its of interest to someone!

Best 
z


RE: Strategy running with multiple timeframes - timvang - 03-29-2018

(03-28-2018, 09:42 PM)zappra Wrote: This is something I've been playing with and it came up a couple times on Discord.

I've created an example strategy - timeframes.js - in my gekko fork at https://github.com/zappra/gekko

It shows how to use candleBatcher to run with multiple timeframes in the same strategy.

For example you might want to:

Run a long/short SMA comparison at 4hr timeframe to determine broad market sentiment
Check RSI state at 30 minute interval to determine buy/sell regions
Check for MACD crossovers at 1 or 2 minute interval to find local min/max, for final sell/buy points

Using candleBatcher makes it pretty easy to do this.

Hope its of interest to someone!

Best 
z

Thanks! That's very useful.


RE: Strategy running with multiple timeframes - elque_flinchy - 04-13-2018

Wow, this is amazing if true! I'll try it a while with personal indicators. Thank you!


RE: Strategy running with multiple timeframes - wilson - 10-12-2018

Thanks, Great work.

How can it run on webUI?