Stoch RSI 14 code help
Forums › ProRealTime English forum › ProScreener support › Stoch RSI 14 code help
- This topic has 25 replies, 3 voices, and was last updated 2 years ago by marco7630.
-
-
11/01/2022 at 9:04 PM #203390
Hello,
Can somebody help me to create a code for the following.
<span style=”font-weight: 400;”>Show all the assets that fits the following requirements:</span>
-
<li style=”font-weight: 400;” aria-level=”1″><span style=”font-weight: 400;”>The stoch RSI 14 needs to increase at least with 60 points on the current day and</span>
<li style=”font-weight: 400;” aria-level=”1″><span style=”font-weight: 400;”>The SMA20 (daily) needs to be in an upward trend</span>Thanks
Gr Marco
11/02/2022 at 7:48 AM #20339311/02/2022 at 4:28 PM #203423Hi,
I does not seem to work. Did i do something wrong? I made a short video https://www.loom.com/share/ef37e7fe9ee2457189190181b90c8cef
gr Marco
11/02/2022 at 5:04 PM #203424Replace line 6 with:
1SCREENER[C1 and C2]as barackets are required for conditions, while parentheses are required for criteria.
11/02/2022 at 5:08 PM #20342511/02/2022 at 7:36 PM #20344411/02/2022 at 8:12 PM #20344611/02/2022 at 8:20 PM #20344711/02/2022 at 8:36 PM #20344811/02/2022 at 9:10 PM #20345011/02/2022 at 9:19 PM #20345411/02/2022 at 9:30 PM #20345511/02/2022 at 10:05 PM #20345711/04/2022 at 2:24 PM #203524This is the formule used:
//Start Code<br aria-hidden=”true” />lengthRSI = 14 //RSI period<br aria-hidden=”true” />lengthStoch = 14 //Stochastic period<br aria-hidden=”true” />smoothK = 10 //Smooth signal of stochastic RSI<br aria-hidden=”true” />smoothD = 3 //Smooth signal of smoothed stochastic RSI<br aria-hidden=”true” /> <br aria-hidden=”true” />myRSI = RSI[lengthRSI](close)<br aria-hidden=”true” />MinRSI = lowest[lengthStoch](myrsi)<br aria-hidden=”true” />MaxRSI = highest[lengthStoch](myrsi)<br aria-hidden=”true” /> <br aria-hidden=”true” />StochRSI = ((myRSI-MinRSI) / (MaxRSI-MinRSI))*100<br aria-hidden=”true” /> <br aria-hidden=”true” />Return StochRSI<br aria-hidden=”true” />//End code
11/04/2022 at 2:30 PM #203525 -
AuthorPosts
Find exclusive trading pro-tools on