How to code multiple Timeframe

Created at 04 Mar 2017, 11:09
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

jaythaibev

Joined 04.03.2017

How to code multiple Timeframe
04 Mar 2017, 11:09


Hi everyone ,

Please help me

I have logic Macd crossover  , If cross above open buy and cross below open sell I run on Timeframe M1

And I want to M1 follow TF M15 it  possible to coding?  if the same direction to be traded

Example : TF M1 Macd cross above and macd signal.last(0) < 0 actually It will open buy but TF M15  macd signal.last(0) it not < 0   it will not open buy , unless macd signal.last(0) < 0 it will open buy.

How to code please help me
Thank you very much everyone


@jaythaibev