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 johntraderuser2, Today, 02:34 AM
|
0 responses
6 views
0 likes
|
Last Post Today, 02:34 AM | ||
Started by IanS00, 03-27-2024, 11:24 AM
|
2 responses
12 views
0 likes
|
Last Post Today, 02:00 AM | ||
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
4 views
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
5 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
47 views
0 likes
|
Last Post Today, 12:28 AM |
Comment