Lipi Reference Lipi

Variables

hl2

The bar's high and low, averaged: its midpoint. Supplied so you need not write the arithmetic. Four of these averaged prices exist. Each is a float series like the values it averages, so one can stand anywhere a price is wanted.

Example


          indicator("HL2 Example", overlay=true)
plot(hl2, color=color.orange, title="HL2 (Midpoint of High & Low)")
        

Type

series float