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,385 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

  #11 (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 View Post
you get a ninja migrate ftlm.mq4 ¿

OK, I will translate it, as it is not a difficult thing to do.

Can you please tell me, how you intend to use it?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Futures True Range Report
The Elite Circle
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
 
  #12 (permalink)
 elsevillano 
madrid
 
Experience: Advanced
Platform: ninja trader
Trading: currencies Bonds dax
Posts: 51 since Jan 2010
Thanks Given: 12
Thanks Received: 16

Fat Tails

This would be the graphic, so paint it

I'll give a trend and cycle use

Attached Thumbnails
Click image for larger version

Name:	pppp.gif
Views:	274
Size:	39.2 KB
ID:	42861  
Reply With Quote
  #13 (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


FTLMand STLM are MACD type indicators which are built from digital filters. There are thousands of digital filtes around, and nobody knows which of them works or not. You could also built MACDs from Gauss or Butterworth filters and get similar indicators.

FTLM and STML are built from 4 filters, which are called FATL, SATL, RFTL and RSTL. I checked various sources and discovered that FATL and SATL are more or less the same, while there are several versions around for RFTL and RSTL.

I attach a chart which shows EURUSD between August 14, 2000 and December 2000 to compare with the chart you posted. The RFTL MetaTrader formula does not match the original chart, but leads to different results.

Please again my question: How do you use these filters, and why do you think that these specific filters are better than Gauss, Butterworth, Supersmoother, Nyquist or Jurik filters? Just copying any filter, which was presented 10 years ago without knowing what it is good for is not an attractive task for me.

Attached Thumbnails
Click image for larger version

Name:	$EURUSD (Daily)  11_08_2000 - 14_12_2000.jpg
Views:	238
Size:	99.3 KB
ID:	42865  
Reply With Quote
Thanked by:
  #14 (permalink)
 elsevillano 
madrid
 
Experience: Advanced
Platform: ninja trader
Trading: currencies Bonds dax
Posts: 51 since Jan 2010
Thanks Given: 12
Thanks Received: 16

I'm not really a programmer, the synthesis of this indicator for the use I give, is not exactly normal, but as I said before, I use to remove small sections using it as a curved trend, yn oes that are better than Gaussians but for my operability is more comfortable (in separate window)

Attached Files
Elite Membership required to download: FTLM-STLM.mq4
Reply With Quote
Thanked by:
  #15 (permalink)
 mailonline38 
Sanjose, CA
 
Experience: Beginner
Platform: TradeStation
Trading: TF, YM
Posts: 28 since Dec 2009
Thanks Given: 73
Thanks Received: 15


elsevillano View Post
I use to remove small sections using it as a curved trend, yn oes that are better than Gaussians but for my operability is more comfortable (in separate window)

"yn oes" means ?

curved trend ? Could you point or draw on the chart where it is ?

Thanks.

Reply With Quote
  #16 (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

I am still thinking about what this indicator is actually good for.

It is a linear digital filter, which uses 235 parameters to produce an individually weighted moving average. The parameters were created over 10 years ago. I do not know how the parameters were generated, but let us assume that somebody used a neural net on EURUSD and optimized the parameters to match a historical period, which was the training period.

Who tells me that such a curve fitted system will perform any better than a collection of simple moving averages?

If I use a similar system based on Gaussian or Butterworth filters, I only need 4 values for the 4 periods to calculate the proxys for the trendlines. I would have more confidence in a 4 parameter system than a 235 parameter system.


Is there anybody who can explain me, how the 235 parameters of this system were generated?

Reply With Quote
  #17 (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

Have hammered some code into the NinjaTrader editor. This is what it looks like now.

I still have to check it again, before it will be published.


Reply With Quote
Thanked by:
  #18 (permalink)
 elsevillano 
madrid
 
Experience: Advanced
Platform: ninja trader
Trading: currencies Bonds dax
Posts: 51 since Jan 2010
Thanks Given: 12
Thanks Received: 16

chart posted is accurate to the mq4

Reply With Quote
  #19 (permalink)
 mailonline38 
Sanjose, CA
 
Experience: Beginner
Platform: TradeStation
Trading: TF, YM
Posts: 28 since Dec 2009
Thanks Given: 73
Thanks Received: 15


elsevillano View Post
I'll give a trend and cycle use

Hi elsewillano,

How do you use it for the trend and cycle ?

Thanks.

Reply With Quote
  #20 (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 indicators can be downloaded here:




The package includes:

- Adaptive Trendlines (displays fast adaptive trendline FATL, slow adaptive trendline SATL, and reference trendlines RFTL and RSTL)

- FTLM_STLM (fast trendline momentum and slow trendline momentum)

- RBCI (rangebound channel index)

- PCCI (perfect commodity channel index)

Attached Thumbnails
Click image for larger version

Name:	FTLMSTLM.jpg
Views:	258
Size:	145.7 KB
ID:	42984  
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