Hi all. Here is my implementation of MACD algo. I have used RSI source code from examples (https://www.quantopian.com/help#sample-talib) as the template. My question is - how can I use hour periods in my algo? I mean, this algo must calculate 12 hour and 26 hour MA of prices. Can somebody help me change the source code in this way?
And, also please review my source code for mistakes/bugs