How to code multiple Timeframe
Created at 04 Mar 2017, 11:09
JA
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