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

Swing chart for Amibroker (AFL)
richarddu
almost 14 years ago
Amibroker (AFL)

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

Formula name: 30 Week Hi Indicator – Calculate
Author/Uploader: Geoff Mulhall

Similar Indicators / Formulas

Percentage Stocks above 200 MA for Amibroker
Submitted by zebina over 14 years ago
30 week high indicator
Submitted by ck1250 almost 13 years ago
Number of stocks above/under MA(9)
Submitted by rongreu about 14 years ago
Pentuple Exponential Moving Average
Submitted by extremist almost 12 years ago
Williams Alligator System
Submitted by durgesh1712 about 13 years ago
XTL - AG -4 AmiB
Submitted by ajmal017 about 13 years ago

Indicator / Formula

Copy & Paste Friendly
/* Calculate indices of new 30 week high's vs new 30 week lows */
/* Set the filter so as to scan a given market */
/* Set Period to Weekly */
/* The new indexes will be found in Group 253 */

H1 = Close > Ref(HHV(Close,30),-1);
H2 = High > Ref(HHV(High,30),-1);

L1 = Close < Ref(LLV(Close,30),-1);
L2 = Low < Ref(LLV(Low,30),-1);

H_L_Array1 = H1 - L1;
H_L_Array2 = H2 - L2;

// Do not generate signals

Buy = 0; 
Filter = 0;

AddToComposite( H_L_Array1, "~Idx30Wk_Close_HL", "X", 19);
AddToComposite( H_L_Array2, "~Idx30Wk_Abs_HL", "X", 19);

0 comments

Leave Comment

Please login here to leave a comment.

Back