mahalo
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Programatically draw Ts
Collapse
X
-
Programatically draw Ts
Hi, is it possible to draw a T (like the one shown below) via a script or at least when drawing a rectangle have it automatically duplicated next to it when the first rectangle is completed, if drawn in the indicator panel? if not may I suggest having Ts as a drawing tool.
mahalo
Last edited by frizshizzle; 09-12-2010, 12:15 PM.Tags: None
-
That's a bit hard for me. Is there a way to fill a rectangle with two colors 50/50 without too much custom programming and am I correct to say that I would need to use gui.chart.chartcontrol? Any hints would be helpful.
There is for some reason my drawings keep disappearing from my indicator even though I save the workspace.
thanksLast edited by frizshizzle; 09-12-2010, 12:29 PM.
Comment
-
frizshizzle, drawing a rectangle with a 50/50 split would be even harder (if possible at all). When you draw your drawings, are you using a different tag each time? If not, then they would be "erased" and re-drawn when the conditions are right.
Code:DrawDot("tag that doesnt change", ...) // this would be drawn over every time DrawDot("tag that does change" + CurrentBar, ...) // would draw a new dot every time
AustinNinjaTrader Customer Service
Comment
-
The ones above are drawn manually and those get erased after closing and reopening the workspace on my indicator at least. Also what I mean by drawing Ts is similar to the Fibonacci time extension tool but drawing a T instead of vertical lines, not through conditions.
Comment
-
Comment
-
-
Thanks frizshizzle,
Please post the workspace you're having trouble with. You can find the xml file at:
My Documents\NinjaTrader 7\workspaces
Make sure there are only default system indicators applied.
To confirm the steps needed and to clarify the issue:
1) Manually place drawing objects on indicator panel
2) Save workspace
3) Restart NinjaTrader
You're then not seeing the objects on the indicator panel after a restart.Ryan M.NinjaTrader Customer Service
Comment
-
-
Thanks. Please include as well the .cs file for your indicator in:
My Documents\NinjaTrader 7\bin\custom\indicator.
If you don't want to post to this forum, can also send to [email protected] and reference this thread:
Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ZenCortexHurry, Today, 01:07 PM
|
0 responses
2 views
0 likes
|
Last Post Today, 01:07 PM | ||
Started by ZenCortexHurry, Today, 01:04 PM
|
0 responses
1 view
0 likes
|
Last Post Today, 01:04 PM | ||
Started by f.saeidi, Today, 12:14 PM
|
3 responses
9 views
0 likes
|
Last Post Today, 01:02 PM | ||
Started by Russ Moreland, Today, 12:54 PM
|
1 response
3 views
0 likes
|
Last Post Today, 01:01 PM | ||
Started by philmg, Today, 12:55 PM
|
1 response
4 views
0 likes
|
Last Post Today, 01:00 PM |
Comment