Support Board
Date/Time: Thu, 30 Oct 2025 00:58:26 +0000
Post From: Automated Trading System AND logic
| [2023-08-18 23:49:33] |
| Sawtooth - Posts: 4281 |
|
Despite its name, the Spreadsheet Formula study is not a spreadsheet study, and it uses Alert syntax. The formula in post #11 is in spreadsheet syntax. The following is it, converted to Alert syntax: =IF(AND(ID2.SG1<=H[-1],C>=ID2.SG1),1,IF(AND(ID2.SG1>=L[-1],C<=ID2.SG1),-1,ID3.SG1[-1])) where ID3 is this Spreadsheet Formula study. |
