Previous action
Use this action with change({ id: 'Previous', context }).
Context
id?:Get|Update(Updateis assumed if omitted)forceVisible?:true|falsecolor?,dashStyle?,lineWidth?field?:PreviousOpen|PreviousHigh|PreviousLow|PreviousClose
Behavior
Configures the previous-value guide line.
-
Getreturns current previous-line state in the same shape asUpdatecontext. -
Updateapplies provided fields. -
You must also enable
showPreviouson the target plot (typically viaPlotaction,Updatesub-action). -
Default style values are
#888,Solid, and1. -
forceVisible: truekeeps the line visible even outside the current price range.