Price Change (PC)
Description
The Price Change (PC) indicator visualizes the median price increase as a percentage.
How It Works
The Price Change (PC) indicator calculates the median price of the current candle and compares it to the previous candle. The resulting price change is then displayed as a percentage.
Formula
if (lastPrice > previousLastPrice)
{
if (orderSide == OrderSide.Sell)
{
return NormalizedPrice(((price - takeProfitPrice) / price) * 100.0);
}
return NormalizedPrice(((takeProfitPrice - price) / price) * 100.0);
}
else
{
if (orderSide == OrderSide.Sell)
{
return NormalizedPrice(((price - takeProfitPrice) / price) * 100.0);
}
return NormalizedPrice(((takeProfitPrice - price) / price) * 100.0);
}
Chart Settings
"Indicator Short Name"
"Bearish Color"
"Bullish Color"
* For common indicator properties please see Common Indicator Settings
Watchlist Settings
* For common indicator properties please see Common Indicator Settings
Chart View
Last modified: 27 November 2024