Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 03:40:32 +0000



[User Discussion] - Trading System Alert - use AVAP and BVAP comparison calc for entry confirmation

View Count: 481

[2023-06-02 10:59:57]
Dean Roberts - Posts: 79
Hi All

Do you know if it is possible to combine a calculation in a 'Trading System Based on Alert Condition' with a trigger entry level using a band added to a level?

So, am using a crossfrombelow/above to create a buy/sell when a band is placed 12 ticks away from a VWAP line. Could I have a check on there to say if BVAP<>AVAP by a particular percentage then enter the trade?

i.e. =AND(CROSSFROMABOVE(L,IDvwap+12ticks), BVAP>=AVWP*1.5) - I'm terrible at code so I'm sure that is wrong but I am trying to enter a buy order if candle low crosses the band I have added to VWAP (12ticks in this case) and Bid volume is above Ask volume by 150% of Ask volum.

Hope that makes sense

Cad
[2023-06-02 17:00:38]
Sawtooth - Posts: 4120
Do you know if it is possible to combine a calculation in a 'Trading System Based on Alert Condition' with a trigger entry level using a band added to a level?
Use the Bands/Envelope study, Based On the VWAP study's VWAP, like this:
=AND(CROSSFROMABOVE(L,ID2.SG1), BV>=AV*1.5)
where ID2.SG1 is the Bands/Envelope study's Top Band.

If you want use the BVAP/AVAP of the Top Band, add the Round Study Subgraph to Tick Size study, Based On the Bands/Envelope study's Top Band, using a formula like this:
=AND(CROSSFROMABOVE(L,ID3.SG1), BVAP(ID3.SG1,0)>=AVAP(ID3.SG1,0)*1.5)
where ID3 is the Round Study Subgraph to Tick Size study.
Study/Chart Alerts And Scanning: BVAP
[2023-06-02 19:06:15]
Dean Roberts - Posts: 79
Brilliant again, thanks Tom.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account