Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Prior Day,Week,Month Indicator

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

    Prior Day,Week,Month Indicator

    I have been going around in circles, hopefully someone here can help me. I am writing an indicator that displays the previous day, week and month high and lows but for some reason it is not display the current data.
    Attached Files

    #2
    Hello cutzpr,

    Thank you for your note.

    Are you seeing any errors in the log tab when you apply the indicator?

    It looks like you are passing a negative value for a bars ago value,

    Code:
      Draw.Text(this, "prMonthLow", false, "prMonthLow",[B] -1, [/B]prMonthLow, 5, Brushes.Red, TagFont, TextAlignment.Left, Brushes.
    Negative bar indexes are not supported in NT8. If you get rid of the negative, do you see the values?

    If you comment out line 138, requiring IsFirstTickOfBar,

    Code:
    //if (IsFirstTickOfBar)
    Do you see text?

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      I am finding this indicator isn't outputting anything. Were you able to correct the issue you were having?

      I'm finding that the only way to determine the prior week/month OHLC is to have a ton of intraday data loaded. Which is unfortunate.

      I would love to simply add a Monthly data series and look at the previous bar for the last OHLC, but it doesn't seem as simple as that.
      Last edited by neoikon; 04-26-2018, 10:39 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sjsj2732, Yesterday, 04:31 AM
      0 responses
      26 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      283 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      280 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      131 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      90 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X