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
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 DayTradingDEMON, Today, 11:25 PM
|
0 responses
3 views
0 likes
|
Last Post Today, 11:25 PM | ||
Started by Day_Storay1, Today, 09:06 PM
|
0 responses
6 views
0 likes
|
Last Post
by Day_Storay1
Today, 09:06 PM
|
||
Started by Rudmax, 07-02-2024, 05:40 AM
|
59 responses
1,056 views
1 like
|
Last Post
by QuantVPS
Today, 08:48 PM
|
||
Started by tomtom2000, Today, 12:56 PM
|
3 responses
18 views
0 likes
|
Last Post
by jabowery
Today, 07:45 PM
|
||
Started by stoner, 01-16-2020, 08:07 AM
|
20 responses
514 views
0 likes
|
Last Post
by IanS00
Today, 07:17 PM
|
Comment