NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

Reply
 
Thread Tools Display Modes
Old 06-30-2008, 09:38 PM   #1
tradejockey
Member
 
Join Date: Jan 2008
Posts: 64
Thanks: 0
Thanked 0 times in 0 posts
Default Fisher variants

Basically a mish mash of Inverse fisher transform over fisher transform, RSI (and Yur4ik in case of first indicator) all put together in the hope of avoiding whipsaw. Only drawbacks I see are
1. Slight delay for lines to unglue from the top and bottom.
2. Repaint of last bar in case of the first indicator.
3. In case of second indicator it gets muddy when long term trend (red) is swayed by the short term trend.
Any input appreciated.

Some ideas taken from following:
Gaussian PDF:
http://media.wiley.com/product_data/...0471463078.pdf

John Ehler's IFT:
http://tradingsystemlab.com/files/Th...0Transform.pdf
Attached Images
File Type: jpg sample.JPG (52.4 KB, 237 views)
Attached Files
File Type: zip Yurik.zip (5.4 KB, 137 views)
File Type: zip InverseRSIFT.zip (10.6 KB, 160 views)
tradejockey is offline  
Reply With Quote
Old 06-30-2008, 09:52 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Cool. Thanks for the contribution. If you don't mind could you also put it up on the File Sharing indicator section.
NinjaTrader_Josh is offline  
Reply With Quote
Old 03-29-2013, 10:39 AM   #3
wallstreetkid
Junior Member
 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default

The Inverse RSIFT works great thank you!! The yurik or euphoric....is blank. I tried it on minute bars, tick and range bars. Am I doing something wrong? How can I get it to work? Thanks!
wallstreetkid is offline  
Reply With Quote
Old 03-29-2013, 11:03 AM   #4
NinjaTrader_JC
NinjaTrader Customer Service
 
NinjaTrader_JC's Avatar
 
Join Date: Mar 2012
Location: Denver, CO
Posts: 1,200
Thanks: 137
Thanked 183 times in 182 posts
Default

Hello wallstreetkid,

Do you get an error message inside the Log tab of your Control Center?
NinjaTrader_JC is offline  
Reply With Quote
Old 04-12-2013, 03:15 PM   #5
Taggart
Junior Member
 
Join Date: Feb 2009
Posts: 27
Thanks: 22
Thanked 1 time in 1 post
Default

I am having the same problem as wallstreetkid and my log produces the following error: "Failed to call method 'Initialize' for indicator 'Euphoric': 'BarsInProgress' property can't be accessed from within 'Initialize'. Any help would be appreciated. Thanks in advance.
Taggart is offline  
Reply With Quote
Old 04-15-2013, 04:16 AM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,419
Thanks: 252
Thanked 981 times in 963 posts
Default

It would help if you could post the Initialize() method contents of your custom indicator giving you the issue, as the log message states you could not work with BarsInProgress here - so our suggestion would be reworking the method so it would not be used anymore and move bar update relative code then to OnBarUpdate(), then recheck.
NinjaTrader_Bertrand is online now  
Reply With Quote
Old 04-15-2013, 10:27 AM   #7
Taggart
Junior Member
 
Join Date: Feb 2009
Posts: 27
Thanks: 22
Thanked 1 time in 1 post
Default

Sorry for not being more clear. The indicator in question is the one posted earlier in this thread called Yurik.zip (though after import it becomes labeled Euphoric)
Attached Files
File Type: cs Yurik.cs (8.1 KB, 6 views)
Taggart is offline  
Reply With Quote
Old 04-15-2013, 11:18 AM   #8
NinjaTrader_Cal
NinjaTrader Customer Service
 
NinjaTrader_Cal's Avatar
 
Join Date: Feb 2013
Location: Denver
Posts: 101
Thanks: 2
Thanked 17 times in 17 posts
Default

Hi Taggart,

From the code I can see that in the Initialize method the MIN and MAX are being called, which is why you are receiving that error,

The OnStartUp() method is something you are want to going to use in order to use those properties.

This method is after the initialize but before the OnBarUpdate().

You will need to move the Min and Max into that method.

Your code will look something like this -
Code:
protected override void OnStartUp()
{
     min = MIN(High, period);
     max = MAX(Low, period);
}
Below is a link on using the OnStartUp Method
http://www.ninjatrader.com/support/h...?onstartup.htm

Please let me know if I can be of further assistance.
NinjaTrader_Cal is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Cal for this post:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fisher variations Rollins NinjaScript File Sharing Discussion 5 07-26-2012 08:37 AM
Inverse Fisher Transform sbgtrading NinjaScript File Sharing Discussion 0 01-05-2008 03:11 PM


All times are GMT -6. The time now is 06:31 AM.