Trend Intensity Indicator

Viewing 15 posts - 16 through 30 (of 50 total)
  • Author
    Posts
  • #170760 quote
    Ganeshalove
    Participant
    Junior

    it’s still giving syntax error

    c1 = (100 * (Close – Close[1]) / Close[1]) >=8
    c2 = Volume >3000
    c3 = (100 * Volume / Average[100] Volume) >=300
    x = c1 and c2 and c3
    SCREENER[x]

    #170761 quote
    Ganeshalove
    Participant
    Junior

    It’s still giving error on average volume row:

    c1 = (100 * (Close – Close[1]) / Close[1]) >=8
    c2 = Volume >3000
    c3 = (100 * Volume / Average[100] Volume) >=300
    x = c1 and c2 and c3
    SCREENER[x]

    #170768 quote
    robertogozzi
    Moderator
    Master

    You did not write the way I did, there must be parentheses before AND after VOLUME.

    You dropped both.

    #170791 quote
    Ganeshalove
    Participant
    Junior

    It’s working perfect now. Thank you so much.

    I am trying to create one Anticipation Bearish Scan with following condition – c>c1 and o>c1 and c1.1 and c>1 and minv3.1>=100000 and (h-c)>2*abs(c-o) and (C-L)/(H-L)<.4. Could you please check if my code below is fine? I am getting error at following line - c4 = High = Maximum High[9] c1 = Close>Close[1]
    c2 = Open > Close[1]
    c3 = Close < High c4 = High = Maximum High[9] c5 = Close/Close[10] >1.1
    c6 = Close > 1
    c7 = Lowest[3](Volume) >= 100000
    c8 = (High-Close) >2*abs(Close-Open)
    c9 = (Close-Low)/(High-Low)<.4 x = c1 and c2 and c3 and c4 and c5 and c6 and c7 and c8 and c9 SCREENER[x]

    #170795 quote
    robertogozzi
    Moderator
    Master

    You have to study the PRT manual and read examples throughout the forum for the correct keywords.

    Errors:

    • you are combining two lines, c4 snd c1
    • as to c4, Maximum is not a valid keyword, replace it with HIGHEST as highest[9](high).
    #170833 quote
    Ganeshalove
    Participant
    Junior

    Thanks a lot. It’s working fine now:

    c1 = Close>Close[1]
    c2 = Open > Close[1]
    c3 = Close < High c4 = highest[9](high) c5 = Close/Close[10] >1.1
    c6 = Close > .50
    c7 = Lowest[3](Volume) >= 100000
    c8 = (High-Close) >2*abs(Close-Open)
    c9 = (Close-Low)/(High-Low)<.4 x = c1 and c2 and c3 and c4 and c5 and c6 and c7 and c8 and c9 SCREENER[x]

    #170876 quote
    Ganeshalove
    Participant
    Junior

    How could I add following condition –
    Price % change Today between 1 to -1%

    #170886 quote
    robertogozzi
    Moderator
    Master

    I assume you mean today compared to yesterday:

    Timeframe(Daily)
    Difference = close / close[1]  //Difference is the %
    #170890 quote
    Ganeshalove
    Participant
    Junior

    It may be compared to yesterday or past average 7/65 >= 1.05 days as per complete requirement. Here is the complete scan criteria:

    c1 = average[7]/average[65] >=1.05
    c2 = Lowest[3](Volume) >= 100000
    Price % change Today between 1 to -1%

    #170894 quote
    robertogozzi
    Moderator
    Master

    Compare DIFFERENCE with that percentages.

    #170906 quote
    Ganeshalove
    Participant
    Junior

    I have used the following code and it’s working fine. thanks.

    c1 = average[7]/average[65] >=1.05
    c2 = Lowest[3](Volume) >= 100000
    Timeframe(Daily)
    Difference = 1 > -0.01
    c3 = close > .50
    x = c1 and c2 and c3 and Difference
    SCREENER[x]

    #170911 quote
    robertogozzi
    Moderator
    Master

    I did not use DIFFERENCE in that way, comparing if 1 is greater than -0.01 will always be TRUE no matter what.

    It seems you need to get some more kniowledge about programming in general, which is impossible to do post by post.

    I can help you only on specific trading questions related to strategies, screeners and indicators.

    Learning why and how to use conditional constructs, iterations, relational operators and parentheses is beyond our scope, sorry.

    #171026 quote
    Ganeshalove
    Participant
    Junior

    that’s fine. you have helped me so much. Thank you.

    #171180 quote
    Ganeshalove
    Participant
    Junior

    The following formula identify the today’s range:
    MyRange = Range
    Calcul = (MyRange / MyRange[1] – 1) * 100

    How can I enhance this “Range” function to check if Price % change Today between 1 to -1%, select only those records?

    Thanks for your help

    #171189 quote
    robertogozzi
    Moderator
    Master

    There you go:

    MyRange = Range
    c1      = close >= (close[1] * 0.99)
    c2      = close <= (close[1] * 1.01)
    Calcul  = (MyRange / MyRange[1] – 1) * 100

    then add C1 AND C2 to your current conditions.

Viewing 15 posts - 16 through 30 (of 50 total)
  • You must be logged in to reply to this topic.

Trend Intensity Indicator


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 49 replies,
has 3 voices, and was last updated by bertrandpinoy
4 years, 8 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 05/26/2021
Status: Active
Attachments: No files
Logo Logo
Loading...