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

Percentage Stocks above 200 MA for Amibroker for Amibroker (AFL)
about 14 years ago
Amibroker (AFL)

5 / 5 (Votes 1)
amibroker, composite

Run composite over your selected index etc, then paste the code into indicator builder to plot the results. Update daily etc.

Modify to other MA intervals as required.

Similar Indicators / Formulas

Swing chart
Submitted by richarddu about 13 years ago
Number of stocks above/under MA(9)
Submitted by rongreu over 13 years ago
30 week high indicator
Submitted by ck1250 over 12 years ago
Pentuple Exponential Moving Average
Submitted by extremist over 11 years ago
Williams Alligator System
Submitted by durgesh1712 over 12 years ago
XTL - AG -4 AmiB
Submitted by ajmal017 over 12 years ago

Indicator / Formula

Copy & Paste Friendly
/// Percentage Stocks above 200 MA

Above200Day = C >= MA(C,200);

Buy = 0; AddToComposite(Above200Day, "~200DayMA%", "V" );

/* add one to open interest field (we use this field as a counter) */
AddToComposite( 1, "~200DayMA%", "I" );

PercentageRising200 = Foreign("~200DayMA%", "V") / Foreign("~200DayMA%", "I") *100;

Plot(PercentageRising200,"Pct. of stocks above 200 Day MA", IIf( PercentageRising200 > (MA(PercentageRising200,10)), colorBrightGreen, colorRed),styleThick);

Plot(80,"", colorRed,styleThick);
Plot(30,"", colorBrightGreen,styleThick);
Plot(10,"", colorBrightGreen,styleThick);


Leave Comment

Please login here to leave a comment.