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
DashStyle as a Parameter
Collapse
X
-
Hello Griesha_uk,
Thank you for your post.
You could use a enum in order to have the user select the desired option and then switch the DashStyle of the drawing tool.
You can find an example of using enums to select different input series as indicators at the following link: http://ninjatrader.com/support/forum...ead.php?t=3420
Please let me know if you have any questions.
-
DashStyle as a Parameter
I have (unsuccessfully) tried to find a simple way to input a DashStyle (e.g. Dot, Dash,,,) as a parameter, and then apply it to the DashStyle of DrawHorizontalLine.
Any suggestions:
a) As to how best to set up the parameter
b) How to apply the input to the line-draw.
Many thanks,
G
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Rogers101, 05-05-2024, 11:30 AM
|
7 responses
28 views
0 likes
|
Last Post Today, 07:26 AM | ||
Started by knowmad, Today, 03:52 AM
|
1 response
19 views
0 likes
|
Last Post Today, 07:25 AM | ||
Started by llanqui, Yesterday, 03:51 PM
|
5 responses
23 views
0 likes
|
Last Post Today, 07:22 AM | ||
Started by MSerag, Yesterday, 11:52 PM
|
1 response
17 views
0 likes
|
Last Post Today, 07:18 AM | ||
Started by tradingnasdaqprueba, Today, 03:42 AM
|
1 response
18 views
0 likes
|
Last Post Today, 07:15 AM |
Leave a comment: