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 stafe, 04-15-2024, 08:34 PM
      9 responses
      42 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by frslvr, 04-11-2024, 07:26 AM
      7 responses
      111 views
      1 like
      Last Post caryc123  
      Started by rocketman7, Today, 09:41 AM
      3 responses
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by traderqz, Today, 09:44 AM
      2 responses
      5 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by rocketman7, Today, 02:12 AM
      7 responses
      31 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X