Lipi Reference Lipi

Variables

syminfo.segment

Returns the market segment for the current symbol

Example


          indicator(title="Segment Example", overlay=true)
assetSegment = syminfo.segment
isMainSegment = assetSegment == "FUTURE" ? 1 : 0
plot(isMainSegment, title="Is Main Segment", color=color.green)
        

Type

simple string