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

Demand Indicator for Amibroker (AFL)
nl100
almost 15 years ago
Amibroker (AFL)

Rating:
2 / 5 (Votes 3)
Tags:
oscillator, amibroker

Demand supply indicator

Screenshots

Similar Indicators / Formulas

3 Days Track
Submitted by janet0211 over 15 years ago
Trading Volume Statistic
Submitted by tuanstock1 about 11 years ago
Ergodic Oscillator
Submitted by dljtrader almost 15 years ago
BoH Risk Aversion Indicator
Submitted by genkumag over 13 years ago
Chande Momentum Oscillator
Submitted by klimpek almost 15 years ago
%R ++
Submitted by reb over 15 years ago

Indicator / Formula

Copy & Paste Friendly
arg = ParamList("Weighted Close", "Close|Avg|WtClose|Median", 2);
Const = Param("Constant", 10, .50, 10.5, 0.01);
periods = Param("periods", 100, 10, 40, 1);
Lb = Param("lb", 4, 2, 10, 1);
if(arg == "Close") WtClose = C;
if(arg == "Avg")	WtClose = Avg;
if(arg == "WtClose") WtClose = (H + L + C + C)/4;
if(arg == "Median") 	WtClose = (H + L)/2;
AvgTr = MA(HHV(H, Lb) - LLV(L, Lb), periods);
WtCratio = (WtClose - Ref(WtClose, -1))/Min(WtClose, Ref(WtClose, -1));
VolRatio = Volume/MA(Volume, periods);
Constant = ((WtClose * 3)/AvgTr) * abs(WtCRatio);
Constant = IIf(Constant > Const, Const, Constant);
Constant = VolRatio /exp(Constant);
BuyP = IIf(WtCRatio > 0, VolRatio, Constant);
SellP = IIf(WtCRatio > 0, Constant, VolRatio);
BuyPressure = EMA(BuyP, periods);
SellPressure = EMA(SellP, periods);
tmpDI = IIf(SellPressure > BuyPressure, -BuyPressure/SellPressure,
SellPressure/BuyPressure);
DMI = IIf(tmpDi < 0, -1 - tmpDI, 1 - tmpDI)*100;

Plot(dmi, "demand index", colorBlue, styleLine);

0 comments

Leave Comment

Please login here to leave a comment.

Back