PDA

View Full Version : Draw still not working


eDanny
10-06-2009, 04:12 PM
I keep wondering why others are not having the same problems as I am. My custom indicators used the correct signatures from the beginning so they don't need editing but all DrawText(), DrawTextFixed(), DrawHorizontalLine(), etc still do not work. I just uninstalled NT7 again, deleted the folder in My Documents, rebooted machine, reinstalled but the problem persists. I try to copy the .cs files over and compile, try to export to .zips and import but same results. There must be something odd with my machine. I thought Josh said there was a bug but Ray said he didn't know of a bug (in webinar). If it is a bug, why are we not all affected equally? Josh, could you tell me more about the bug? I feel I can't be of any help in testing version 7 until I can get past this.

NinjaTrader_Ray
10-06-2009, 04:29 PM
I keep wondering why others are not having the same problems as I am. My custom indicators used the correct signatures from the beginning so they don't need editing but all DrawText(), DrawTextFixed(), DrawHorizontalLine(), etc still do not work. I just uninstalled NT7 again, deleted the folder in My Documents, rebooted machine, reinstalled but the problem persists. I try to copy the .cs files over and compile, try to export to .zips and import but same results. There must be something odd with my machine. I thought Josh said there was a bug but Ray said he didn't know of a bug (in webinar). If it is a bug, why are we not all affected equally? Josh, could you tell me more about the bug? I feel I can't be of any help in testing version 7 until I can get past this.

I did not say I was not aware of any bug, I asked which specific issue since there were several. There are known issues relative to drawing which have been resolved for the next update.

eDanny
10-06-2009, 04:36 PM
I did not say I was not aware of any bug, I asked which specific issue since there were several. There are known issues relative to drawing which have been resolved for the next update.

I see Ray, thanks. I guess what I am more concerned with is that others aren't reporting, at least in the forums, the same problem. This is why I thought it could be more related to my setup than to any bugs.

sbgtrading
10-09-2009, 07:11 AM
The attached code compiles but doesn't run...errors out at Bar 20 with the message "Index outside of the bounds of the array"...this is apparently a bug.

NinjaTrader_Josh
10-09-2009, 08:50 AM
Thanks for reporting. We will look into it.

NinjaTrader_Christian
10-12-2009, 08:02 AM
The attached code compiles but doesn't run...errors out at Bar 20 with the message "Index outside of the bounds of the array"...this is apparently a bug.

Hi sbgtrading !

This is a bug which is resolved and the solution will be available with the next update.

Thanks for reporting !
Christian

eDanny
10-19-2009, 03:42 PM
Congratulations for fixing some of the Draw bugs. I have just tried one indicator as of now and the DrawLine() functions seems to work now but the DrawTextFixed(), although now showing something, places the box outline halfway out of the text (to the right and halfway out of the chart border for TextPosition.BottomRight and TextPosition.TopRight).

Nevermind, I see someone else beat me to it as I was typing.

eDanny
12-01-2009, 02:55 PM
This was fixed in the last version (4) except that the text was center justified. Now the DrawTextFixed box right edge is centered in the text with version 5.

NinjaTrader_Josh
12-01-2009, 03:40 PM
eDanny,

Didn't quite follow your last statement. Can you please clarify. Thank you.

eDanny
12-01-2009, 03:43 PM
Stating a different way is this: Now the text is center justified on the right side box line instead of inside the box.

NinjaTrader_Josh
12-01-2009, 03:48 PM
That was what was desired no?

eDanny
12-01-2009, 06:02 PM
I don't know how you are not reading this the right way. The text is half out of the text box. Split right down the middle of the text by the right box line. The text box is half empty. Why? Because half of the text is outside of the box.

NinjaTrader_Christian
12-02-2009, 01:41 AM
Hi eDanny !

Your issue is understood and fixed and the fix will be available with the next update of NinjaTrader.

Thanks for reporting !

Kind regards,
Christian