• 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

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 YevhenShynkarenko, Today, 02:55 AM
      0 responses
      14 views
      0 likes
      Last Post YevhenShynkarenko  
      Started by pjsmith, Today, 02:20 AM
      0 responses
      5 views
      0 likes
      Last Post pjsmith
      by pjsmith
       
      Started by faisamtrader, Yesterday, 10:03 PM
      0 responses
      7 views
      0 likes
      Last Post faisamtrader  
      Started by johnnybegoode, Yesterday, 08:11 PM
      0 responses
      4 views
      0 likes
      Last Post johnnybegoode  
      Started by Bionian, Yesterday, 02:47 PM
      2 responses
      24 views
      0 likes
      Last Post Bionian
      by Bionian
       
      Working...
      X