Position P/L % Grad (Indicator)

Disclaimer

Input Information

Name Expression Default Description
Quantity Numeric 0 The number of shares/contracts that make up the position (positive value for long, negative value for short)
MyEntryPrice Numeric 0 Initial entry price of the position.
MyCommission Numeric 0 Commission for this trade.
HiPercent Numeric 20 Upper value of the P/L % gradient color range.
LoPercent Numeric -10 Lower value of the P/L % gradient color range.
UpColor Numeric UpColorDefault Cell background color at the HiPercent range.
DnColor Numeric DownColorDefault Cell background color at the LoPercent range.
GridForegroundColor Numeric Black Color used for plotting text values.

Remarks

This grid indicator displays the input position's profit/loss in both dollar and percentage terms.  If gradient coloring is enabled, RadarScreen cell background is colored a mixture of UpColor and DnColor.  As NetPLPct approaches HiPercent, the cell background will be colored more like UpColor.  As NetPLPct approaches LoPercent, the cell background color will approach DnColor.  

Plot Information

Number Name Default Color Description
Plot1 Quantity White Position quantity.
Plot2 MyEntryPrice White Position entry price.
Plot3 NetPL White Position net P/L value
Plot4 NetPLPct Black Position net P/L percentage over gradient background.