• 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 PageNotFound404, Today, 07:50 PM
    2 responses
    7 views
    0 likes
    Last Post bltdavid  
    Started by 1001111, Today, 07:16 PM
    0 responses
    4 views
    0 likes
    Last Post 1001111
    by 1001111
     
    Started by shathi1, Today, 06:49 PM
    0 responses
    12 views
    0 likes
    Last Post shathi1
    by shathi1
     
    Started by rjsjr64, Today, 04:25 PM
    4 responses
    24 views
    0 likes
    Last Post rjsjr64
    by rjsjr64
     
    Started by magnatauren, Today, 05:19 PM
    0 responses
    11 views
    0 likes
    Last Post magnatauren  
    Working...
    X