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 rocketman7, Today, 09:41 AM
      4 responses
      15 views
      0 likes
      Last Post rocketman7  
      Started by selu72, Today, 02:01 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Zachary  
      Started by WHICKED, Today, 02:02 PM
      2 responses
      12 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Started by f.saeidi, Today, 12:14 PM
      8 responses
      21 views
      0 likes
      Last Post f.saeidi  
      Started by Mikey_, 03-23-2024, 05:59 PM
      3 responses
      51 views
      0 likes
      Last Post Sam2515
      by Sam2515
       
      Working...
      X