• 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 dtl-saw, Today, 08:50 PM
    0 responses
    1 view
    0 likes
    Last Post dtl-saw
    by dtl-saw
     
    Started by waterman, Today, 07:02 PM
    0 responses
    6 views
    0 likes
    Last Post waterman  
    Started by authenticx, Today, 03:51 PM
    0 responses
    16 views
    0 likes
    Last Post authenticx  
    Started by PN720, Today, 12:54 PM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by linuxguru, Yesterday, 05:59 PM
    1 response
    32 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X