Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

HiLo Price bar with dot that floats with price??

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

    HiLo Price bar with dot that floats with price??

    I am using a 610 tick chart with hilo bars. Is there a way or an indicator out there in which a dot on the hilo bar actively floats with price. I figured out how to get a static dot (EMA with period of 1) on bar close but I want the dot to actively move on the bar until it closes.

    thanks for any help

    #2
    Hello,
    If you have the indicator set to CalculateOnBarClose = false you could create a dot drawing object that will update with each oncoming tick.

    For example:
    Code:
    protected override void Initialize()
    {
        CalculateOnBarClose = false;
    }
    protected override void OnBarUpdate()
    {
       DrawDot("myDot", true, 0, Close[0], Color.Red);
    }
    If we can be of any other assistance please let us know.
    Cody B.NinjaTrader Customer Service

    Comment


      #3
      oh man, yeah...didn't even consider that. thanks! i got it going now.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by geotrades1, Today, 10:02 AM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by ender_wiggum, Today, 09:50 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by rajendrasubedi2023, Today, 09:50 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by bmartz, Today, 09:30 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by geddyisodin, Today, 05:20 AM
      3 responses
      26 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X