Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Kaufman adaptive moving average binary wave

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kaufman adaptive moving average binary wave

    My trading is at least half based on KAUFMAN ADAPTIVE MOVING AVERAGE BINARY WAVE. NT has KAMA as a standard indicator, but not KAMA BINARY WAVE.

    I am looking into migrating to NT, but I am not a programmer. Has anyone written AMA BINARY WAVE for NT or can anyone help me with it?

    I will appreciate the help.

    If you like, you can email me at [email protected]

    Thanks

    #2
    metastock code for KAMA BINARY WAVE

    It may be easier for the experienced users or NT support personnel to help me after reviewing the Metastock code. AMA in Metastock is KAMA in NT.

    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(Cum(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}))
    Last edited by eventrader; 05-02-2010, 08:55 AM.

    Comment


      #3
      Hello,

      I replied via email....

      ben

      Comment


        #4
        eventrader, while we unfortunately could custom code this out for you, it should be straightforward to construct, the AMA is already available, you just need to implement the filter part (which is just the standard deviation of the 1 bar KAMA momentum).

        For an intro into NinjaScript indicator coding, please refer to our tutorials in the helpguide -

        Comment


          #5
          AMA Binary Wave

          Thanks Bertrand, I have just sent you an email. I am looking forward to your response.

          Comment


            #6
            can you specify the benefit or diff bet Binary wave or usual KAMA.
            Thks

            Comment


              #7
              I would like to understand the benefit also. Thanks.

              Comment


                #8
                KAMA Binary Wave Indicator?

                Has anyone eventually coded this KAMA Binary Wave indicator for Ninja? I would be interested in trying it. Thanks!

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                589 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                342 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                103 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                555 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                552 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X