Alexis, I have a question about this thread. I have been working with multiple time frames using the percentR study. I found this thread, which you mentioned in another thread in the Wizard sub-forum. It gives great info, but leaves me with a follow-on question.
I am bringing a longer-interval study (eg 5min) into a shorter-interval chart (eg 1min) and using it to test conditions that change bar background color or draw shapes or text. As you describe, conditions within the longer-interval sometimes create conditions which meet the criteria, and so when the 1-min bar closes, it draws the pertinent color or the shape. But sometimes when the 5min interval ends, the conditions have changed and the color or shape is no longer valid. I understand all that, so far.
What I would like, is . . . . when the 5min interval closes, I would like to have the study somehow go back and paint all 5 bars with the color that meets the conditions when the 5min interval closed (the final conditions). Or to have the interim text or interim shapes (that drawn after each interim 1min bar close) be cleared or wiped away. So when the 5min interval closes, I want the chart to have the color and shapes/text for all 5 1min bars that meet the conditions evident when the 5min interval closed.
Of course, that is exactly what I get when I reload the efs, as you mention. But what I would like would be a way for the efs automatically to go back and 'fix' the 1min bars after the 5min interval closes (instead of me having to do it).
Is there a way to re-draw the past "X" number of bars from inside an efs? Is there any other way to accomplish this?
Thanks you very much. Joe
I am bringing a longer-interval study (eg 5min) into a shorter-interval chart (eg 1min) and using it to test conditions that change bar background color or draw shapes or text. As you describe, conditions within the longer-interval sometimes create conditions which meet the criteria, and so when the 1-min bar closes, it draws the pertinent color or the shape. But sometimes when the 5min interval ends, the conditions have changed and the color or shape is no longer valid. I understand all that, so far.
What I would like, is . . . . when the 5min interval closes, I would like to have the study somehow go back and paint all 5 bars with the color that meets the conditions when the 5min interval closed (the final conditions). Or to have the interim text or interim shapes (that drawn after each interim 1min bar close) be cleared or wiped away. So when the 5min interval closes, I want the chart to have the color and shapes/text for all 5 1min bars that meet the conditions evident when the 5min interval closed.
Of course, that is exactly what I get when I reload the efs, as you mention. But what I would like would be a way for the efs automatically to go back and 'fix' the 1min bars after the 5min interval closes (instead of me having to do it).
Is there a way to re-draw the past "X" number of bars from inside an efs? Is there any other way to accomplish this?
Thanks you very much. Joe
Comment