Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bar Paints

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

    Bar Paints

    Hi,

    I have an indicator which paints the candle inside the indicator region when there is a divergence. It also paints the main chart candle at the same time.

    It kinda works, and it always paints the indicator region whatever. It does not however paint the candle in the main chart if the chart is not to front. IE: If there is another chart in front of it, then the candle in the main chart will not paint… is this a known issue? Also if the chart is minimised on the dock, only the indicator candle paints.

    What could cause this?

    #2
    Hi ScottieDog,

    Can you clarify main chart candle vs indicator candle?

    Are you using two panels? Are you creating candles with your script by overwriting the Plot method?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi.

      2 panels yes. the main chart is panel 1, indicator is in panel 2.

      Not sure about the creating candles with the script by overwriting the plot method, I didn´t write it.

      The main chart panel candles should paint whenever the indicator in panel 2 paints. Panel 2 is showing cumulative volume, not price. Panel 1 is showing price, as standard.
      Last edited by ScottieDog; 07-07-2014, 09:28 AM.

      Comment


        #4
        Hi ScottieDog,

        I've made a test script to test this and a quick video of testing this.

        I am not able to reproduce this issue. Are you able to reproduce this using the test script that I have made?
        http://screencast.com/t/KHALnu8B2wGF

        My I have a script that is reduced to just the necessary code to reproduce this as an export?

        To export your script do the following:
        1. Click File -> Utilities -> Export NinjaScript
        2. Enter a unique name for the file in the value for 'File name:'
        3. Select the strategy from the objects list on the left -> click the right facing arrow ">" to add the strategy to the export
        4. Click the 'Export' button -> click 'yes' to add any referenced indicators to the export -> click OK to clear the export location message


        By default your exported file will be in the following location:
        • (My) Documents/NinjaTrader 7/bin/Custom/ExportNinjaScript/<export_file_name.zip>


        Below is a link to the help guide on Exporting NinjaScripts.
        http://www.ninjatrader.com/support/h...nt7/export.htm
        Attached Files
        Last edited by NinjaTrader_ChelseaB; 07-07-2014, 09:36 AM.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        149 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        84 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        129 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        125 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        102 views
        0 likes
        Last Post CarlTrading  
        Working...
        X