Support Board
Date/Time: Thu, 20 Nov 2025 06:45:09 +0000
Post From: Moving average based on Closed Profit/Loss study
| [2021-03-25 21:56:42] |
| Sawtooth - Posts: 4288 |
|
You could use the Spreadsheet Formula study to find every P/L change, with a formula like this in the Formula field: =IF(ID4.SG1<>ID4.SG1[-1],ID4.SG1,0) where the Trading: Closed Profit/Loss study is ID4. Then use the Moving Average-Simple Skip Zeros study, with the Based On set to the Spreadsheet Formula study. Set the Chart Region of the SMA-SkipZeros study to the same as the P/L study. Date Time Of Last Edit: 2021-03-25 23:13:33
|
