Hello
As PRT in not able to run multitimeframe, I would like to run strategy on H4 but with D1 Daily RSI value
I found the formula of RSI and how to build the indicator.
Manual here at the bottom of the page https://www.prorealtime.com/en/help-manual/probuilder-custom-indicators
However the probuilder doesn’t like the instruction Dclose instead of close.
If I screen the time to record price value at 23h59, it should be able to recalculate the RSI value.
However I don’t get any value back from the indicator, if you have any idea?
Regards
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/////////// RSIDaily
p= 14
if time > 235958 then
cloture= open
endif
higher = MAX (0 ,cloture- cloture[ 1 ] )
lower= MAX (0 ,cloture[ 1 ] - cloture)
mmhigher= wilderaverage [ p] (higher)
mmlower= wilderaverage [ p] (lower)
RS= mmhigher/ mmlower
RSIdaily= 100 - 100 / (1 + RS)
return RSIdaily as "RSIDaily"
///end