Position P/L Auto (Indicator)
Input Information
Name | Expression | Default | Description |
AccountNumbers | String | "" | List of accounts (comma delimited) to use for getting position information. |
HiAlert | Numeric | 1000000 | Value for generating a Net P/L high alert. |
LoAlert | Numeric | -1000000 | Value for generating a Net P/L low alert. |
UpColor | ColorValue | UpColorDefault | Color for a positive open P/L amount. |
DownColor | ColorValue | DownColorDefault | Color for a negative open P/L amount. |
ColorScheme | Numeric | 1 | 0=no coloring, 1=color text, 2=color background |
Market Synopsis
The Position P/L Auto grid indicator calculates and plots any open position P/L for a symbol in RadarScreen.
By default, the indicator gets position information from all accounts. Use the AccountNumbers input to reference only specific accounts.
The Position P/L indicator makes use of an PositionsProvider component to get the current position values for each symbol and the OrdersProviders to get the information about any open orders. Position and order information is updated in real time via Updated event handlers.
Plot Information
Number | Name | Default Color | Description |
Plot1 | Accounts | Default | Shows the list of user specified accounts to reference. |
Plot2 | Qty | Default | Plots the number of shares/contract held for the symbol. |
Plot3 | Entry | Default | Plots the entry price for the open position for the symbol. |
Plot4 | OpenPLAmount | Default | Plots the value of the open position P/L for the symbol. |
Plot5 | ExitStpPrice | Default | Plots the stop prices for any pending exit orders for the symbol. |