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.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
601 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
347 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
559 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
558 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment