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 benmarkal, Yesterday, 12:52 PM
      3 responses
      22 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by helpwanted, Today, 03:06 AM
      1 response
      18 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      11 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      6 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      244 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Working...
      X