Support Board
Date/Time: Sat, 30 Nov 2024 06:51:11 +0000
[Programming Help] - Formula for high volume on added symbols
View Count: 313
[2022-12-14 21:20:32] |
Dean Roberts - Posts: 79 |
Hi Tom and John Could you help please; I have added a few symbols as study/price overlays to a chart - the added symbols are internals like DVOL/UVOL and ADV/DEC issues. I want to enter a trade when these charts have a large increase in volume i.e. if DVOL and DEC have large candles increase in volume I want to enter a short. I have this from a volume increase alert for a candle - =average(v[-1:0])>average(v[-20:-3])*1.8 Could I add the studies to this for a simple trading alert study - =AND(ID1.SG4,average(v[-1:0])>ID1.SG4,average(v[-20:-3])*1.8, ID2.SG4,average(v[-1:0])>ID2.SG4,average(v[-20:-3])*1.8) SG4 being the close of the candle in both cases? I'm really not sure on this. Much appreciated Cad |
[2022-12-15 01:35:19] |
Sawtooth - Posts: 4123 |
Could I add the studies to this for a simple trading alert study
Yes, but you must make a comparison to the subgraph value, since the Close is not a boolean value (T/F).Any non-zero value is a TRUE, so the Close value without a comparison will always be TRUE. Date Time Of Last Edit: 2022-12-15 01:36:05
|
To post a message in this thread, you need to log in with your Sierra Chart account: