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

QQE for Amibroker (AFL)
Albert
over 14 years ago
Amibroker (AFL)

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

Quantative Qualitative Estimation

Screenshots

Similar Indicators / Formulas

Rahul Mohindar Oscillator (RMO)
Submitted by kaiji almost 15 years ago
Price Oscillator
Submitted by ariful_islam about 14 years ago
1 hour stoch
Submitted by siddhisagar about 14 years ago
Simple Chaikin Buy Sell
Submitted by jachyuen about 13 years ago
Nj demand and supply
Submitted by njethva about 12 years ago
Heikin-Ashi Candles Oscillator for Long term
Submitted by NTA almost 12 years ago

Indicator / Formula

Copy & Paste Friendly
// QQE (Quantative Qualitative Estimation)

QQE_Periods    = Param("Period", 14, 3, 30, 1 );
QQE_SF         = Param("Smoothing factor", 5, 1, 30, 1 );

QQE_RSI_MA     = EMA(RSI(QQE_Periods),QQE_SF);  
QQE_ATR_RSI    = abs(Ref(QQE_RSI_MA,-1)-QQE_RSI_MA);
QQE_MA_ATR_RSI = EMA(QQE_ATR_RSI, 2*QQE_Periods-1);
QQE_DAR        = EMA(QQE_MA_ATR_RSI, 2*QQE_Periods-1)*4.236;
QQE_DAR_Fast   = EMA(QQE_MA_ATR_RSI, 2*QQE_Periods-1)*2.618;


function QQE_TR(RSIMA, DARFACTOR) 
{ 
    result[ 0 ] = 0; 

    for( i = 1; i < BarCount; i++ ) 
    { 

       if (RSIMA[i] < result[i-1]) 
       { 
       
           result[i]=RSIMA[i]+DARFACTOR[i];

           if ((RSIMA[i-1] < result[i-1]) AND (result[i] > result[i-1]))
              { 
              result[i] = result[i-1]; 
              } 
       } 
       else 
       { 

           if (RSIMA[i] > result[i-1]) 
              { 

              result[i]=RSIMA[i]-DARFACTOR[i];

              if ((RSIMA[i-1] > result[i-1]) AND (result[i] < result[i-1]))
                 { 
                 result[i] = result[i-1]; 
                 } 

              } 

       } 

    } 

   return result; 
}


QQE_FastSignal = QQE_TR(QQE_RSI_MA,QQE_DAR_Fast);
QQE_SlowSignal = QQE_TR(QQE_RSI_MA,QQE_DAR);

Plot(QQE_RSI_MA,"QQE"+ _PARAM_VALUES(),ParamColor("QQE color", colorRed ), ParamStyle("QQE style",styleThick));
Plot(QQE_FastSignal, "FastSignal", ParamColor("FastSignal color", colorOrange ), ParamStyle("FastSignal style",styleDashed) );
Plot(QQE_SlowSignal, "SlowSignal", ParamColor("SlowSignal color", colorBlue ), ParamStyle("SlowSignal style",styleDashed) );

Buy = Cross(QQE_RSI_MA, QQE_SlowSignal);
Sell = Cross(QQE_SlowSignal, QQE_RSI_MA);
Short=Sell;
Cover=Buy;

shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, QQE_RSI_MA );

1 comments

1. liquidice

A very nice indicator, thank you Albert, God Bless.

Leave Comment

Please login here to leave a comment.

Back