Announcement
Collapse
No announcement yet.
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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
581 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
338 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment