Hello,
I'm working in a custom indicator, loaded on 1H chart (timeframe);
In it, until now, I have several conditions (indicators) checked in that timeframe for go long/short;
I want to introduce a condition based on 4H Stochastic, but if I put:
iStochastic(NULL, 240, 5, 3, 3, 0, 0, 0, i);
iStochastic(NULL, 240, 5, 3, 3, 0, 0, 1, i);
it can't work properly, because i is the loop counting 1H bars.
So is it possible, and how can I do it?
Thank you for your help!
I'm working in a custom indicator, loaded on 1H chart (timeframe);
In it, until now, I have several conditions (indicators) checked in that timeframe for go long/short;
I want to introduce a condition based on 4H Stochastic, but if I put:
iStochastic(NULL, 240, 5, 3, 3, 0, 0, 0, i);
iStochastic(NULL, 240, 5, 3, 3, 0, 0, 1, i);
it can't work properly, because i is the loop counting 1H bars.
So is it possible, and how can I do it?
Thank you for your help!