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 ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
StockRsi for Amibroker (AFL)
Copy & Paste Friendly
Back
_SECTION_BEGIN("STOCHRSI");
// REM RSI indicator
rise=Max(0,Close-Ref(Close,-1));
fall=Max(0,Ref(Close,-1)-Close);
mmrise=Wilders(rise,21);
mmfall=Wilders(fall,21);
RS=mmrise/mmfall;
mioRSI=100-100/(1+RS);
// REM Stocastic indicator
upper=HHV(High,21);
lower=LLV(Low,21);
oscillator=(Close-lower)/(upper-lower)*100;
lineaK=MA(oscillator, 21);
// REM StochRSI
stkrsi=((mioRSI*lineaK)/100)*1.43;
// return oscilla AS "StochRSI"
Plot(stkrsi,"StochRSI",colorBlue,styleLine);
_SECTION_END();