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)
ali32b
about 10 years ago
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

Jasons Indicator Convergence Divergence (JICD)
Submitted by kaiji about 14 years ago
EMA,MACD,RSI EXPLORATION INDICATOR
Submitted by viralmehta about 10 years ago
Williams %R Exploration
Submitted by kaiji about 14 years ago
CumRSI
Submitted by Xswingtrader almost 14 years ago
Cross Prediction
Submitted by mauro24 almost 14 years ago
Awesome Oscillator (AO)
Submitted by zaroldo almost 14 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