Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 18:12:33 +0000



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

[2021-09-02 07:11:21]
User907968 - Posts: 826
Your use of BVAP does not reflect what you are trying to achieve, you have offset 0 (the current index) in all cases, whereas it should be offset similarly to the price variables.

Study/Chart Alerts And Scanning: VAP

e.g. when comparing 1 tick below high 3 bars back to 1 tick below high at current bar

=(BVAP(H[-3]-(TICKSIZE*1),0))=(BVAP(H-(TICKSIZE*1),0))

should be

=(BVAP(H[-3]-(TICKSIZE*1),-3))=(BVAP(H-(TICKSIZE*1),0))