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 techgetgame, Today, 11:42 PM
      0 responses
      5 views
      0 likes
      Last Post techgetgame  
      Started by sephichapdson, Today, 11:36 PM
      0 responses
      1 view
      0 likes
      Last Post sephichapdson  
      Started by bortz, 11-06-2023, 08:04 AM
      47 responses
      1,612 views
      0 likes
      Last Post aligator  
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      9 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      19 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Working...
      X