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

Weinberg's The Range Indicator for Amibroker (AFL)
kaiji
almost 15 years ago
Amibroker (AFL)

Rating:
4 / 5 (Votes 2)
Tags:
amibroker, exploration

Developed by Jack Weinberg, Range indicator compares intraday range with inter-day range

Intraday range is bar’s (high – low) and inter-day range is (Close – Close-1)
Author had a strong belief that crossing of intraday range outside the inter-day range is an indication of end of current trend
It oscillates between 0 to 100 levels

Interpretation

RI crossing above level 80 is a signal to exit
RI below 20 is indication that a new trend is about to take charge
RI is useful to filter signal given by other studies

Similar Indicators / Formulas

Three Day Balance Points
Submitted by nvkha over 10 years ago
Deel - Average Dollar Price Volatility
Submitted by kaiji almost 15 years ago
DIX50,20,10
Submitted by morgen over 14 years ago
4-Day-Range Switch
Submitted by santho_sd over 14 years ago

Indicator / Formula

Copy & Paste Friendly
// This is an upgraded/fixed and improved version of the code that was originally created by Marek Chlopek

/* StochRange - first step in constructing the TRI
/* StochRange - an oscillator of the ratio of the daily true range with the intraday range
/* Value1 - Today's True Range divided by today's close minus yesterday's close unless C-Ref(C,-1) < 0 then Value1 = True Range
/* Value2 - the lowest value of Value1, over the last q days
/* Value3 - the highest value of Value1, over the last q days */

stochper = Param("Stochatic Period", 10, 1, 100);
smoothper = Param("Smooth Period", 3, 1, 100);

a = ATR(1);
Value1 = IIf(Close > Ref(Close, -1), a / ((Close - Ref(Close, -1)) + 0.00001), a);
Value2 = LLV(Value1, stochper);
Value3 = HHV(Value1, stochper);
StochRange = IIf((Value3 - Value2) > 0, 100 * (Value1 - Value2) / ((Value3 - Value2)  + 0.00001), 100 * (Value1 - Value2));

TRI = EMA(StochRange, smoothper);

Plot(TRI, _DEFAULT_NAME(), colorRed);

Filter = 1;

AddColumn(StochRange, "Stoch Range");
AddColumn(TRI, "TRI");

0 comments

Leave Comment

Please login here to leave a comment.

Back