Fisher for NT7 - NinjaTrader Programming | futures io social day trading
futures io futures trading


Fisher for NT7
Updated: Views / Replies:11,639 / 39
Created: by zt379 Attachments:9

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 9  
 
Thread Tools Search this Thread
 

Fisher for NT7

  #21 (permalink)
Elite Member
Dallas,TX
 
Futures Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker/Data: Zaner/Zen Fire
Favorite Futures: ES,6E,6B,GC,CL
 
Posts: 590 since Nov 2009
Thanks: 176 given, 116 received

Fisher MQ vs Fisher NT

The default Fisher Transform with settings 100 matches exactly with what Fat tails got here in post 17. FisherYur5ik.zip
so we got the same as NT and not anythng diff. chart attached

Attached Thumbnails
Fisher for NT7-6e_fisher-mq-vs-fisher-nt.jpg  
Reply With Quote
 
  #22 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,600 received
Forum Reputation: Legendary


trendisyourfriend View Post
Fat, if you don't know the MetaTrader language then how can we tell if this indicator does what it is supposed to do ? What have you translated exactly ? Is it based on the Fisher algo or something else ?

I have tried to translate the MetaTrader language into NT 7.0. Most of the formulae can be easily grasped, but I do not know the logic MetaTrader uses for calling bars.

As I do not have a MetaTrader installation, we need somebody who posts a MetaTrader chart of the indicator, so that we can compare it with a NinjaTrader chart.

Reply With Quote
 
  #23 (permalink)
Elite Member
london uk
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Futures: Stocks
 
tellytub's Avatar
 
Posts: 409 since Jun 2009
Thanks: 333 given, 118 received


Fat Tails has done a great job in making it work for Ninja, so thanks Fat Tails!!!

1. The Metatrader version of the FisherTransform paints BIG TIME
2. Fat Tails, FisherYur4ik repaints the same as Metatrader version
3. Fat Tails, FisherYur5ik DOES not repaint and it looks to be same as FisherTransform (NinjaTrader version)
4. If you download the FisherTransform for Metatrader that does NOT repaint, it will not give you any advantage at all. You may as well look at FisherTransform (NinjaTrader version)

Thanks guys

Reply With Quote
The following 2 users say Thank You to tellytub for this post:
 
  #24 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,600 received
Forum Reputation: Legendary

FisherYur4ik Looks like a Fake


emini_Holy_Grail View Post
The default Fisher Transform with settings 100 matches exactly with what Fat tails got here in post 17. FisherYur5ik.zip
so we got the same as NT and not anythng diff. chart attached

This is really a good example to learn from.

The original MetaTrader indicator and the NT 6.5. version of this indicator heavily repaint. This means that the bars are faked with hindsight. You cannot trade off fake indicators. because they only generate the signal long after the fact.

On the chart below I have put

- the fake indicator
- the adapted version that does not repaint
- and the original Fisher Transform that comes with NinjaTrader

You will notice that the FisherYur4ik generates early signals. Unfortunately the early signal is only generated 100 bars later by falsifying what it had produced before. Actually the indicator will still modify the signal shown on the chart, as the 100 bars have not yet elapsed.

The non-repainting version generates the same signals, but later. You can see that the peaks and troughs are occurring between 5 and 8 bars later. Note that the further you get away from the last bar the larger the lead of the repainting indicator versus the correct one will be.

If you do not let the indicator repaint, it does not offer any advantages over the original Fisher Transform, which can be found below. The only thing that the FisherYur4ik offers is a mirage which can be used for self-delusion.

I am still not 100% sure that the non-repainting version is a correct adaptation of the MetaTrader indicator.

If there is any user of MetaTrader here please post a chart!

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #25 (permalink)
Elite Member
london uk
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Futures: Stocks
 
tellytub's Avatar
 
Posts: 409 since Jun 2009
Thanks: 333 given, 118 received

This might be of interest

Three Fisher Yur4ik Indicators For Metatrader | Great Trading Systems

Reply With Quote
The following user says Thank You to tellytub for this post:
 
  #26 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,600 received
Forum Reputation: Legendary



The charts show a 4-bar lag between the repainting and non-repainting version. As I used a comparatively large lookback period of 100 bars in the chart above, this is consistent with the 5 to 8 bars that I found. Thanks for posting!

Reply With Quote
 
  #27 (permalink)
Elite Member
Quebec
 
Futures Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker/Data: Stage 5 trading/AMP/CQG
Favorite Futures: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,697 since Oct 2009
Thanks: 3,041 given, 4,496 received

