Past Performance Lines
Past Performance Lines take the price performance from each time in the available price history that the condition returned true, averages them together, then from the latest time that condition returned true projects that average into the future.
Past Performance Lines are in no way a prediction of future performance, they are simply another way to visualize data portrayed in conditional chart coloring.
To use past performance lines you first need to apply a conditional color to your chart, right click on your chart and select edit chart properties
Select the Price style tab (if not already selected)
Select Add Condition under conditional colors
For this example we are going to write a new formula that returns true when the close is greater than the previous bars close and volume is greater than its 90 bar average
For more information on applying conditional colors please see this article
With that condition applied you can see the price bars colored on the chart
Check the box in the Plot Past Performance column to add the line to your chart
We can increase projection space to extend that line into the future
For more information on managing projection space please see this article
You can click on the color pallet icon located next to price history to quickly edit your conditional colors
Select Past performance settings to change the appearance of the Past Performance Line
A description of the available settings is as follows
1. Show average past performance - Toggles the center average line on or off
2. Show shade region - plots the average of all lines that are above the center line for each bar as the upper line, plots the average of all the lines below the center line for each bar to plot the bottom line then shades in between these lines.
3. Show all past performance lines - Shows the past performance from every time the condition was true on the chart (what is used to calculate the average center line)
4. Show best and worst lines - displays only the best and worst past performances
5. Only calculate if passed in last X bars - Only plots the past performance plot if the condition was true in the last X bars
6. Allows you to set the color of both the center average and the shaded area
7. Allows you to adjust the opacity of the center average line and the shaded area (100 is fully opaque, 1 is transparent)
If the condition is true for multiple bars in a row, calculations are only made from the first bar that returned true.