Please help: converting from TC2000

Forums ProRealTime English forum ProScreener support Please help: converting from TC2000

Viewing 7 posts - 1 through 7 (of 7 total)
  • #179281

    I’m trying to convert the following code from TC2000 to ProRealTime but my attempt gives completely different results – any assistance will be appreciated

    TC2000

    c/c1>=1.02 and v>v1 and v>=50000 and c1/c2<=1.05 and c>=5 and (c-l)/(h-l)>=.90

    My attempt

    indicator2 = Volume
    c2 = (indicator2 >= 50)

    c3 = (close >= 5)

    indicator5=close
    indicator6=close[1]
    c5=(indicator5/indicator6)>=1.02

    c11=close-low
    c12=high-low
    c13=c11/c12
    c14=c13>=0.9

    indicatorv1=volume
    cv1=(indicatorv1>indicatorv1[1])

    closing1=close[1]
    closing2=close[2]
    closing3=closing1/closing2
    closing4=closing3<=1.05

    SCREENER[c5 AND c2 AND c3 AND c14 and closing4 and cv1] (Volume AS “Volume”)

    #179283

    This is the correct conversion:

     

    #179300

    Thank you

    #179833

    A follow up question – if I am using this screener on say the 5 minute, the screener compares the current 5 minute bar to the previous 5 minute bar. To compare the 5 minute bar to the last closing day, do I use dclose?

    Also, how do i compare the cumulative volume for the current day to the last closing day’s volume?

    #179835

    Yes, Dclose(1) is the correct keyword.

     

     

    #179837

    thanks

     

    how do i compare the cumulative volume for the current day to the last closing day’s volume e.g cumulative volume today > 100,000 and greater than yesterday’s volume?

    #179842

    You need to use the Daily TIMEFRAME:

Viewing 7 posts - 1 through 7 (of 7 total)

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