Hi, Prorealtime members, happy new year and hope everyone is doing ok in this strange world at the moment.
Just wondered if something would be very kind to help me, I am used to writing in pinescript on tradingview.
I am trying to write a code on a 2 day or a 4hr chart but not sure how to find it. I know Dhigh is a Daily high, well I hope anyway.
On tradingview you just type 2D to get a two day high or
h2 = security(tickerid, ‘2d’, high[1]).
240h = security(tickerid, ‘240’, high[1]).
but can’t find this on prorealtime ?
If anyone could help me out, that would be fantastic.
Kind regards and happy trading.
James
Ok great , Thanks for your help I will have a look .
Hard to use that bbcodes but thank you for the advice
timeframe(daily)
D2High = highest[2](high)