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
Draw objects on panel 2
Collapse
X
-
Draw objects on panel 2
Hi, I'm wanting to draw lines on the panel 2 on the ADX indicator lines. Is this possible?Tags: None
-
Hello shildebrand324,
Thanks for your post.
You could set DrawOnPricePanel to false inside the OnStateChange method when the State == State.SetDefaults.
See this help guide page for more information: https://ninjatrader.com/support/help...pricepanel.htm
Let us know if we may assist further.Brandon H.NinjaTrader Customer Service
-
I’m hoping for a sample of drawing lines between to points on the macd, based on pivots on the main price panel
Comment
-
Hello shildebrand324,
Thanks for your note.
We do not have a reference sample available that demonstrates drawing lines between two points of the MACD indicator and basing the calculation of those lines on the Pivots indicator.
Unfortunately, in the support department at NinjaTrader it is against our policy to create, debug, or modify, code or logic for our clients. Further, we do not provide C# programming education services in our support. This is so that we can maintain a high level of service for all of our clients as well as our partners.
The Draw.Line method could be used to draw lines on a chart. You could use the Pivots indicator to calculate where the line is drawn. If you would like those lines to be drawn in panel 2 with the MACD indicator, you would need to set DrawOnPricePanel to false.
See the following help guide documentation which you may find helpful.
Draw.Line: https://ninjatrader.com/support/help.../draw_line.htm
DrawOnPricePanel: https://ninjatrader.com/support/help...pricepanel.htm
MACD: https://ninjatrader.com/support/help...gence_macd.htm
Pivots: https://ninjatrader.com/support/help...nt8/pivots.htm
This forum thread will be open for other community members to share their insight.
You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. If you would like our NinjaTrader Ecosystem team follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request, please reach out to vendorsupport[AT]ninjatrader.com.
Let us know if we may assist further.Brandon H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by usasugardefender, Today, 01:42 AM
|
0 responses
1 view
0 likes
|
Last Post Today, 01:42 AM | ||
Started by haas88, 03-21-2024, 02:22 AM
|
15 responses
182 views
0 likes
|
Last Post
by haas88
Today, 01:29 AM
|
||
Started by brianfnoel, Today, 01:24 AM
|
0 responses
6 views
0 likes
|
Last Post
by brianfnoel
Today, 01:24 AM
|
||
Started by bill2023, Yesterday, 08:21 AM
|
2 responses
14 views
0 likes
|
Last Post
by bill2023
Today, 01:04 AM
|
||
Started by ynoldsany, Today, 01:00 AM
|
0 responses
3 views
0 likes
|
Last Post
by ynoldsany
Today, 01:00 AM
|
Comment