Price Cross VWAP Intraday

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #83468 quote
    TRezinTRezin
    Participant
    Junior

    Hello,

    Can anybody help me. I am trying to create a scan than looks for the price close below VWAP 150 intraday 3min chart.

    Below I got the following from ProRealtime but not quite what I am looking for. I dont want to use bands but only the VWAP 150.

    // VWAP DID
    m = 150
    
    vw = volume*close
    vwsum = SUMMATION[m](vw)
    volsum = SUMMATION[m](volume)
    vwap = vwsum/volsum
    //stv= STD[m] ( vwap ) //(close)
    //upline = vwap + stv
    //dnline = vwap - stv
    //
    ///////////////////////
    
    //upline1 = vwap + stv * 2
    //dnline1 = vwap - stv * 2
    //upline2 = vwap + stv * 3
    //dnline2 = vwap - stv * 3
    //cc = customclose
    
    Screener (close crosses under vwap as "VWA")
    
    //RETURN vwap AS "VWAP" , upline AS "upper band" , dnline AS "lower band" , cc as " customclose " , upline1 AS "upper band 1" , dnline1 AS "lower band 1" , upline2 AS "upper band 2" , dnline2 AS "lower band 2"

    Appreciate any help on this scan.

    Thanks

    Tony

    #83470 quote
    VonasiVonasi
    Moderator
    Master

    Please use the ‘Insert PRT Code’ button when posting code to make it more readable for others. I have tidied up your post for you. 🙂

    #83478 quote
    TRezinTRezin
    Participant
    Junior

    Hello,

    Thanks for the information and will do that next time.

    Tony

    #83479 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Try replacing lines 19-20 with:

    Result = close crosses under vwap
    Screener[Result](Result as "VWA")
    #83486 quote
    TRezinTRezin
    Participant
    Junior

    Hi, Will give it a try and see.

    Thanks for you help

    Tony

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Price Cross VWAP Intraday


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
TRezin @trezin Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by TRezinTRezin
7 years, 11 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 10/24/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...