Hi,
In Indicator builder we are allowed to select different periods, for the one symbol, from the 2nd parameter
i.e iCustom(Symbol(),PERIOD_D1,...)
I tried doing the following, built an equation that uses a combination of just PERIOD_D1 and PERIOD_W1 to get a signal.
I attach the indicator to D1, the signals are given correctly.
However as I scroll across timeframes other than D1, I see totally different signals that does not match at all what I expect to see where they occurred from D1 chart.
If I don't use PERIOD_X and set to 0 meaning current chart time, and take out the extra higher timeframe conditions, signals are given correctly across all charts time from M1 -> MN on the current timeframe indicator is attached.
For a multitimeframe indicator where the mathematics checks the conditions across different periods, how do I ensure that the signals will always be correct no matter what timeframe I attach the indicator on chart ?
I hope this make sense.
Thank You
|