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
opening price + formula to print horizonal line
Collapse
X
-
opening price + formula to print horizonal line
Hello, i have been using the opening price indicator and would like a way to add a math formula to the opening price and print it as a horizonal line but do not understand a way to do it. If anyone can help me that would be great. Here is the indicator that i am using: Opening Price (R1) - NinjaTrader EcosystemTags: None
-
Hello kass2112,
Thanks for your post.
To modify the OpeningPrice indicator you linked to, you could open a New > NinjaScript Editor window, open the Indicators folder, and double-click on the 'OpeningPrice' indicator file you mentioned.
Then, you could program your custom calculations into the indicator script and call the Draw.HorizontalLine() method to draw a horizontal line on the chart at a specified value.
See the help guide documentation below for more information.
NinjaScript Editor: https://ninjatrader.com/support/help...nt8/editor.htm
Draw.HorizontalLine(): https://ninjatrader.com/support/help...zontalline.htmBrandon H.NinjaTrader Customer Service
- Likes 1
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by llanqui, Today, 03:53 AM
|
0 responses
4 views
0 likes
|
Last Post
by llanqui
Today, 03:53 AM
|
||
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
10 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
14 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
14 views
0 likes
|
Last Post Yesterday, 07:51 PM |
Comment