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!
See more
See less

Partner 728x90

Collapse

Jurbol BB Macd with lines in +0.30 , - 0.30

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

    Jurbol BB Macd with lines in +0.30 , - 0.30

    Hello, I am currently using the Jurbol MACDBB indicator found in the following link:



    As with the zero line, I need to place a line at + 0.30 and a line at -0.30. Could you tell me the code I have to write in the NinjaScript editor or maybe do it for me?
    I think I just need to add the option, but I do not know the code.
    If you tell me how to do it, I'll appreciate it.

    Thank You.
    Attached Files
    Last edited by enriquefernandogomez; 10-01-2018, 01:30 AM.

    #2
    Hello enriquefernandogomez,

    Thanks for your post.

    If you do not wish to code, you can always add the lines by drawing using the horizontal line tool.

    To modify the indicator, you would need to go to line 66 and copy/paste that line twice below line 66, then change each to the values you specify and you will need to change the line name (the line name is how it will be shown in the indicator panel). Example:

    AddLine(Brushes.DarkGray, 0, "Zero line");
    AddLine(Brushes.DarkGray, 0.30, "plus thirty line");
    AddLine(Brushes.DarkGray, -0.30, "Minus thirtyline");

    After changing, right mouse click and select compile.

    After a successful compilation, you can apply the modified indicator to a chart.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello Paul, it has been excellent, thanks for the collaboration. Regards !

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by zstheorist, Today, 07:52 PM
      0 responses
      3 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      149 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Started by mattbsea, Today, 05:44 PM
      0 responses
      5 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      33 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      5 views
      0 likes
      Last Post tkaboris  
      Working...
      X