Jump to content

(Req) KAMA/AMA Binary Wave indicator


Recommended Posts

Hi Diesel,

 

found that on FF, see if it is what you're looking for.

 

 

http://www.forexfactory.com/showthread.php?p=2824011#post2824011

post#2

and

http://www.forexfactory.com/showthread.php?t=26821

post#7

 

Thanks but this is just basic KAMA. I want the KAMA Binary Wave. Here is a screenshot of what it looks like (depicted in the subgraph):

 

http://screencast.com/t/KgXyBUCyLhoa

Link to comment
Share on other sites

Here is the formula (using AMA) from Metastock. It is also available on XTick apparently. Perhaps some one can code it for Metatrader ? I have heard great things about it!

 

KAMA Binary Wave

Periods:=Input("Time Periods",1,1000,10);

Direction:=CLOSE-Ref(CLOSE,-periods);

Volatility:=Sum(Abs(ROC(CLOSE,1,$)),periods);

ER:=Abs(Direction/Volatility);

FastSC:=2/(2+1);

SlowSC:=2/(30+1);

SSC:=ER*(FastSC-SlowSC)+SlowSC;

Constant:=Pwr(SSC,2);

AMA:=If(***(1)=periods+1,Ref(CLOSE,-1) +

constant*(CLOSE-Ref(CLOSE,-1)),PREV +

constant*(CLOSE-PREV));

FilterPercent:=Input("Filter Percentage",0,100,15)/100;

Filter:=FilterPercent*Std(AMA-Ref(AMA,-1),Periods);

AMALow:=If(AMA<Ref(AMA,-1),AMA,PREV);

AMAHigh:=If(AMA>Ref(AMA,-1),AMA,PREV);

If(AMA-AMALow>Filter,1{Buy Signal},

If(AMAHigh-AMA>Filter,-1{Sell Signal},0{No_Signal}))

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...