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
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue