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 rhyminkevin, Today, 04:58 PM
|
3 responses
50 views
0 likes
|
Last Post
by Anfedport
Today, 05:24 PM
|
||
Started by iceman2018, Today, 05:07 PM
|
0 responses
5 views
0 likes
|
Last Post
by iceman2018
Today, 05:07 PM
|
||
Started by lightsun47, Today, 03:51 PM
|
0 responses
7 views
0 likes
|
Last Post
by lightsun47
Today, 03:51 PM
|
||
Started by 00nevest, Today, 02:27 PM
|
1 response
14 views
0 likes
|
Last Post
by 00nevest
Today, 03:48 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
4 responses
50 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
Comment