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 arvidvanstaey, Today, 02:19 PM
      4 responses
      11 views
      0 likes
      Last Post arvidvanstaey  
      Started by samish18, 04-17-2024, 08:57 AM
      16 responses
      61 views
      0 likes
      Last Post samish18  
      Started by jordanq2, Today, 03:10 PM
      2 responses
      9 views
      0 likes
      Last Post jordanq2  
      Started by traderqz, Today, 12:06 AM
      10 responses
      18 views
      0 likes
      Last Post traderqz  
      Started by algospoke, 04-17-2024, 06:40 PM
      5 responses
      48 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X