Support Board
Date/Time: Fri, 10 Jan 2025 10:01:44 +0000
Post From: Buy/Sell formula using Study Angle
[2016-08-20 23:58:08] |
Sawtooth - Posts: 4147 |
Try this: For Simple Alerts: Buy signal: =AND(ID1.SG1[-2]>ID1.SG1[-1],ID1.SG1>ID1.SG1[-1]) Sell signal: =AND(ID1.SG1[-2]<ID1.SG1[-1],ID1.SG1<ID1.SG1[-1]) where ID1 is the Study Angle study, edit as needed. For spreadsheet studies: Buy signal: =AND(ID1.SG1@5>ID1.SG1@4,ID1.SG1@3>ID1.SG1@4) Sell signal: =AND(ID1.SG1@5<ID1.SG1@4,ID1.SG1@3<ID1.SG1@4) where ID1 is the Study Angle study, edit as needed. |