I need a quick Parabolic SAR Multi Timeframe Indicator for MT4 please.
It must display in a second indicator window, 4 lines, each line is a successive higher timeframe. Example, if we attach the PSAR MTF indicator to a M1 chart, then 4 rows will appear:
A green buy dot will be printed if PSAR appears below closed candle, a red sell dot will be printed if PSAR appears above closed candle. Please see screenshot attached for an example. I need to be able to see up to 10,000 bars back.
If we attach the PSAR MTF indicator to a H1 chart, then the 4 rows will appear as: H4, D1, W1, MN. I.e. always display the next 4 higher timeframes of the current chart. Obviously if the indicator is attached to H4 chart there would be just 3 rows (D1, W1, MN), if it's attached to D1, there would be just 2 rows (W1, MN), and if it's attached to W1, there would be just 1 row (MN). If it's attached to MN, there would be nothing.
However, please note, the indicator must NOT repaint. E.g. if we attach to M1 chart, then once every M1 candle has closed, then the M5, M15, M30 and H1 green/red dots MUST NOT CHANGE COLOR. This is extremely important. I.e. once the colors appear, and the M1 candle closes, then the colors must always remain the same colors. It must never change color. Even if I close / re-attach indicator after some hours. The colors must be the same as what appeared in real-time. Otherwise I am not able to manually go back through the charts to see how the history would have looked in real-time.
For example: It needs to check for current color. E.g. if we attach to M1, then at the close of 12:17, what was the color of M5? then print that color. And what was the color of M15 at 12:17 close? Print that color. And what was the color of M30 at 12:17 candle close. Print that color. And what was the color of H1 at 12:17 candle close. Print that color.
Then again the same process at 12:18 candle close, and 12:19, etc... The colors must never repaint.
By the way, you don't need to include the PSAR code in the mq4 file, just simply call to it, because PSAR is a default indicator on MT4 anyway.