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 f.saeidi, Today, 11:02 AM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by geotrades1, Today, 10:02 AM
      4 responses
      12 views
      0 likes
      Last Post geotrades1  
      Started by rajendrasubedi2023, Today, 09:50 AM
      3 responses
      16 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by lorem, Today, 09:18 AM
      2 responses
      11 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by geddyisodin, Today, 05:20 AM
      4 responses
      30 views
      0 likes
      Last Post geddyisodin  
      Working...
      X