Forum

Exposing Fast & Slow EMA in the standard shipped MACD example...

Hello All, I want to make a straightforward change to the example shipped MACD to expose the Fast & slow EMA's as lines in the same window as the histogram & signal. The standard shipped example MACD (attached) exposes the histogram & signal in a separate window. I can build it, it works - all good

Retrieve highest bar value for a period...

Hello All, Edited: Looks like I have cracked this, code below - but constructive enhancements/comments are welcome. I am trying to retrieve the highest value from the highest bar within a given period. If I specify from 03:00 to 06:00 what I get back are prices for close to now (say 11:00). What I