Support Board
Date/Time: Tue, 07 Jan 2025 13:31:13 +0000
Post From: How to draw line connect every peak of slope
[2024-12-13 22:31:53] |
User719512 - Posts: 285 |
If I understand your problem statement correctly, you want to connect all the Color Bar Based on Slope changes using High for input value. If this is correct, then set that study to output +1 or -1 for the slope. Use a spreadsheet formula to detect changes: AND(ID1.SG1[0]=-1,ID1.SG1[-1]<>-1)
(current bar is -1 and previous bar is not -1)Use Color Bar Based on Alert Condition (CBBOAC) to convert this signals (non-zero values) to High price by alerting on ID4.SG1<>0
Output When Condition True | Use Input Data, and Input Data | High Similar process for the Low. AND(ID2.SG1[0]=1,ID2.SG1[-1]<>1)
(current bar is 1 and previous bar is not 1)You can also signal on any change and use HL Avg with: OR(AND(ID2.SG1[0]=1,ID2.SG1[-1]<>1),AND(ID1.SG1[0]=-1,ID1.SG1[-1]<>-1))
and use similar CBBOAC condition as above.Use Color Bar Based on Alert Condition (CBBOAC) to convert the signals (non-zero values) to HL Avg price by alerting on ID5.SG1<>0
Pretty straightforward if you process each step in the workflow and generate signals, convert signal to something consumable, plot the converted signals. |
SierraSlopeChanges.png / V - Attached On 2024-12-13 22:22:19 UTC - Size: 104.17 KB - 22 views |