MA crosses VWAP intraday

Optuma Forums Optuma Scripting MA crosses VWAP intraday

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #61007
    Vilmos
    • Topics: 2
    • Replies: 2
    • Posts: 4

    Hello,

    I trying to plot when the MA crosses the VWAP on 3 minutes chart with the following script.
    var1 = VWAP() ;
    var2 = MA(BARS=9);
    var2 Crosses var1

    Can you please check why this simple formula does not work?

    Thanks in advance

    #61039
    Darren
    • Topics: 66
    • Replies: 633
    • Posts: 699

    Hi Vilmos,

    What do you see when you use the script in a Show Bar? What chart are you applying it to? Here’s a 5 min chart of AAPL and the red Show Bar arrows match up with the crossovers on the chart using your formula above.

    Capture

    1 user thanked author for this post.
    #61085
    Vilmos
    • Topics: 2
    • Replies: 2
    • Posts: 4

    The issue was, that I was not trying with the showbar. Now it works correctly. Thank you

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest