MA crosses VWAP intraday

Optuma Forums Optuma Scripting MA crosses VWAP intraday

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #61007
    AvatarVilmos
    • 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
    DarrenDarren
    • Topics: 62
    • Replies: 503
    • Posts: 565

    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
    AvatarVilmos
    • 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

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close