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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        659 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        374 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        579 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X