View Full Version : BW Fractals not painting
tlan294
12-23-2008, 04:26 AM
Hi,
Cannot seem to get anything on the chart with this indicator. Tried changing colours (see comment elsewhere), but no joy. Maybe my computer doesn't recognise "Wingdings 3"!!
Any suggestions?:confused:
NinjaTrader_Bertrand
12-23-2008, 05:17 AM
Hi tlan294, welcome to our forum! The fractals work well over here, do you get any errors in the log tab of the Control Center? Please also make sure Marker Size is at a high enough level...
tlan294
12-23-2008, 07:23 AM
Hi, Yup, log error reads thus:
Error on calling the 'OnBarUpdate' method for indicator 'bwFractals' on bar 5: Index was out of range. Must be non-negative and less than the size of the collection.
For info, attempting to paint on EURUSD 1 Min bars....:rolleyes:
NinjaTrader_Bertrand
12-23-2008, 07:32 AM
Hi, it works fine on EURUSD 1 min over here, you may contact the author of this indicator and ask for a fix - you likely need to check into this -> http://www.ninjatrader-support2.com/vb/showthread.php?t=3170
NinjaTrader_Josh
12-23-2008, 08:52 AM
tlan294,
The fractals indicator was a WIP that was dropped and is provided as an as-is solution. Feel free to make any changes to it to better suit your needs.
tlan294
12-23-2008, 11:25 PM
Hi,
Many thanks for the steer - the issue was calling 5 bars before they were "there". So the fix is simple. make line 47 read:
if (CurrentBar < 6)
...or any other number larger than 5!
I guess this is not an issue if you are extracting data from part of a data record, but blows up if you start from minute 1 of the record.
Rgds
NinjaTrader_Bertrand
12-24-2008, 04:02 AM
Great tlan294, maybe you can post your updated version for our members here! Thanks!
tlan294
01-02-2009, 12:00 AM
Here you go....
tlan294
01-02-2009, 12:24 AM
In desperation, I wiped the workspace, and started with a clean one, and it now works properly.
A question, is there a way to "clean" a workspace of its trading records? I suspect old testing had left unfinished business (even after flatten everything and remove executions).
Rgds,
NinjaTrader_Bertrand
01-02-2009, 04:05 AM
Thanks for posting this tlan294. Yes, your workspace file could have gotten corrupted - what you also want to do, besides starting with a clean one, is repairing your database (Tools > Options > Misc).
bctrader
01-28-2009, 04:19 PM
Whenever I open ninja trader, my fractal's default colors reset to white from green and red. Anyone else experience this?
NinjaTrader_Bertrand
01-28-2009, 04:56 PM
Hi bctrader, unfortunately this is an unsupported side project - do you see any errors in the Log tab when you apply it?
roonius
01-28-2009, 05:10 PM
Whenever I open ninja trader, my fractal's default colors reset to white from green and red. Anyone else experience this?
You have to serialize Color property
bctrader
01-28-2009, 09:44 PM
What do you mean serialize? I've installed this indicator before on an old os and it's worked fine so not sure why I'd have trouble now. I realize it's an old project and I was just asking if anyone else had this issue with it at anytime. I've tried deleting and reinstalling it but I get the same problem. Not a big deal, I can work around it, just be nice if one didn't have to change the color's each time. Here's the log file output:
1/28/2009 3:14:43 PM Default Failed to restore indicator 'NinjaTrader.Indicator.bwFractals'. Most likely (a) the implementation changed or (b) one or more properties have been renamed or removed or (c) the custom assembly which implements this indicator no longer is there.
roonius
01-28-2009, 10:23 PM
What do you mean serialize? I've installed this indicator before on an old os and it's worked fine so not sure why I'd have trouble now. I realize it's an old project and I was just asking if anyone else had this issue with it at anytime. I've tried deleting and reinstalling it but I get the same problem. Not a big deal, I can work around it, just be nice if one didn't have to change the color's each time. Here's the log file output:
1/28/2009 3:14:43 PM Default Failed to restore indicator 'NinjaTrader.Indicator.bwFractals'. Most likely (a) the implementation changed or (b) one or more properties have been renamed or removed or (c) the custom assembly which implements this indicator no longer is there.
Try this version.
bctrader
01-29-2009, 05:19 PM
That one did the trick, thanks Roonius!