![]() |
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
|
|||||||
| NinjaScript File Sharing Discussion Discussion for shared NinjaScript files. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jan 2008
Posts: 64
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Cool. Thanks for the contribution. If you don't mind could you also put it up on the File Sharing indicator section.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
|
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!
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Mar 2012
Location: Denver, CO
Posts: 1,200
Thanks: 137
Thanked 183 times in 182 posts
|
Hello wallstreetkid,
Do you get an error message inside the Log tab of your Control Center?
JC
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Feb 2009
Posts: 27
Thanks: 22
Thanked 1 time in 1 post
|
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.
|
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,419
Thanks: 252
Thanked 981 times in 963 posts
|
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.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Feb 2009
Posts: 27
Thanks: 22
Thanked 1 time in 1 post
|
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)
|
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Feb 2013
Location: Denver
Posts: 101
Thanks: 2
Thanked 17 times in 17 posts
|
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);
}
http://www.ninjatrader.com/support/h...?onstartup.htm Please let me know if I can be of further assistance.
Cal H.
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Cal for this post: |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |