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
NT7. Add space to bottom of the chart.
Collapse
X
-
Originally posted by Dzammer View PostHow can i do this in code? I need some space for data placement. Thank you.
Panel
The panel the indicator is plotted on. If you select Same as input series the indicator will be linked to the input series and automatically move with the input series if it is modified to a different panel.
Set overlay false?
-
Originally posted by sledge View PostWould putting it in a different panel be the solution you are looking for?
Panel
The panel the indicator is plotted on. If you select Same as input series the indicator will be linked to the input series and automatically move with the input series if it is modified to a different panel.
Set overlay false?
https://ninjatrader.com/support/help...7/?overlay.htm
No. I want to do something like in attach, but in code.
Comment
-
Hello Dzammer,
What you are wanting to achieve would not be supported within NinjaScript. This does seem to be achievable through unsupported code and the ChartScale Indicator that I have found does seem to do something similar. ChartScale is not preconfigured in NinjaTrader but is available to import as it is a user uploaded indicator and is available at the following link: http://ninjatrader.com/support/forum...d=4&linkid=467
To Import
Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
From the Control Center window select the menu File> Utilities> Import NinjaScript
Select the downloaded .zip file
NinjaTrader will then confirm if the import has been successful.
Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'
Once installed, you may add the indicator to a chart by:
Right click you chart > indicators > Select the Indicator from the list on the left > New > OK
You can view the code for the ChartScale after it is imported by going to Tools > Edit NinjaScript > Indicator > Select ChartScale > Press OK.
Please let me know if I can be of further assistance.Cody B.NinjaTrader Customer Service
Comment
-
Hello,
It looks as though the developer of this is using the DrawText() objects as a work around to scale as they have the DrawText() object appear transparent and auto scale. I am seeing that it does scale for me as desired when I utilize this.
Another option would be to use the DrawHorizontalLine() method to draw a transparent line that autoscale so that there is additional space.Cody B.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_CodyB View PostHello,
It looks as though the developer of this is using the DrawText() objects as a work around to scale as they have the DrawText() object appear transparent and auto scale. I am seeing that it does scale for me as desired when I utilize this.
Another option would be to use the DrawHorizontalLine() method to draw a transparent line that autoscale so that there is additional space.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by kevinenergy, 02-17-2023, 12:42 PM
|
118 responses
2,777 views
1 like
|
Last Post
by kevinenergy
Today, 05:41 AM
|
||
Started by briansaul, Today, 05:31 AM
|
0 responses
5 views
0 likes
|
Last Post
by briansaul
Today, 05:31 AM
|
||
Started by fwendolynlpxz, Today, 05:19 AM
|
0 responses
4 views
0 likes
|
Last Post Today, 05:19 AM | ||
Started by traderqz, Yesterday, 12:06 AM
|
11 responses
28 views
0 likes
|
Last Post Today, 05:11 AM | ||
Started by PaulMohn, Today, 03:49 AM
|
0 responses
8 views
0 likes
|
Last Post
by PaulMohn
Today, 03:49 AM
|
Comment