4 Chaikin Money Flow + ADX - Amibroker AFL

| Tuesday, 12 March 2013
Combining Indicators Helps in Selecting Perfect Stocks at the Right Time


AFL for Amibroker
==============================================================
/// PROGRAMME MODIFIED BY PRASAD RAO FOR MASTER PLOTTER ///

_SECTION_BEGIN("BACK COLR");
_SECTION_BEGIN("PRASAD SYSTEMS");
Param("DEDICATED TO MY FATHER",5);
_SECTION_END();
SetChartBkColor( ParamColor("Chart Color", colorBlack));

_SECTION_BEGIN("BACKGROUD LTRS");
SetChartOptions(0,chartShowArrows|chartShowDates);
GfxSetOverlayMode(1);
GfxSetTextAlign( 6 );// center alignment
GfxSetTextColor( ParamColor("Text Color", ColorHSB( 42, 42, 42 ) ));
GfxSetBkMode(0); // transparent
GfxSelectFont("Tahoma", Status("pxheight")/12);
GfxTextOut( "HOLY GRAIL ©", Status("pxwidth")/2, Status("pxheight")/14);
GfxSelectFont("Tahoma", Status("pxheight")/9 );
GfxTextOut( Name(), Status("pxwidth")/2, Status("pxheight")/4.1 );
GfxSelectFont("arial narrow", Status("pxheight")/27 );
GfxTextOut( "Dedicated to MY FATHER : BALKRISHNA RAO", Status("pxwidth")/2, Status("pxheight")/1.15);
_SECTION_END();
MACDKOL1 = ParamColor("m1",ColorRGB(20,47,200));
MACDKOL2= ParamColor("m2",ColorRGB(128,2,250));
ADKOL = ParamColor("ADX",colorWhite);
PDXKOL = ParamColor("PDX",ColorRGB(147,255,0));
NDXKOL = ParamColor("NDX",colorRed);

_SECTION_BEGIN("ADX TEST");
range = Param("Range",14,3,60,1);
px = PDI(14);
nx = MDI(14);
ax = ADX(14);
ax = Prec(ax,2);
Line_Control = 20;
ADXSlope = ADX(range) - Ref(ADX(Range),-1); 
/// Plots
Plot(Line_Control,"",colorWhite,styleDashed|styleLeftAxisScale );
Plot(px,"+DI",PDXKOL,styleDots|styleThick| styleLeftAxisScale );
Plot(nx,"-DI",NDXKOL,styleDots|styleThick|styleLeftAxisScale );
Plot(ax,"ADX",ADKOL,styleDots|styleThick|styleLeftAxisScale );

StartBar=SelectedValue(BarIndex());
FinishBar = EndValue( BarIndex() );
i = Startbar;

CMF= Sum(((( C-L )-( H-C )) / ( H-L ))*V, 21 ) / Sum(V,21);
mycolor=IIf(CMF<0,MACDKOL2,IIf(CMF>0,MACDKOL1,ColorRGB(125,84,11)));
Plot(CMF, "MACD Histogram", mycolor, styleHistogram | styleThick| styleNoLabel, styleOwnScale);
GfxSetTextAlign( TA_left = 0);
GfxSelectFont("Tahoma", 11, 700 );
GfxSetTextColor(ColorRGB(209,191,255));
GfxTextOut("HOLY GRAIL - ADX-CMF -ADX 14",07, 0);
GfxSetTextAlign( TA_LEFT = 0 );
GfxSelectFont("Tahoma", 11, 700 );
GfxSetTextColor(ColorRGB(255,180,61));
GfxTextOut(Name()+ "   " + Date(),07,20);

Title ="";
_SECTION_END();

4 comments :

  1. super good work sir....i have never since this type of site really headsoff to u...

    ReplyDelete
  2. I'm not getting same image like you shown in the pic above.
    Is this code belongs same picture??

    ReplyDelete
  3. MR. PRASADSIR,

    FIRST OF ALL HATS OFF YOU FOR CREATING & HELPING THIS MUCH OF PEOPLE OUT HERE...

    YOU DECIDED NOT TO PROVIDE YOUR HOLY GRAIL TO PUBLIC AFTER WISESTOCKTRADER INCIDENT, BUT SIR I LOOKED EVERY POST OF YOUR BLOG WHERE PEOPLE BEGGING FOR THAT HOLY GRAIL,

    SIR I REQUEST YOU MAY NOT PUBLIC THAT AFL BUT PLEASE PLEASE DO FEVER TO PROVIDE THAT ON EMAILS...

    PEOPLE ARE BEGGING BECAUSE THEY SOMEWHERE LOOSING UP OR WIPED OUT THEIR ACCOUNTS SO MANY TIMES, I AM ONE OF THEM.

    SIR NOW ONLY YOU & YOU CAN SAVE US.....


    MAY BE WE ARE NOT DESERVE THIS THINGS, BUY SIR WE OWE YOU IF YOU HELP US, WE OWE YOU SIR....


    THE HOPE :----

    MY EMAIL ID

    shah.abhishek7271@gmail.com

    ReplyDelete

▲Top▲