Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Defaults variables of MarketAnalyzerColumns...

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

    Defaults variables of MarketAnalyzerColumns...

    Hello, I would like define defaults variables of Market Analyzer Columns in #region Properties...

    for example:
    IsTickReplays[0] --- > public bool IsTickReplay { get; set; }
    Calculate --- > public Calculate Calculate { get; set; }

    BUTt I need these:
    BarsPeriod.MarketDataType --- > public ??? ??? { get; set; }
    BarsPeriod.BarsPeriodType --- > public ??? ??? { get; set; }
    BarsPeriod.Value --- > public ??? ??? { get; set; }

    #2
    Hello phesi,

    Thank you for the question.

    The bar series values cannot be set from a script, this would be set up when you apply the column in the market analyzer.

    For setting bar series defaults you can instead use a Preset. In the dialog you can choose the settings you wanted and then click in the lower right Preset -> save. This will save the bar series defaults for future use.



    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thank you for the reply...
      But I need hide this parameters from Properties, so user cant not change it...

      I wanted to do it as forexample as:
      [Browsable(false)] public Calculate Calculate { get; set; }

      ... but I understand your reply :/

      Is some way how I can do it?

      Comment


        #4
        Hello phesi,

        There is no suggestion I could make there, the default properties should be left alone in regard to visibility. If you created a new property named Calculate that will impact how your script sees the Calculate property as you are no longer referencing the base property. If you feel confident that you can re implement the members correctly and utilize the base values correctly you can try this but I would not be able to provide help with that type of programming.

        For the described situation where users should use your item in a specific way I would suggest to educate the user on how to utilize the item correctly. The analyzer column specifically does not have a template which can be saved as a file, normally I would suggest to include the template with your export whoever that wont apply for a single column. You could include an overall market analyzer template though which would include the column configuration. A template could be included in the export using the directions here replacing Chart with MarketAnalyzer: https://ninjatrader.com/support/help...ChartTemplates



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

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by tornadoatc, Today, 01:23 PM
        0 responses
        5 views
        0 likes
        Last Post tornadoatc  
        Started by Akee5, Today, 12:46 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Started by XM010-3841, Today, 12:57 PM
        0 responses
        3 views
        0 likes
        Last Post XM010-3841  
        Started by sdauteuil, Today, 12:44 PM
        0 responses
        5 views
        0 likes
        Last Post sdauteuil  
        Started by franco12364, Today, 12:07 PM
        1 response
        4 views
        0 likes
        Last Post sdauteuil  
        Working...
        X