• 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

Programatically change bar type

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

    Programatically change bar type

    Hi,

    Question 2

    Is it possible to programatically change the bar type in real-time? For instance, user has bar type set to hollow candles - Can my indicator change it to standard candles (or any other bar type including custom) ?

    Thanks.

    #2
    Hello pjsmith,

    This is not currently possible, I believe you are referring to the ChartStyle here rather than the BarType but in either case you cannot dynamically change them. The DataSeries window controls both the BarsType and the ChartStyle properties which are not specifically exposed to NinjaScript in a way that they could be set.

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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by asmmbillah, Today, 02:23 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by steveg, Today, 02:44 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by BatBart, Today, 01:24 PM
    1 response
    12 views
    0 likes
    Last Post Jonsey529  
    Started by lightsun47, Today, 12:33 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by Woomera, Today, 12:21 PM
    2 responses
    9 views
    0 likes
    Last Post Woomera
    by Woomera
     
    Working...
    X