Support Board
Date/Time: Thu, 31 Oct 2024 10:13:09 +0000
[Programming Help] - creating an alert condition off of DOJI bars-heikin ashi..
View Count: 605
[2021-03-04 17:29:09] |
CTAYLZ - Posts: 9 |
(ABS(O - C) / (H - L) < .50)...Using this formula and tweaking the %% is working OK for me picking up doji bars with Heikin ashi...substituting (SG.1 for H,L,O,C) but I'm trying to create a 2 bar pattern here and when I had [-1] function following the formula, I'm getting a error message... IS there a better way to do it? or do I need to so 2 alerts and watch for alert 1, then alert 2 can i reference alert one, in the alert 2 formula and do it that way? any help is greatly appreciated. |
[2021-03-05 13:01:55] |
Sawtooth - Posts: 4103 |
The [-1] needs to be with each O,H,L,C. =ABS(O[-1] - C[-1]) / (H[-1] - L[-1]) <.50 You don't need two alert formulas; a 2 bar pattern needs only one alert. If you'd like a suggested formula, please explain your 2 bar pattern. Date Time Of Last Edit: 2021-03-05 13:13:02
|
[2024-10-17 02:23:10] |
HumblyTrading - Posts: 178 |
(H-L)/ABS(O-C)>10 Same sort of thing... For some reason this works on Volume candles when the normal one does not... |
[2024-10-17 14:07:59] |
John - SC Support - Posts: 35639 |
When you say it is not working, are you getting an error, or are you not getting a result where you expect to see it? If the latter, then we would need to see an image of your chart and let us know exactly which bar this should be occurring on. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: