The Pollan Screener is a tool designed to quickly identify buy and sell opportunities across multiple financial assets, based on the signals generated by the Pollan Indicator. This screener helps detect key moments when the market may be in overbought or oversold conditions, providing signals that assist traders in making informed entry and exit decisions.
For a complete explanation of how the Pollan Indicator works, you can refer to the detailed article here.
The screener is configured with the following parameters, which can be adjusted according to the trader’s preferences:
The screener operates as follows:
Diff1 difference crosses above Diff2.Diff1 crosses below Diff2.showarrows, the screener will show arrows on the chart that indicate possible entry and exit points.This screener facilitates the analysis of multiple assets simultaneously, allowing the trader to detect opportunities in a list of values that meet the set buy or sell conditions.
Below is the complete code for the Pollan Screener, ready for use:
//---------------------------------------------------------------//
//PRC_Pollan Indicator SCREENER
//version = 0
//08.11.24
//Iván González @ www.prorealcode.com
//Sharing ProRealTime knowledge
//---------------------------------------------------------------//
//-----Inputs----------------------------------------------------//
CCIper = 14
RSIper = 14
MaPeriod = 2
koef = 8
showarrows = 1
//---------------------------------------------------------------//
//-----Components Calculation------------------------------------//
i=8
//---Diff. CCI-RSI
a=cci[CCIper](typicalprice)[i]-rsi[rsiper](typicalprice)[i]
a1=cci[CCIper](typicalprice)[i-1]-rsi[rsiper](typicalprice)[i+1]
a2=cci[CCIper](typicalprice)[i-2]-rsi[rsiper](typicalprice)[i+2]
a3=cci[CCIper](typicalprice)[i-3]-rsi[rsiper](typicalprice)[i+3]
a4=cci[CCIper](typicalprice)[i-4]-rsi[rsiper](typicalprice)[i+4]
a5=cci[CCIper](typicalprice)[i-5]-rsi[rsiper](typicalprice)[i+5]
a6=cci[CCIper](typicalprice)[i-6]-rsi[rsiper](typicalprice)[i+6]
a7=cci[CCIper](typicalprice)[i-7]-rsi[rsiper](typicalprice)[i+7]
a8=cci[CCIper](typicalprice)[i-8]-rsi[rsiper](typicalprice)[i+8]
//---Diff. RSI-CCI
b=rsi[rsiper](typicalprice)[i]-cci[CCIper](typicalprice)[i]
b1=rsi[rsiper](typicalprice)[i-1]-cci[CCIper](typicalprice)[i+1]
b2=rsi[rsiper](typicalprice)[i-2]-cci[CCIper](typicalprice)[i+2]
b3=rsi[rsiper](typicalprice)[i-3]-cci[CCIper](typicalprice)[i+3]
b4=rsi[rsiper](typicalprice)[i-4]-cci[CCIper](typicalprice)[i+4]
b5=rsi[rsiper](typicalprice)[i-5]-cci[CCIper](typicalprice)[i+5]
b6=rsi[rsiper](typicalprice)[i-6]-cci[CCIper](typicalprice)[i+6]
b7=rsi[rsiper](typicalprice)[i-7]-cci[CCIper](typicalprice)[i+7]
b8=rsi[rsiper](typicalprice)[i-8]-cci[CCIper](typicalprice)[i+8]
//---------------------------------------------------------------//
//-----Switch Koef-----------------------------------------------//
if koef >=8 then
tt1max = a+a1+a2+a3+a4+a5+a6+a7+a8
tt2min = b+b1+b2+b3+b4+b5+b6+b7+b8
elsif koef = 7 then
tt1max = a+a1+a2+a3+a4+a5+a6+a7
tt2min = b+b1+b2+b3+b4+b5+b6+b7
elsif koef = 6 then
tt1max = a+a1+a2+a3+a4+a5+a6
tt2min = b+b1+b2+b3+b4+b5+b6
elsif koef = 5 then
tt1max = a+a1+a2+a3+a4+a5
tt2min = b+b1+b2+b3+b4+b5
elsif koef = 4 then
tt1max = a+a1+a2+a3+a4
tt2min = b+b1+b2+b3+b4
elsif koef = 3 then
tt1max = a+a1+a2+a3
tt2min = b+b1+b2+b3
elsif koef = 2 then
tt1max = a+a1+a2
tt2min = b+b1+b2
elsif koef = 1 then
tt1max = a+a1
tt2min = b+b1
elsif koef = 0 then
tt1max = a
tt2min = b
endif
//---------------------------------------------------------------//
//---------------------------------------------------------------//
Diff1 = average[maperiod](tt1max)
Diff2 = average[maperiod](tt2min)
//---------------------------------------------------------------//
//---------------------------------------------------------------//
if showarrows then
if Diff1 >= Diff2 and Diff1[1] < Diff2[1] then
arrowUp=1
arrowDw=0
elsif Diff1 <= Diff2 and Diff1[1] > Diff2[1] then
arrowDw=1
arrowuP=0
else
arrowUp=0
arrowDw=0
endif
endif
//---------------------------------------------------------------//
screener[arrowUp or arrowDw](arrowUP as "Long",arrowDw as "Short")
Both signals can serve as a starting point for further analysis and are recommended for traders who want to use this screener in combination with other technical analysis tools.
The Pollan Screener is an effective tool for identifying potential buy and sell opportunities in the market. Based on the Pollan Indicator, it enables quick analysis across multiple assets. Don’t forget to check out the complete article on the Pollan Indicator here for more details on its functionality and advanced settings.