// Definition of code parameters
TIMEFRAME (DAILY)
// Conditions to enter long positions only once
IF low <= Average[5](close)and flag=0 then
BUY 10 CONTRACT AT market
flag=1
ENDIF
How if I want to do the same strategy buying only once at the Weekly VWAP and Monthly VWAP and buying at any of the lower VWAP bands or selling at any of the upper VWAP bands either daily or weekly or monthly VWAP, I believe it works very well with gold.
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