Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NT7 problems
Collapse
X
-
Here is the new signature :
DrawText(string tag, bool autoScale, string text, int barsAgo, double y, int yPixelOffset, Color textColor, Font font, StringAlignment alignment, Color outlineColor, Color areaColor, int areaOpacity)
the old signature didn't include nt yPixelOffset :
DrawText(string tag, bool autoScale, string text, int barsAgo, double y, Color textColor, Font font, StringAlignment alignment, Color outlineColor, Color areaColor, int areaOpacity)
Hope it helps
Bernard
Comment
-
Mine specifically was . . .
NT65 (11 arguments):
DrawText(string tag, bool autoscale, string text, barsago int, double y, Color textColor, Font font, StringAlignment alignment, Color outlineColor, Color areaColor, int areaOpacity)
NT7 (12 arguments):
DrawText(string tag, bool autoscale, string text, barsago int, double y, Color textColor, int yPixelOffset, Font font, StringAlignment alignment, Color outlineColor, Color areaColor, int areaOpacity)
Whitmark
Comment
-
Thanks guys. Here is the deal: we already have 3 signatures for each Draw method. Since we added new logic a new parameter needed to be squeezed in. We did this by amending the widest of all signatures.
We are aware that this could cause some hassle but felt it would be the "least pain" approach at the long rung. Hope, this makes sense.
Comment
-
I have uninstalled NT7, deleted the folders, reinstalled without migrating and the problem still exists. The Signatures for the Draw methods are correct per NT7. One thing I did notice though is one of my indicators has a couple or DrawLine() statements, which should work perfectly, but on my chart the lines don't show up. Thing is, I can point to the approximate spot and click and hold my mouse and a red circle with a dash appears. Seems to be a "Can't drag this line" warning. So, in this case it appears the line is there but hidden.
Comment
-
Originally posted by eDanny View PostI have uninstalled NT7, deleted the folders, reinstalled without migrating and the problem still exists. The Signatures for the Draw methods are correct per NT7. One thing I did notice though is one of my indicators has a couple or DrawLine() statements, which should work perfectly, but on my chart the lines don't show up. Thing is, I can point to the approximate spot and click and hold my mouse and a red circle with a dash appears. Seems to be a "Can't drag this line" warning. So, in this case it appears the line is there but hidden.RayNinjaTrader Customer Service
Comment
-
Originally posted by eDanny View PostWow, look at that, it brings up the properties for the line. The color is Blue, set by my code, but my chart background is LightGray.
- Your code draws a line color blue
- The line is invisible on the chart however, its properties are set to blue
If my understanding is correct, could you send us this indicator or a sample one that can demonstrate the problem? Send to support attention to Josh and reference this post.RayNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by sofortune, 05-16-2024, 11:45 PM
|
6 responses
44 views
0 likes
|
Last Post Today, 07:06 AM | ||
Started by Human#102, Today, 05:18 AM
|
1 response
10 views
0 likes
|
Last Post Today, 07:05 AM | ||
Started by sdauteuil, 09-23-2021, 10:16 AM
|
8 responses
1,248 views
0 likes
|
Last Post Today, 07:03 AM | ||
Started by KNalley, 01-24-2020, 10:33 AM
|
6 responses
954 views
0 likes
|
Last Post Today, 07:03 AM | ||
Started by JackyP, Today, 06:17 AM
|
1 response
8 views
0 likes
|
Last Post Today, 06:55 AM |
Comment