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)

4 / 5 (Votes 5)

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.


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));


1. chatpurpose

Reasonably good one. Good work. You are very near to a good logic. You may draw two lines like MACD where the crossover can be taken as buy signal though you gave two horizontal lines on top and bottom, the cross over will be perfect.

Leave Comment

Please login here to leave a comment.