This function is available on the Add Study window and in the Formula Toolbox.
The Label function allows you to pick a value for an instrument and use that instrument value in another formula. Unlike using bar values, which change for each time period, the selected label value is used throughout the entire time range of the chart.
The values you can use in this function are the Current Values that appear as column headers in the Quote Spreadsheet or Custom QuoteBoard.
Example: Label(@,LastQuote)
Parameter |
Description |
Label |
Value used for the label function, including various volume, price, Greeks, volatility, and date options as well as serial/system number. For example: MA(@,Exp,5) XABOVE MA(@,Exp,13) AND RSI(@,5) >= 50 when (Label(@,SerialNumber) = 103545 Or Label(@,SerialNumber) = 102985) |