Support Board
Date/Time: Mon, 13 Jan 2025 18:19:30 +0000
[Programming Help] - What to enter for Buy (K3)/Sell (M3) using Change in Slope Study
View Count: 735
[2017-04-29 19:32:58] |
John M - Posts: 171 |
Hello I have Color Bar Based on Slope Study implemented as a background color and it works well. I want to trigger a Trade on the transition points where the slope/color changes. What formula should go into K3 and M3 on the trading spreadsheet to reflect these transitions using this Study? Color Bar Based on Slope Study doesn't give me SG1 or SG2 to work from, it's just SG1 with a color change. thank you. |
[2017-04-29 22:32:54] |
Sawtooth - Posts: 4150 |
Try this: K3: =AND(ID1.SG1@5>ID1.SG1@4,ID1.SG1@3>ID1.SG1@4) M3 =AND(ID1.SG1@5<ID1.SG1@4,ID1.SG1@3<ID1.SG1@4) where ID1 is the sloping line study; edit as needed. |
[2017-04-30 21:13:19] |
John M - Posts: 171 |
Going to try that now, thank you. Amazing how apparent it is when you see it print. |
To post a message in this thread, you need to log in with your Sierra Chart account: