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

Plot Style/Pen question

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

    Plot Style/Pen question

    I need some help with an indicator that I compiled. It's pretty much doing what I wanted it to do with the exception that I cannot change the plot style and pen in the indicator box. It only takes whatever I change in the "Average" Plots and then also applies it to "Falling" and "Rising" plots.

    As an example and to clarify: "Falling" should draw "Dots" with a size of "3". "Rising" should draw triangles with a size of "8" - but it just takes the values from "Average" and draws triangles with a size of "6" for all three Plots.

    How do I need to change the code so I can adjust style and plot individually in the indicator box

    The image enclosed includes the code I use.

    sandman
    Attached Files

    #2
    Hello sandman,

    Thank you for your note.

    Without the full code we're unable to test on our end.

    If you'd like to upload the full code I can take a look and see if anything jumps out. Or if you'd prefer to email a copy, send to platformsupport[at]ninjatrader[dot]com with Attn: Alan P in the Subject line. Also within the email please include a link to this thread, and the files.

    To export a NinjaScript from NinjaTrader 7 do the following:
    From the Control Center window select File -> Utilities-> Export NinjaScript...
    Select the file in the left column then click “>”, then press export and name the file.
    Then attach that file you saved; under My Docs>NT7>Bin>Custom>Select the downloaded .zip file.

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      You would need to go back to the older NT6.5 way of joining plots together for different colors, widths, styles.
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by elderan, Today, 08:03 PM
      0 responses
      3 views
      0 likes
      Last Post elderan
      by elderan
       
      Started by algospoke, Today, 06:40 PM
      0 responses
      10 views
      0 likes
      Last Post algospoke  
      Started by maybeimnotrader, Today, 05:46 PM
      0 responses
      9 views
      0 likes
      Last Post maybeimnotrader  
      Started by quantismo, Today, 05:13 PM
      0 responses
      7 views
      0 likes
      Last Post quantismo  
      Started by AttiM, 02-14-2024, 05:20 PM
      8 responses
      169 views
      0 likes
      Last Post jeronymite  
      Working...
      X