Return value of “Typical Price” as an average of the “N” HLC candlesticks informations, as : (High+Low+Close) / 3
Syntax:
1 |
TypicalPrice[N] |
Return value of “Typical Price” as an average of the “N” HLC candlesticks informations, as : (High+Low+Close) / 3
Syntax:
1 |
TypicalPrice[N] |
In my code below How come my TypicalPrice gives slightly different results to my 2 other PP1 and PP2?
PP = TypicalPrice[1]PP1 = (DOpen(1) + DHigh(1) + DClose(1))/3PP2 = (Open[1] + High[1] + Close[1])/3
Return PP as “Typical Price PP”, PP1 as “DOpen PP”, PP2 as “Open PP”
Because TypicalPrice is the average between the Low/High and Close value, not with Open like in your PP1 and PP2 variables.