Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator for visible bars only

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

    Indicator for visible bars only

    can you think of another way I can program it so I'd be able to scroll and see the rays being drawn one at a time, with each new bar, instead of all at once? I have tried to accomplish this by changing the end date of the data to get one new day at a time and see the effect but that takes such a long time. scrolling would be the best.

    Thanks for any help
    Last edited by stockgoblin; 04-22-2012, 08:17 AM.

    #2
    Originally posted by stockgoblin View Post
    Hi, I have a custom indicator that draws rays from the highs of each bar. The chart looks great all at once but I'd like to be able to scroll it and see the indicator develop at each new bar. I also need to see into the future of the chart. So, I use a high value for the right side margin and I can see the future area. I can scroll the bars back and forth but my indicator shows the rays for all the data, visible and invisible. Is there a way to change the indicator so it only draws a ray for the visible bars while scrolling? Or, can you think of another way I can program it so I'd be able to scroll and see the rays being drawn one at a time, with each new bar, instead of all at once? I have tried to accomplish this by changing the end date of the data to get one new day at a time and see the effect but that takes such a long time. scrolling would be the best.

    Thanks for any help
    Look at the code for my Heiken-Ashi indicator. It uses that technique. Search the indicators section of the forum.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    597 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    555 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X