else{
UpBuffer[shift]=EMPTY_VALUE; DnBuffer[shift]=EMPTY_VALUE;
}
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
MQL to NinjaScript translation request: StepMA 7.1
Collapse
X
-
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#,Code:
-
You're correct, that line is not needed for NT.Originally posted by Elliott Wave View PostI'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#,Code:else{ UpBuffer[shift]=EMPTY_VALUE; DnBuffer[shift]=EMPTY_VALUE; }
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.
Comment
-
I think the closest in NinjaScript would be the Reset() method which is part of the DataSeries Class.Originally posted by Elliott Wave View PostI'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#,Code:else{ UpBuffer[shift]=EMPTY_VALUE; DnBuffer[shift]=EMPTY_VALUE; }
Comment
-
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
Comment
-
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.DenNinjaTrader Customer Service
Comment
-
StepMA_Stoch_NK
Hi!Originally posted by NinjaTrader_Ben View PostHello,
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.
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.
Comment
-
Done! (text file attached).Originally posted by NinjaTrader_Ben View PostHello,
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!
Hope i didn't missed anything.
Comment
-
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.htmDenNinjaTrader Customer Service
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
577 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment