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

DiNapolis Displaced Moving Averages for Amibroker (AFL)
ricky
about 8 years ago
Amibroker (AFL)

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

The DiNapoli Displaced Moving Averages
Based on “Joe DiNapoli – The Practical Application of Fibonacci Analysis to Investment Markets”

Similar Indicators / Formulas

Kavach Of Karna v2
Submitted by hbkwarez over 5 years ago
Advanced Elliott Waves
Submitted by MarcosEn almost 8 years ago
3_6Day GuaiLiLv
Submitted by motorfly almost 8 years ago
Williams Alligator System
Submitted by durgesh1712 almost 8 years ago
Interactive Linear Regression Channel
Submitted by InternetWorm almost 8 years ago
*Level Breakout system*
Submitted by Tinych almost 8 years ago

Indicator / Formula

Copy & Paste Friendly
/***************************************************************************************************
    The DiNapoli 3 x Displaced Moving Averages
    Based on "Joe DiNapoli - The Practical Application of Fibonacci Analysis to
Investment Markets"

     * DMA  3 x 3 - The 3 period simple moving average of close, displaced
forward 3 periods
                    for the short term and is extremely useful in thrusting
markets.

     * DMA  7 x 5 - The 7 period simple moving average of close, displaced
forward 5 periods
                    longer-based DMA that many have found useful in equity
market analysis

     - DMA 25 x 5 - The 25 period simple moving average of close, displaced
forward 5 periods
                    longer term DMA

    Created By TohMz

*************************************************************************************************/


_SECTION_BEGIN("DMA3x3");
Periods = 3;
Displace = 3;
Plot( MA( C, Periods), _DEFAULT_NAME(), ParamColor( "Color", colorRed ),
ParamStyle("Style", styleLine, maskDefault|styleDots), Null, Null, Displace ); 
_SECTION_END();

_SECTION_BEGIN("DMA7x5");
P = C;
Periods = 7;
Displace = 5;
Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorBlue ),
ParamStyle("Style", styleDashed, maskDefault|styleDots), Null, Null, Displace );

_SECTION_END();

_SECTION_BEGIN("DMA25x5");
P = C;
Periods = 25;
Displace = 5;
Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorGreen ),
ParamStyle("Style", styleDashed, maskDefault|styleDots), Null, Null, Displace );


_SECTION_END();

//*** Remove below portion, so that you can attach to any price chart ***  

_N(Title = StrFormat("{{NAME}}- {{INTERVAL}} {{DATE}} O= %g, H= %g, L= %g, C=
%g (%.1f%%) V= " +WriteVal( V, 1.0 ) +"\n{{VALUES}}", O, H, L, C, SelectedValue(
ROC( C, 1 )) ));
PriceStyle = GetPriceStyle();
PriceStyleOpt = ParamStyle("Style") | PriceStyle;

if (PriceStyle==styleCandle)
   Plot( C, "", colorBlack,  PriceStyleOpt); 
else
   Plot( C, "", IIf( Close >= Ref(C, -1), colorBlue, colorRed ),
PriceStyleOpt);

0 comments

Leave Comment

Please login here to leave a comment.

Back