Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MQL to NinjaScript translation request: StepMA 7.1

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

  • George1455
    replied
    stepMA indicator

    Originally posted by Elliott Wave View Post
    This is a really amazing and unique moving average created by Igorad from the Trend Laboratory and Forex-TSD forums.

    I find it extremely useful because it has very low lag when the market is trending but is 100% flat when the market is ranging. I like it even better than the JurikJMA.

    Here is the code if anyone is able to translate it. I'm sure many people would find it useful...

    Would you like please tell me (if you know, of course) where can I find/purchase the stemMA indicator v.7.1 (or any of it's newest versions) for my NinjaTrader (NT7) platform, and ready to be used in an automated strategy ? I wonder if there are still problems in it's code (for NT7). I would much appreciate if you - or anybody else - can answer this question. Thank you.

    Leave a comment:


  • ninjamouse
    replied
    does anyone have a strategy based on this?

    Thanks

    Leave a comment:


  • NinjaTrader_Ben
    replied
    Hello,

    Due to time constraints and other commitments I will be unable to complete your translation for you as a training tool. Sorry for any inconvenience. I recommend consulting one of our NinjaScript consultants here:
    http://www.ninjatrader.com/webnew/partners_onlinetrading_NinjaScript.htm

    Leave a comment:


  • NinjaTrader_Ben
    replied
    Hello,

    Thanks! I will work on this as a training tool, time permitting.

    Leave a comment:


  • pashalv
    replied
    Originally posted by NinjaTrader_Ben View Post
    Hello,

    That would be very helpful! Once you post the Russian translation I'll give it a try as a internal training tools. I'm a NinjaScript expert in training!
    Done! (text file attached).
    Hope i didn't missed anything.
    Attached Files

    Leave a comment:


  • NinjaTrader_Ben
    replied
    Hello,

    That would be very helpful! Once you post the Russian translation I'll give it a try as a internal training tools. I'm a NinjaScript expert in training!

    Leave a comment:


  • pashalv
    replied
    StepMA_Stoch_NK

    Originally posted by NinjaTrader_Ben View Post
    Hello,

    I am just looking at the code now.

    Do you have a version of this indicator that has readable notes in it? These are the notes:

    //+---+ +------------------------+


    With proper notes it will be much easier and quicker to translate for you.
    Hi!
    This indicator was created by russian guy, all notes was made in russian. I've tried to find english version, but seems that doesn't exist. I'll translate all russian notes for you.

    Leave a comment:


  • NinjaTrader_Ben
    replied
    Hello,

    I am just looking at the code now.

    Do you have a version of this indicator that has readable notes in it? These are the notes:

    //+---+ +------------------------+


    With proper notes it will be much easier and quicker to translate for you.

    Leave a comment:


  • NinjaTrader_Ben
    replied
    Hello,

    I will take a look at this one and translate it, time permitting.

    Leave a comment:


  • pashalv
    replied
    StepMA_Stoch_NK indicator request

    Hi !
    Could somebody transform this indicator from MQL4 to Ninja language please? Original .mql4 file posted here: http://codebase.mql4.com/download/8670
    Attached Files

    Leave a comment:


  • mrlogik
    replied
    that is true. It has to in order to connect the different colored lines

    Leave a comment:


  • scjohn
    replied
    Warning. As currently coded, this indicator will repaint the previous bar. I have seen several instances, on a 1-minute chart of the TF, where a red line will be repainted as blue.

    Leave a comment:


  • mrlogik
    replied
    NT does not require an output plot to be set on every bar.

    This line is not needed for NT at all.

    I made a few small updates thanks to whitegun. The file from my original post has been updated.

    Leave a comment:


  • scjohn
    replied
    Originally posted by Elliott Wave View Post
    Code:
         else{    
             UpBuffer[shift]=EMPTY_VALUE; DnBuffer[shift]=EMPTY_VALUE;
             }
    I'm not sure but I don't think this is needed in NinjaTrader. When I tried to convert a few indicators in the past from MQL, I remember there were a number of things that had no parallel in C#,
    I think the closest in NinjaScript would be the Reset() method which is part of the DataSeries Class.

    Leave a comment:


  • mrlogik
    replied
    Originally posted by Elliott Wave View Post
    Code:
         else{    
             UpBuffer[shift]=EMPTY_VALUE; DnBuffer[shift]=EMPTY_VALUE;
             }
    I'm not sure but I don't think this is needed in NinjaTrader. When I tried to convert a few indicators in the past from MQL, I remember there were a number of things that had no parallel in C#,
    You're correct, that line is not needed for NT.

    In terms of Color_Code

    1 = Plot the Average Line w/o color indication of trend
    2 = Plot the Average Line w/ color indication of trend w/ Percentage input offset
    3 = Plot the Average Line w/ color indication of trend w/o Percentage input offset

    I made a small modification to the MA_Mode input. The only options are SMA and WMA.

    I updated the code on the original post.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by Bionian, Today, 07:07 AM
1 response
2 views
0 likes
Last Post NinjaTrader_Jason  
Started by averoos, Today, 05:33 AM
0 responses
5 views
0 likes
Last Post averoos
by averoos
 
Started by RobotSyndicate, Today, 04:27 AM
0 responses
4 views
0 likes
Last Post RobotSyndicate  
Started by Ray12345, Today, 04:10 AM
0 responses
5 views
0 likes
Last Post Ray12345  
Started by Behungr101, Today, 02:16 AM
1 response
10 views
0 likes
Last Post NinjaTrader_Jason  
Working...
X