Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

rsi<30 and sort for Amibroker (AFL)

Rating:
3 / 5 (Votes 4)
Tags:
oscillator, amibroker, exploration

It will find rsi <30 and shows Internal RSI in a column and sort them by rsi in ascending order.

Similar Indicators / Formulas

EMA,MACD,RSI EXPLORATION INDICATOR
Submitted by viralmehta over 5 years ago
Williams %R Exploration
Submitted by kaiji over 9 years ago
CumRSI
Submitted by Xswingtrader about 9 years ago
Cross Prediction
Submitted by mauro24 about 9 years ago
Awesome Oscillator (AO)
Submitted by zaroldo about 9 years ago

Indicator / Formula

Copy & Paste Friendly
function BuiltInRSIEquivalent( period ) 
{ 
 P = N = 0; 

 result = Null; 

 for( i = 1; i < BarCount; i++ ) 
 { 
   diff = C[ i ] - C[ i - 1 ]; 
   W = S = 0; 
   if( diff > 0 ) W = diff; 
   if( diff < 0 ) S = -diff; 

   P = ( ( period -1 ) * P + W ) / period; 
   N = ( ( period -1 ) * N + S ) / period; 

   if( i >= period ) 
      result[ i ] = 100 * P / ( P + N ); 
 } 
 return result; 
}   

Buy=BuiltInRSIEquivalent(14)<30 ;
Filter=Buy;

AddColumn(BuiltInRSIEquivalent(14), "RSI15");
SetSortColumns(3,-2);

2 comments

1. adnan

hi iam new in forex i want to know what is AFL

2. viet

Great code! Many thanks!

Leave Comment

Please login here to leave a comment.

Back