Multi timeframe strategy Pine script (2 indicators)
Budget: €8 – €30 EUR
I need 2 indicators (RSI and ADX) to include multi timeframe. If I am currently looking at a Daily chart I want the algorithm to also calculate the values of RSI and ADX for D/2 (12 hours) and D/4 (6 hours).
Conditions:
1) If an indicator's multi timeframe looks at the Daily, and you are also looking at the Daily chart the values should be exactly the same (see Word document for current indicators codes).
2) Automatically switch values when looking at another timeframe (when for instance I am looking at the 12h chart: make the multi time frame calculations: 12/2 = 6 hours and 12/4 =3 hours) - preferred if possible
3) It is to be used in a strategy (so not a study) in Pine script. So it should work in a strategy.
Conditions:
1) If an indicator's multi timeframe looks at the Daily, and you are also looking at the Daily chart the values should be exactly the same (see Word document for current indicators codes).
2) Automatically switch values when looking at another timeframe (when for instance I am looking at the 12h chart: make the multi time frame calculations: 12/2 = 6 hours and 12/4 =3 hours) - preferred if possible
3) It is to be used in a strategy (so not a study) in Pine script. So it should work in a strategy.