Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Change wick size indicator
Collapse
X
-
Thanks for your post ballboy11.
This would not be supported since this code is not locked into documentation, but you may try accessing the the ChartStyle's properties through ChartBars.Properties.ChartStyle.
I would recommend storing this value to a temporary variable and resetting it to the temporary value in State.Terminated so the script does not permanently modify the chart's candlestick wick thickness.
Stroke represents the outline when Stroke2 represents the wick.
You also would likely need to check that the ChartStyle is in fact the ChartStyleType that you wish to modify so you do not adversely modify another ChartStyle where this modification may not be needed. Printing the ChartStyleType could help provide some further direction for writing the necessary logic.
Print(ChartBars.Properties.ChartStyle.ChartStyleTy pe.ToString());
As mentioned, this code is not documented and is not supported. We could not offer further direction for usage and there may be changes that render this type of code non-functional. If you would like to do more experimenting with unsupported code, I would suggest using Intelliprompt to get further information on properties and methods available in NinjaScript objects.
Intelliprompt - https://ninjatrader.com/support/help...elliprompt.htm
If there is another item surrounding supported NinjaScript you would like assistance with, we will be happy to assist you further. Otherwise, you may refer to community members for further input.Last edited by NinjaTrader_Jim; 10-04-2018, 11:25 AM.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
32 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
195 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
356 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
277 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment