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
Indicator for MA of Highs and Lows of bars not On The Close
Collapse
X
-
Indicator for MA of Highs and Lows of bars not On The Close
Hello, I know nothing about C# and have been searching for this indicator everywhere that I can think of. Any suggestions would be appreciated.Starts11-19-2023Ends11-24-2023 -
Hello Rancher,
Thanks for your notes.
To clarify, are you looking for an existing NinjaScript indicator that has say the SMA indicator calculate from the High price or Low price?
You could consider adding the SMA indicator to a chart window and setting the SMA indicator's 'Input series' property to calculate based on the High or Low instead of the Close.
See this demonstration video: https://brandonh-ninjatrader.tinytak...OV8yMjQyMDY3MQ
Brandon H.NinjaTrader Customer Service
-
Hello Rancher,
Thanks for your notes.
You would need to create your own custom indicator that uses Draw.Line() to draw lines on the chart at a specific value.
You asked this question on this forum thread. Please see the reply on this forum thread for more information. Also, ensure that you direct any futher questions on this topic to this forum thread.
https://forum.ninjatrader.com/forum/...t-close-of-bar
In regard to the Bollinger Bands question, yes, you could create a custom NinjaScript indicator to accomplish this.
To create a copy of the script to modify, open a New > NinjaScript Editor window, open the Indicators folder, double-click on the Bollinger file, right-click in the Bollinger script's code, select 'Save as', name the copy, and click OK.
Once you create a copy of the script you could modify the code to suit your needs.Last edited by NinjaTrader_BrandonH; 11-19-2023, 06:08 PM.Brandon H.NinjaTrader Customer Service
Comment
-
Comment
-
Hello Rancher,
Thanks for your notes.
Please follow the instructions below to see where the errors are coming from after compiling any indicator.
For NinjaTrader 8:- Open NinjaTrader
- From the Control Center select the New menu--> select NinjaScript Editor
- Right-click in the window and select Compile to compile all NinjaScript objects
- At the bottom of the NinjaScript Editor window, a new section will appear where you can find the error locations
- You can exclude the file referenced in the editor by double-clicking on the appropriate object type on the right of the NinjaScript Editor window. This will expand the object type folder. You can then select the file with a left-click--> right click on the object--> then select Open to begin debugging the file, Exclude From Compilation, or Remove to delete the file.
- To send a screenshot with Windows 7 or newer I would recommend using Windows Snipping Tool.
- Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
Please let us know if we may be of further assistance.Brandon H.NinjaTrader Customer Service
Comment
-
Hello Rancher,
Thanks for your notes.
Please write in to support[at]ninjatrader[dot]com to share a screenshot of the compile error messages with us so we may provide further direction.
In the subject of your email include 'Attn: BrandonH' and in the body of your email include a URL link to this forum thread.
I look forward to assisting further.Brandon H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,404 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
95 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
7 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
159 views
0 likes
|
Last Post Yesterday, 10:23 PM | ||
Started by Belfortbucks, Yesterday, 09:29 PM
|
0 responses
8 views
0 likes
|
Last Post
by Belfortbucks
Yesterday, 09:29 PM
|
Comment