Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chartstyle with Bid-Ask-Last data

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

    Chartstyle with Bid-Ask-Last data

    I am looking for any possibility to create a specific chartstyle in which the color of the bar will depend on the Bid and Ask data.
    For example, I'd like to colorize the bar like the indicators BuySellPressure or BuySellVolume.

    Is it possible ?
    If yes, how can i get the real-time data in Chartstyle ? any suggestion ?

    For info, I am getting a CS0115 error when trying to compile OnMarketData in chartsyle script...

    #2
    Hello alizes,

    Thanks for your post and welcome to the forums!

    Right, you would not have access to OnMarketData in chartstyle.

    Your best bet here would be to create an indicator that accesses the needed data and paints the bars using BarBrushes: http://ninjatrader.com/support/helpG...barbrushes.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello Paul,

      Yes and this is a good suggestion. I appreciate.

      It's equivalent to painting on the paint ...
      the good thing is I will have at least the main indication for an entire bar.
      With the chartstyle, I was trying to see the possibility of painting differently every tick-range of the same bar.

      Thanks again.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by mattbsea, Today, 05:44 PM
      0 responses
      3 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      31 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      2 views
      0 likes
      Last Post tkaboris  
      Started by GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,282 views
      0 likes
      Last Post Leafcutter  
      Started by WHICKED, Today, 12:45 PM
      2 responses
      20 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Working...
      X