Skip to main content

Beyond good and evil for Amibroker (AFL)

shariful over 12 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 4)
  • Tags:
    oscillator, amibroker

Can be used interestingly.At the top when weakness creeping in and at the low when strength coming in as well as can be gauged, in the bottom reversal area whether reversal is full blooded or not. Red bar while reversing is not good. Its a collection and don’t know about actual author.

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Beyond Good & Evil");

function T3(price,periods)
{
    s = 0.84;
    e1=EMA(price,periods);
    e2=EMA(e1,Periods);
    e3=EMA(e2,Periods);
    e4=EMA(e3,Periods);
    e5=EMA(e4,Periods);
    e6=EMA(e5,Periods);
    c1=-s*s*s;
    c2=3*s*s+3*s*s*s;
    c3=-6*s*s-3*s-3*s*s*s;
    c4=1+3*s+s*s*s+3*s*s;
    Ti3=c1*e6+c2*e5+c3*e4+c4*e3;
    return ti3;
}

ti3 = T3(C,3);
ti5 = T3(C,5);
ti8 = t3(C,8);
y = (ti3-ti5);
z = (ti5-ti8);

x = y+z;
Plot(x, "Beyond Good & Evil", 2);
Plot(y, "The Good", colorGreen, styleArea);
Plot(z, "The Evil", colorRed, styleArea);

//GraphZOrder = 1;
_SECTION_BEGIN("Volume");
Plot(Volume, _DEFAULT_NAME(), ParamColor("Color", colorGrey50), ParamStyle( "Style", styleHistogram | styleOwnScale, maskHistogram), 2 );
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.