Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Remove "Break at EOD" Property in NinjaScript

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

    Remove "Break at EOD" Property in NinjaScript

    Hi Support

    I am editing a BarsType and wish to remove the property "Break at EOD" from even appearing in the data series when loading a chart, please advise how I can do this, I have already tried:
    Properties.Remove(Properties.Find("BreakatEOD", false));

    But this does nothing.

    Please provide line of code to effectively remove Break at EOD

    You can provide example code on any bar type.
    Attached Files

    #2
    Hello TrendFollowingCapital,

    Thanks for your post.

    Thanks for your question.

    Properties.Remove can only be used for properties found in the Properties collection. Printing out this collection, we have the following PropertyDescriptors available for BarsTypes.

    BarsPeriodType
    BarsPeriodTypeSerialize
    BarsPeriodTypeName
    BaseBarsPeriodType
    BaseBarsPeriodValue
    MarketDataType
    PointAndFigurePriceType
    ReversalType
    Value
    Value2

    In its current form, we could not use Properties.Remove to hide Break At EOD. We do have a feature request to be able to perform property grid modifications with the same ability we have with Indicators and Strategies. The ticket ID is SFT-1870, I'll add a vote on your behalf. Please note that we collect interest behind feature requests before implementation is considered. For that reason we cannot offer an ETA or promise of fulfillment.

    We look forward to assisting.
    JimNinjaTrader Customer Service

    Comment


      #3
      Ok thanks, will be great to have that option to remove default properties especially for highly advanced bar types.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by myapsgs, Today, 10:40 AM
      0 responses
      1 view
      0 likes
      Last Post myapsgs
      by myapsgs
       
      Started by localappleseed, Today, 10:12 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by DTSSTS, Today, 09:59 AM
      0 responses
      7 views
      0 likes
      Last Post DTSSTS
      by DTSSTS
       
      Started by stewarco, Today, 09:47 AM
      2 responses
      6 views
      0 likes
      Last Post stewarco  
      Started by koganam, Today, 09:20 AM
      5 responses
      20 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Working...
      X