Gekko Forum
Different candle sizes in one strat - 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: Different candle sizes in one strat (/thread-57229.html)



Different candle sizes in one strat - Knurrhuhn - 06-01-2018

He folks, 

thanks for all your inspiration so far! 

I have a question and need your help: 
My goal is to set up a strategy that involves indicators (RSI, EMA, MACD-histogram, maybe some more) from different candle sizes (5min, 30min, 4hour). To be more precise: MACD of 30min-chart is different from MACD of 4hour-chart. How do I include both indicators in my strat? 

Do I have to simply update them on different time scales, e.g. with some sort of count-loop within update-function: 
>> set candle size for the strat to the lowest needed (here 5min) and update the 30min-indicators every 6 counts? But, how do I set up three separate RSI-indicators which do not interfere? 



Hopefully you understand what I am thinking of. If we could come up with some solution I will share ofc. 


regards
Knurrhuhn


RE: Different candle sizes in one strat - Ballsy - 06-02-2018

Try looking at

https://forum.gekko.wizb.it/thread-56620.html

Think this should help you?


RE: Different candle sizes in one strat - Knurrhuhn - 06-02-2018

Sounds about right! I think I missed that thread ^^
I'll give it a shot soon. 

Thanks