I remember when i was using this tool i used to have two instances of the Fisher on my chart. A 10 periods and a 50 periods. Both versions needed to match. I used them mostly for confirmation during a pullback after a breakout. At that time, i was using 3 MA's (21, 34 or 55 and 89) When there was some separation between these three MA's and price was breaking in the opposite direction of the trend by two or three bars max. then i was checking the Fishers on a pullback and would enter into the new direction only if both Fishers were showing the same color. My winning rate on this setup was above 85% if i remember and i was using the version that was repainting.

Here is a rough example:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #28 (permalink)
Elite Member
london uk
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Futures: Stocks
 
tellytub's Avatar
 
Posts: 409 since Jun 2009
Thanks: 333 given, 118 received

MetaTrader v's Ninjatrader

MetaTrader has EURUSD whereas Ninja has 6E, but its almost there

this is a better res image

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).



I'm sure you can guess which one repaints

Reply With Quote
The following user says Thank You to tellytub for this post:
 
  #29 (permalink)
Elite Member
Dallas,TX
 
Futures Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker/Data: Zaner/Zen Fire
Favorite Futures: ES,6E,6B,GC,CL
 
Posts: 590 since Nov 2009
Thanks: 176 given, 116 received

FT or TIYF
Can you help to add an arrow when cross over on NT's default Fisher Transform.
or you can tell me where to add "DrawArrowUp and Down". appreciate the help

Reply With Quote
 
  #30 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,600 received
Forum Reputation: Legendary



emini_Holy_Grail View Post
FT or TIYF
Can you help to add an arrow when cross over on NT's default Fisher Transform.
or you can tell me where to add "DrawArrowUp and Down". appreciate the help


So what you want to do - in language terms - is:

Condition1: when current value > 0 and prior value <= 0 then bullish crossover
Condition2: when current value < 0 and prior value >= 0 then bearish crossover

Translated to code:

 
Code
double lastFishValue = Value[1];
double margin = 2* ATR(14)[0];
if (fishValue > 0 && lastFishValue <=0)
	DrawArrowUp("Up"+CurrentBar,true, 0, Low[0]- margin, Color.Green);				
if (fishValue < 0 && lastFishValue >= 0)
	DrawArrowUp("Up"+CurrentBar,true, 0, High[0]+ margin, Color.Red);
Now this code will run you into trouble for two reasons:

(1) Value[1] is not defined for the first bar -> indicator will not display anything
(2) If the crossover is triggered intrabar (when connected realtime) and then cancelled again, the arrow will remain on the chart, so you need to remove all the false arrows that have been created prior to the bar close.

Declare new int variables:

 
Code
private int	arrowUpIndex 	= 0;
private int 	arrowDownIndex	= 0;
Then write modified code and insert:

 
Code
if (CurrentBar > 0) // to avoid the problem with the first bar
{
	double lastFishValue = Value[1];
	double margin = 2* ATR(14)[0];
	if (fishValue > 0 && lastFishValue <=0)
	{
		DrawArrowUp("Up"+CurrentBar,true, 0, Low[0]- margin, Color.Green);
		arrowUpIndex = CurrentBar;
	}
	else if (arrowUpIndex == CurrentBar)
	{
		RemoveDrawObject ("Up"+CurrentBar);
		arrowUpIndex = 0;
	}
	if (fishValue < 0 && lastFishValue >= 0)
	{
		DrawArrowDown("Down"+CurrentBar,true, 0, High[0]+ margin, Color.Red);
		arrowDownIndex = CurrentBar;	
	}
	else if (arrowDownIndex == CurrentBar)
	{
		RemoveDrawObject ("Down" + CurrentBar);
		arrowDownIndex = 0;
	}
}
Now to finish the indicator off, put this in the Initialize section to make sure that the arrows are plotted on the price panel

 
Code
DrawOnPricePanel	= true;
Indicator attached.

Attached Files
Register to download File Type: zip FisherTransformArrows.zip (7.7 KB, 242 views)
Reply With Quote
The following 8 users say Thank You to Fat Tails for this post:

Reply



futures io > > > > > Fisher for NT7

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
ACD trading By Mark Fisher incometrade Traders Hideout 519 December 1st, 2016 02:55 PM
Fisher Transform - a sample size problem? drolles NinjaTrader Programming 16 March 15th, 2011 08:06 AM
Fed Needs Fiscal Help to Boost Economy: Fisher Quick Summary News and Current Events 0 October 18th, 2010 10:50 AM


All times are GMT -4. The time now is 11:02 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-11 in 0.14 seconds with 20 queries on phoenix via your IP 54.145.16.43