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

Psychological index for Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:
amibroker

A sentiment indicator that help to determine market bottoms as well as short term swings. It works by calculating the percentage of up days over the look back period.

Screenshots

Indicator / Formula

Copy & Paste Friendly

Psychological index

_SECTION_BEGIN("Hungkisvn_EOD PsychIndex");
LookBack= Param("Number of lookback periods",12, 2, 100);
UThreshold= Param("Upper threshold (%)",75, 0, 100);
LThreshold= Param("Lower threshold (%)", 25,0, 100);
UpDay= Close > Ref(Close,-1);
PsychIndex= 100*Sum(UpDay,LookBack) / LookBack;
Plot(PsychIndex,_DEFAULT_NAME(),ParamColor("Color",colorRed), ParamStyle("Style",styleLine));
Plot(UThreshold,"75",colorBlack,styleDashed|styleNoTitle); 
Plot(LThreshold,"25",colorBlack,styleDashed|styleNoTitle);
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back