• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 Sh00tHerMcGavin, Today, 07:39 PM
        0 responses
        1 view
        0 likes
        Last Post Sh00tHerMcGavin  
        Started by Mberg, Today, 05:13 PM
        0 responses
        0 views
        0 likes
        Last Post Mberg
        by Mberg
         
        Started by Barry Milan, Today, 01:33 PM
        2 responses
        8 views
        0 likes
        Last Post marcus2300  
        Started by NW Trader, Today, 03:42 PM
        2 responses
        7 views
        0 likes
        Last Post NW Trader  
        Started by ralett, Today, 01:42 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Working...
        X