Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 22:32:14 +0000



Post From: Entry accuracy issues in automated trading

[2024-04-27 20:33:15]
Sawtooth - Posts: 4120
In Alert syntax, L is Low
The Last price is C
Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables

So if you want to reference the Last price, the formula in spreadsheet syntax would be:
=OR(E3=ID1.SG5@3,CROSSFROMBELOW(E3:E4,ID1.SG5@3:ID1.SG5@4))

The CROSSFROMBELOW function requires a range in spreadsheet syntax, where you can use any range.
The CROSSFROMBELOW function in Alert syntax assumes range of only the current and previous bars.