How to code VWAP strategy?
e.g. buy if a 5 min candle crosses above VWAP or sell if crosses below
which keyword to use VWAP or VWAP series? Give some example.
How to code VWAP strategy?
e.g. buy if a 5 min candle crosses above VWAP or sell if crosses below
which keyword to use VWAP or VWAP series? Give some example.
Hi, Really not sure on how both keyword work but definately know what works.
Maybe TT team can answer on VWAP keyword. Hope this helps. Thanks
Position- CROSS- Close(-1), vwap series(-1)
Or u can use,
Close(-1) > vwap series(-1)
and
Close(-2) < vwap series(-2)
I tried the second method but its not working.