Trend Intensity Indicator
Forums › ProRealTime English forum › ProScreener support › Trend Intensity Indicator
- This topic has 49 replies, 3 voices, and was last updated 3 years ago by bertrandpinoy.
-
-
05/30/2021 at 7:05 AM #170760
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]05/30/2021 at 7:13 AM #170761It’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]05/30/2021 at 9:28 AM #170768You did not write the way I did, there must be parentheses before AND after VOLUME.
You dropped both.
05/30/2021 at 1:49 PM #170791It’s working perfect now. Thank you so much.
I am trying to create Anticipation Bearish Scan with following condition – c>c1 and o>c1 and c
1.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]05/30/2021 at 2:14 PM #170795You 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).
05/31/2021 at 7:09 AM #170833Thanks 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]06/01/2021 at 8:34 AM #170876How could I add following condition –
Price % change Today between 1 to -1%06/01/2021 at 9:24 AM #170886I assume you mean today compared to yesterday:
12Timeframe(Daily)Difference = close / close[1] //Difference is the %06/01/2021 at 10:00 AM #170890It 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%06/01/2021 at 10:16 AM #170894Compare DIFFERENCE with that percentages.
06/01/2021 at 12:48 PM #170906I 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]06/01/2021 at 2:03 PM #170911I 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.
06/03/2021 at 3:57 AM #171026that’s fine. you have helped me so much. Thank you.
06/05/2021 at 8:45 AM #171180The following formula identify the today’s range:
MyRange = Range
Calcul = (MyRange / MyRange[1] – 1) * 100How can I enhance this “Range” function to check if Price % change Today between 1 to -1%, select only those records?
Thanks for your help
06/05/2021 at 10:15 AM #171189There you go:
1234MyRange = Rangec1 = close >= (close[1] * 0.99)c2 = close <= (close[1] * 1.01)Calcul = (MyRange / MyRange[1] – 1) * 100then add C1 AND C2 to your current conditions.
-
AuthorPosts
Find exclusive trading pro-tools on