Support Board
Date/Time: Wed, 22 Oct 2025 12:51:02 +0000
Post From: Automated Trading Formula help
[2025-10-16 05:22:25] |
User4930 - Posts: 1 |
Could someone tell me if my syntax is correct for the following alert formula: I want to place a buy alert if the CCI closes above the 2 moving averages: =AND(ID2.SG2[-1] > ID1.SG2[-1], ID2.SG2[-1]>ID3.SG2[-1]) and a sell alert if the CCI closes below: =AND(ID2.SG2[-1] < ID1.SG2[-1], ID2.SG2[-1]<ID3.SG2[-1]) This picture shows one example of when a buy and sell would be placed: www.sierrachart.com/Download.php?Folder=SupportBoard&download=128202 This shows my Study IDs: www.sierrachart.com/Download.php?Folder=SupportBoard&download=128203 I have spent too many hours on this to no avail. |
![]() ![]() |