Can someone please help me with the correct syntax for calling the ‘MA weighted by volume’ indicator within code. I’ve tried using Call (which reports the function doesn’t exist). I’ve also tried as if the indicator were a regular PRT indicator (without using Call) and this doesn’t work either.
I’m sure there’s an obvious syntax, but nothing I try works, so some help would be much appreciated.
Thanks Nicolas. I’ve taken a copy of the code that I need to do this myself, so that works fine.
However, I’m still curious about how I could have called the indicator itself. What would be the correct syntax to make this work? (just so that I know what I was doing wrong).
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