• 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

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 ct, Today, 08:13 PM
      0 responses
      4 views
      0 likes
      Last Post ct
      by ct
       
      Started by Lumbeezl, Today, 05:17 PM
      0 responses
      6 views
      0 likes
      Last Post Lumbeezl  
      Started by wishing, Today, 03:33 PM
      0 responses
      10 views
      0 likes
      Last Post wishing
      by wishing
       
      Started by ATMtrader0001, Today, 01:48 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by RandanAL, Yesterday, 05:13 PM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Kate  
      Working...
      X