NexusFi: Find Your Edge


Home Menu

 





MQ4 to Ninjatrader conversion


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 15 posts (18 thanks)
    2. looks_two elsevillano with 5 posts (1 thanks)
    3. looks_3 mailonline38 with 4 posts (0 thanks)
    4. looks_4 kennanoate with 4 posts (0 thanks)
    1. trending_up 18,621 views
    2. thumb_up 20 thanks given
    3. group 10 followers
    1. forum 37 posts
    2. attach_file 12 attachments




 
Search this Thread

MQ4 to Ninjatrader conversion

  #21 (permalink)
JohnK
New York, USA
 
Posts: 6 since Jul 2011
Thanks Given: 0
Thanks Received: 5

Since this is a very similar type of conversion, I was curious if anyone could take a look at it. I use this indicator a lot for three main reasons: 1. It helps me identify the trend in longer time frames. 2. It is great to trail the remainder lots with it. 3. It reduces the clutter on my charts. It appears when a trend is occurring and disappears when there is no trend. One of the reasons I like this one so much is the universal applicability of it on any time frame. The general logic for an uptrend goes something like this: 1. Identify a prospective bullish trend first by If price low > 12 prior lows, then selling pressure easing. 2. Plot bullish TD MA once condition (1) is satisfied by where TD MA = 5 bars MA of lows & extends it for another 4 bars (ie. current price bar & 3 more into future). And if within the next 4 bars & the market does record a low greater than all 12 previous lows, then the 5-bar MA will continue for another 4 bars. Otherwise, the MA is not plotted. (and opposite for downtrend) here is it can be found on MT4: (TD) [AUTOLINK]Moving Average[/AUTOLINK] - Page 3
I will greatly appreciate any help I can receive with this!

Attached Files
Elite Membership required to download: TD moving average I.mq4
Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
27 thanks
Diary of a simple price action trader
26 thanks
Tao te Trade: way of the WLD
23 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
9 thanks
  #22 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

@elsevillano has detected a small bug in the FTLM-STLM indicator. Some of the dots were plotted behind the bars.


I have now changed the order of the plots in the indicator to address the problem. The update is available below:



Reply With Quote
Thanked by:
  #23 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


The last export file of the FTLM_STLM did not include the PCCI and RBCI. I had probably forgotten to include them with the previous update.


Have now added them again, after @wireford kindly informed me about my omission.


Download link below:


Reply With Quote
Thanked by:
  #24 (permalink)
akademikjeanius
Nonya, Business
 
Posts: 2 since Jan 2010
Thanks Given: 0
Thanks Received: 0

Hey Fat Tails,

Huge fan and heavy user of FTLM / STLM. Can tell you how the parameters were generated if you'd like.


Kemo

Reply With Quote
  #25 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


akademikjeanius View Post
Hey Fat Tails,

Huge fan and heavy user of FTLM / STLM. Can tell you how the parameters were generated if you'd like.


Kemo

The calculation of the FTLM/STLM is based on 4 different low pass FIR filters, called FATL (fast adaptive trendline), RFTL(reference fast trendline) , SATL (slow adaptive trendline) and RSTL(reference slow trendline). Those 4 filters are calculated by a second indicator, which is called anaTrendLineMomentum.

As far as I know, the filters have been developed with Parks-McClellan filter design algorithm.

Parks-[AUTOLINK]McClellan[/AUTOLINK] filter design algorithm - Wikipedia, the free encyclopedia


The original indicators and a short description can be found here.

Digital Indicators Description


A short description of the details is included with this article by Vladimir Kravchuk.

https://www.vistaprint.com/digital-marketing/webs-shutdown


The MetaTrader version is freely available, and I have translated the indicator from MetaTrader to NinjaTrader.


FTLM and STLM are just MACD type oscillators calculated from the four filters.


Reply With Quote
  #26 (permalink)
akademikjeanius
Nonya, Business
 
Posts: 2 since Jan 2010
Thanks Given: 0
Thanks Received: 0


Fat Tails View Post
The calculation of the FTLM/STLM is based on 4 different low pass FIR filters, called FATL (fast adaptive trendline), RFTL(reference fast trendline) , SATL (slow adaptive trendline) and RSTL(reference slow trendline). Those 4 filters are calculated by a second indicator, which is called anaTrendLineMomentum.

As far as I know, the filters have been developed with Parks-McClellan filter design algorithm.

Parks-McClellan filter design algorithm - Wikipedia, the free encyclopedia


The original indicators and a short description can be found here.

Digital Indicators Description


A short description of the details is included with this article by Vladimir Kravchuk.

New Adaptive Method of Following the Tendency and Market Cycles


The MetaTrader version is freely available, and I have translated the indicator from MetaTrader to NinjaTrader.


FTLM and STLM are just MACD type oscillators calculated from the four filters.



Guess that explanation will have to do. J/K!

Spot on....

Reply With Quote
  #27 (permalink)
 kennanoate 
Moscow
 
Posts: 5 since Sep 2013


Fat Tails View Post
The last export file of the FTLM_STLM did not include the PCCI and RBCI. I had probably forgotten to include them with the previous update.


Have now added them again, after @wireford kindly informed me about my omission.

hey can you convert from ninja to mt4
i have a volume indicator in cs file and ELD

Reply With Quote
  #28 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


kennanoate View Post
hey can you convert from ninja to mt4
i have a volume indicator in cs file and ELD

@kennanoate: This is a NinjaTrader thread, and your request is in contradiction with the title.

Please put your request in an existing or new thread in the MetaTrader section of the forum.

Reply With Quote
  #29 (permalink)
 kennanoate 
Moscow
 
Posts: 5 since Sep 2013


Fat Tails View Post
@kennanoate: This is a NinjaTrader thread, and your request is in contradiction with the title.

Please put your request in an existing or new thread in the MetaTrader section of the forum.

@Fat Tails i know it is, my apologies
i am just looking for someone to help me do the conversion i was refereed to this post by my friend
asking if you can help me. please

Reply With Quote
  #30 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



kennanoate View Post
@Fat Tails i know it is, my apologies
i am just looking for someone to help me do the conversion i was refereed to this post by my friend
asking if you can help me. please

I cannot help, as I do not use MetaTrader. I can only convert indicators from MetaTrader to NinjaTrader.

Reply With Quote




Last Updated on September 4, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts