Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 15:03:33 +0000



Post From: BVAP/AVAP reference in Alert formula not working correctly or misreading data

[2021-08-27 05:47:26]
User791909 - Posts: 7
Thank you for providing such a solid trading platform. I've been using alert formulas for quite some time now with great success. Recently I found that when using the BVAP and AVAP commands in the color bar based on alert condition study, the system was not behaving consistently with the formula output. I asked the alert to fire when BVAP at one price level was > or < or = the BVAP of the similar level one or more candles back. I tried each comparison (<,>,=) separately and found similar issues with the comparisons made by the system. As a simple example, I made a chart with the following formulas as separate studies (again, the errors occur whether <,>,= is used):

=(BVAP(H[-1],0))=(BVAP(H,0))
this results in a teal arrow down above the high when true

and the other with:

=(BVAP(H[-3]-(TICKSIZE*1),0))=(BVAP(H-(TICKSIZE*1),0))
this results in a red arrow down above the high when true

The issue is that the alert sometimes fires correctly, at times misses signals, and at times fires when the formula would have been false. I have a simplified Chartbook I can provide if you need it. I have attached some screen grabs that illustrate the scenarios and have made commentary on the images. As a final note, I am running version 2299 on an M1 Mac Mini via Codeweavers Crossover (Version 20.0.4 (20.0.4.33197)) and I use the Denali Feed for CME ticker data and recently added the Sierra Feed for CBOE, etc. if any of that comes to bear.

Highest Bid Comparison
Bid Comparison 1 tick below High 3 bars back