IntradayBarIndex Screener

Forums ProRealTime English forum ProScreener support IntradayBarIndex Screener

This topic contains 0 replies, has 1 voice, and was last updated by avatar LP13 1 month, 4 weeks ago.

View all attachments
Viewing 1 post (of 1 total)
  • #49155

    Hi guys,

    i was programming a screener to compare the volume candle of todays first 5 minutes of the day and yesterdays first 5 minutes of the day. Sadly my code gives me not stocks that fulfill all criteria. I would be really happy if someone could help me and tell me what i’m doing wrong. I would like to then expand this scanner with the same thing just for 15 minute candles.

     

    IntraBarIndexToLook = 0

     

    timeframe(5 minutes)

    //The variable set to 0, just for coding purposes
    NumberOfDays = 0
    VolumeToday = 0
    VolumeOfPreviousDay = 0
    MinuteRatio = 0

    For i = 0 to 250 do
    if NumberOfDays < 2 then
    if intradaybarindex[i] = IntraBarIndexToLook
    then
    NumberOfDays = NumberOfDays + 1
    if NumberOfdays = 1 then
    VolumeToday = Volume[i]
    else
    VolumeOfPreviousDay = Volume[i]
    Endif
    Else
    Endif
    EndIf
    Next

     

    MinuteRatio = VolumeToday / VolumeOfPreviousDay

     

    SCREENER[MinuteRatio > 1] (MinuteRatio AS “MinuteRatio”)

Viewing 1 post (of 1 total)

Create your free account now and post your request to benefit from the help of the community
Register or