Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Modified Current Day OHL Indicator Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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?

    #2
    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

    Comment


      #3
      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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      160 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      307 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      244 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      348 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      178 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X