Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

Has anyone got the AFL for Amibroker for Mike's Wabe trend Indicator.See details about indicator here

 

http://amibrokerfan.com/index.php?option=com_smf&Itemid=28&topic=744.0

  • 1 year later...
Posted

Kindly check this formula.

 

 

 

_SECTION_BEGIN("WaveTrend");

 

GraphXSpace = 8;

 

OBline = Param("Over Bought Line",60,0,100,1);

OSline = Param("Over Sold Line",-60,-100,0,1);

 

Color1 = ParamColor("OverBought Color", colorPink);

Color2 = ParamColor("OverSold Color",colorPink);

 

WAVETRIGGER = Param("WaveTrend Trigger",-50,-80,-10,1);

 

WaveTrend = MyEric();

WaveTrend2 = MA(WaveTrend,4);

 

myColor =

IIf (WaveTrend > WaveTrend2, ParamColor("Wavetrend color", ColorRGB(132,119,247)),

IIf (WaveTrend2 > WaveTrend, colorRed ,colorLightYellow));

 

Plot(WaveTrend,"WaveTrend ",myColor,styleDots | styleThick);

 

//Plot(WaveTrend2,"WaveTrend2",colorLightYellow,styleDashed);

Plot(WaveTrend2,"WaveTrend2",ParamColor("Signal Line color", colorPaleBlue),styleDots);

 

//Plot(OBline,"OverBought Line",Color1,8+16);

Plot(OBline,"OverBought Line",Color1,styleDashed);

//Plot(OSline,"OverSold Line",Color2,8+16);

Plot(OSline,"OverSold Line",Color2,styleDashed);

 

Buy = Cross(WaveTrend,WaveTrend2);

Sell = Cross(WaveTrend2,WaveTrend);

 

PlotShapes(IIf(Buy AND WaveTrend<WAVETRIGGER,shapeCircle,shapeNone),colorBrightGreen,0,Graph0,0);

PlotShapes(IIf(Buy AND WaveTrend > -50 AND WaveTrend <-38,shapeHollowCircle,shapeNone),colorBrightGreen,0,Graph0,-1);

 

PlotShapes(IIf(Sell AND WaveTrend>53,shapeCircle,shapeNone),colorYellow,0,Graph1,0);

 

_SECTION_END();

 

Thank you :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...