Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Add buttons to toggle between snap modes
Collapse
X
-
Add buttons to toggle between snap modes
Hi, would you be able to help please with a code to add 2 buttons to the chart? One button for disabling snap mode, and the other for snap mode bar and price? I dont have any coding knowledge but have tried editing some other indicators and even ChatGPT's help but failed. Thanks!Tags: None
-
Hello wings,
Adding buttons to the chart is a fairly involved task that does require some coding knowlege for both C#/WPF and NinjaScript. There are some samples on the forum that can help for learning how to modify the user interface which I have linked below.
Regarding the snap mode, unfortunately there is nothing documented/support that I could recommend to toggle that setting. There is currently no NinjaScript specific method or property to interact with that menu and its options.
JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cupir2, Yesterday, 06:49 PM
|
0 responses
11 views
0 likes
|
Last Post
![]()
by cupir2
Yesterday, 06:49 PM
|
||
Started by cupir2, Yesterday, 06:45 PM
|
0 responses
7 views
0 likes
|
Last Post
![]()
by cupir2
Yesterday, 06:45 PM
|
||
Started by mathfrick2023, 05-08-2025, 12:51 PM
|
7 responses
47 views
0 likes
|
Last Post
![]() |
||
Started by 1001111, Yesterday, 07:12 AM
|
1 response
15 views
0 likes
|
Last Post
![]()
by 1001111
Yesterday, 02:20 PM
|
||
Started by Pope_Finance_II, Yesterday, 02:19 PM
|
0 responses
10 views
0 likes
|
Last Post
![]() |
Comment