Support Board
Date/Time: Mon, 24 Feb 2025 16:00:16 +0000
Post From: Display line to estimate latent gain
[2021-03-15 16:23:39] |
John - SC Support - Posts: 38121 |
There are a number of ways to do this, but the following method will only display the line in the chart where you had the position active. Add a Trading: Position Average Price study. You can hide this if you want. Add a Spreadsheet Formula study and add the following for the Formula: =IF(ID1.SG1 > 0, ID1.SG1 + 6 * TICKSIZE, 0). Where ID1.SG1 is the ID and Subgraph of the Trading: Position Average Price study. Also make sure the option for Draw Zero Values is set to No. You may want to set the Draw Style for the Spreadsheet Formula to be Line at Last Bar to Left. The only downside to the above is that for the bars where there was an active trade, you will continue to see the line. You could then hide the study when you are not in a trade, but you then have to remember to show it when you are. Refer to the following for the Trading: Position Average Price study: Trading Information Windows: Trade Data Studies And refer to the following for the Spreadsheet Formula study: Spreadsheet Formula For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |