Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Custom bar, input value as double?

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

    Custom bar, input value as double?

    Hi, I can create a custom bar and change the name of value

    SetPropertyName("Value", "Own Input");

    but how to get input as double value for custom bar (currently it is int but if something like 0.5 would be needed)



    #2
    Hello raffu,

    Thanks for your question.

    Inputs for BarsTypes will be fixed for the existing properties, which are all integer types.

    You could try converting that integer to a double inside the BarsType code, but we would not be able to add our own custom properties to the BarsType.

    We have an enhancement request to allow creating custom inputs in a BarsType (Further than what can be done with SetPropertyName and RemoveProperty) and I have added a vote on your behalf.

    The ticket ID is SFT-1269. This is an internal number, but for anyone else wishing to have their interest tracked, please let our support staff know that you would like a vote added for this request.

    Feature Request Disclaimer

    We receive many requests and cannot reasonably implement all requested features or changes. Interest is tracked internally and if enough interest is tracked, it would be weighed against how feasible it would be to make those changes to consider implementing. As such we cannot offer an ETA or promise of fulfillment.

    When new features are implemented, they will be listed in the Release Notes page of the Help Guide. The ID number will be different than the internal feature request tracking ID, but the description of the feature will let you know if that feature has been implemented.

    Release Notes - https://ninjatrader.com/support/help...ease_notes.htm


    Let us know if you have any questions.
    JimNinjaTrader Customer Service

    Comment


      #3
      Thank you. (That SFT number was useful)

      - m

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by timmbbo, Today, 08:59 AM
      2 responses
      10 views
      0 likes
      Last Post bltdavid  
      Started by alifarahani, Today, 09:40 AM
      6 responses
      40 views
      0 likes
      Last Post alifarahani  
      Started by Waxavi, Today, 02:10 AM
      1 response
      18 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by Kaledus, Today, 01:29 PM
      5 responses
      15 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Waxavi, Today, 02:00 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Working...
      X