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

demark overbought and oversold indicator for Amibroker (AFL)
about 14 years ago
Amibroker (AFL)

4 / 5 (Votes 6)
oscillator, trading system, amibroker, exploration

It is better to identification OB/Os condition than RSI .

The DeMarker indicator is an attempt to overcome the shortcomings of classical overbought / oversold indicators. The DeMarker Indicator identifies potential price bottoms and tops. It accomplishes this by making price comparisons from one bar to the next and measuring the level of price demand. DeMarker should be interpreted as other overbought / oversold indicators such as RSI with the levels of 30 and 70. Compared to RSI it is smoother but still able to detect tops and bottoms a little bit better.

Author: Tj

Similar Indicators / Formulas

Submitted by paragcpatil over 13 years ago
Cole by Marek Chlopek
Submitted by mamunbaf9117 over 13 years ago
Graphic modify Bull & Bear Volume
Submitted by bobylam over 13 years ago
Weissman RSI & MA System
Submitted by jarjis_sk over 14 years ago
Graphic modify Gator of Bill William
Submitted by bobylam over 13 years ago
Submitted by jaipal7786 about 11 years ago

Indicator / Formula

Copy & Paste Friendly


highm = IIf( H > Ref( H, -1 ), H - Ref( H, - 1), 0 );
lowm = IIf( L < Ref( L, -1 ), Ref( L, - 1 ) - L, 0 );

DeMarker = 100 *  Sum( highm, 13 )/( Sum( lowm, 13 ) + Sum( highm, 13 ) );

Graph0 = DeMarker;


Buy = DeMarker<20; Sell = DeMarker>80; 

buyshape = Buy * shapeUpArrow; SellShape = Sell * shapeDownArrow;
PlotShapes(BuyShape, colorGreen, 0); PlotShapes(SellShape, colorRed, 0);

Filter=Buy OR Sell;
AddColumn( Buy, "Buy", 1);
AddColumn(Sell, "Sell", 1);

Title=EncodeColor( colorDarkTeal ) + " - {{INTERVAL}} {{DATE}}: "+">>>>"+Name()  +">>>>"+ "  DeMark =="+ EncodeColor( colorGreen )+WriteVal(( Graph0 )); 

ToolTip=StrFormat("Open: %g\nHigh:  %g\nLow:   %g\nClose:  %g (%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1 )));
SetChartBkColor(ParamColor("Outer panel color ",colorWhite)); // color of outer border 
SetChartBkGradientFill( ParamColor("Inner panel color upper half",colorPink),ParamColor("Inner panel color lower half",colorCustom1)); // color of inner panel



1. nareshpriya

good one :)

2. khatera


Leave Comment

Please login here to leave a comment.