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 tkaboris, Today, 05:13 PM
      0 responses
      2 views
      0 likes
      Last Post tkaboris  
      Started by GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,281 views
      0 likes
      Last Post Leafcutter  
      Started by WHICKED, Today, 12:45 PM
      2 responses
      19 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Started by Tim-c, Today, 02:10 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Taddypole, Today, 02:47 PM
      0 responses
      5 views
      0 likes
      Last Post Taddypole  
      Working...
      X