MACD

Created at 07 Mar 2018, 17:31
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
JA

jalmir.coelho@gmail.com

Joined 19.07.2017

MACD
07 Mar 2018, 17:31


 

 

how to capture macd data in different time frame? Example: get data from the macd in the graph of 15 minutes but I'm with the graph of 1 month open


@jalmir.coelho@gmail.com
Replies

PanagiotisCharalampous
08 Mar 2018, 09:46

Hi jalmir.coelho@gmail.com,

Please see below an example how to get an indicator for a timeframe of your choice.

            var m15 = MarketData.GetSeries(TimeFrame.Minute15).Median;
            var macd = Indicators.MacdCrossOver(m15, 26, 12, 9);

Best Regards,

Panagiotis


@PanagiotisCharalampous