Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Past Signals Not Showing

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

    Past Signals Not Showing

    I added a strategy I built to my chart but it only shows the most recent signal and not any previous ones. For now, I'm using the strategy to simply add an arrow to the chart only (it doesn't place any orders). What setting do I need to change so it shows all previous signals on the chart? Thanks.

    #2
    Hello josef,

    Thanks for opening the thread.

    When you enable a strategy, OnBarUpdate() will begin processing historical data and then start processing real time data. The trades executed by the strategy that were filled historically will display on the chart that you apply the strategy to.

    This behavior will allow you to see the historical trades generated by the strategy within the data series and Days to Load you apply the strategy to.

    If you are not seeing trades for the strategy, I suggest to observe the strategy's current position to see if it is in a historical position that would not allow it to enter more trades.

    If the strategy behavior is not presenting the expected behavior, I suggest to debug the code by adding prints to observe if certain logic is firing and to observe the variables that are controlling the entry logic are valid to allow entry. the Playback connection can be very useful in repeating scenarios to test further.

    Debugging - http://ninjatrader.com/support/forum...ead.php?t=3418

    Playback Connection - http://ninjatrader.com/support/helpG...connection.htm

    Please let me know if I may be of further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      When I watch it in real time it will signal correctly placing the arrow at the correct spot however once a new signal is generated it will remove the previous signal's arrow and place an arrow at the most recent signal. Why is it removing old signals that it correctly has marked?

      Comment


        #4
        Confusing instances of past arrow not showing

        If you change the arrow to a set background color all instances will show. For some reason in Ver 8 only the last two instances of an event are shown for most Actions. To get around your arrow problem go to your action box where you selected the arrow, and on the tag line Enter + and then select "set"then in the new box select set again then MISC and current bar. This gives a unique name to each instance of your signal.

        Comment


          #5
          Perfect. Thank you.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DTSSTS, Today, 11:35 AM
          0 responses
          1 view
          0 likes
          Last Post DTSSTS
          by DTSSTS
           
          Started by op1031, Yesterday, 05:16 PM
          1 response
          8 views
          0 likes
          Last Post NT-Roland  
          Started by sinpeople, Today, 07:20 AM
          1 response
          3 views
          0 likes
          Last Post NT-Roland  
          Started by Frank1000, Today, 03:05 AM
          1 response
          8 views
          0 likes
          Last Post NT-Roland  
          Started by ntdev, Today, 01:14 AM
          4 responses
          16 views
          0 likes
          Last Post ntdev
          by ntdev
           
          Working...
          X