Hi all,
Any one would be kind enough to create an oscilator (or any tool) that would take for initial value the yesterday’s highest/top price.
I would need to know where I am precisley today compare to yesterday top price.
Yesterday higher would be my benchmark for the d day in a way…
Does this make sens ? Thank you 😉
if you want this as intraday code will modify . I like to normalize all my indiators to percent instead of price , if you require that as well just ask
// Distance from last bar high
DLBH = close - high [1]
return DLBH as " Distance from last bar high "
Intraday Version
// Distance from last Daily bar high
DLBH = close - Dhigh (1)
return DLBH as " Distance from last bar high "
Intraday version as %
// Distance from last Daily bar high as %
DLBH = close - Dhigh (1)
DLBHperc = DLBH / Close *100
return DLBHperc as " Distance from last daily bar high as % "
Simply awesome Brisvegas !
You made my day 😉 …
LeoParticipant
Veteran
Sorry I have a cuestion, in intraday chart what give the value Dhigh? I mean Dhigh[0]
It’s Dhigh(0) with parenthesis and it gives today’s highest price.