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
Modified Current Day OHL Indicator Help
Collapse
X
-
Modified Current Day OHL Indicator Help
Can someone provide code to create an indicator similar to the Current Day OHL, but that includes a user input parameter value that is added to the low and subtracted from the high, please?Tags: None
-
Hello ScorpioTravis,
I am not aware of any pre-existing indiator that would do this, but you may create a new Indicator from the source code of the CurrentDayOHL and add some custom code.
To do this go the Control Center -> Tools -> Edit NinjaScript -> Indicators. Then double left click on the indicator that you want to have the original code from for example the "CurrentDayOHL ". It will then open up the source code for the indicator. Right click inside the window and select Save As. Type in a name of your choosing then press "Save". Press the "OK" button. Now you have a new indicator based off the system indicator code that you can modify to add user defined variable for use with the High, Low calculations.
Here is a link to our Support Forums post that goes over created a user define variable that you may view.
Let us know if we can be of further assistance.JCNinjaTrader Customer Service
-
I considered that, but I though the padlock icon meant that those indicators were not accessible in the way that you described. Thanks for the tip.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by DJ888, 04-16-2024, 06:09 PM
|
4 responses
12 views
0 likes
|
Last Post
by DJ888
Today, 04:28 PM
|
||
Started by terofs, Today, 04:18 PM
|
0 responses
7 views
0 likes
|
Last Post
by terofs
Today, 04:18 PM
|
||
Started by nandhumca, Today, 03:41 PM
|
0 responses
6 views
0 likes
|
Last Post
by nandhumca
Today, 03:41 PM
|
||
Started by The_Sec, Today, 03:37 PM
|
0 responses
3 views
0 likes
|
Last Post
by The_Sec
Today, 03:37 PM
|
||
Started by GwFutures1988, Today, 02:48 PM
|
1 response
9 views
0 likes
|
Last Post Today, 03:09 PM |
Comment