I have taken the VWAP code logic used by PRT and have a simple trading system to buy when close is below VWAP. I am running this on US 500 DFB on a 15M timeframe. The code works as an indicator but when I am trying to use it to build a trading strategy it is not returning any executions which is incorrect. Can you see any error in the code posted below
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok