The current study I'm doing is only generated on the last bar. When a new bar comes in, the study redraws all indicators on previous bars. Where indicators are drawn on past bars can be changed because of the new bar.
This all works more-or-less fine with a price study using the drawing functions.
However, because my study is complex and has multiple stages, I need to "link" studies. Basically, the price study above determines a recent range of the chart that needs further analysis. (I can pass this info via a global variable, so that should be ok.) At this point I really need a non-price study that isn't scaled the same as the price chart.
Problem is, I can't figure out how to back-adjust a non-price study and none of the drawing functions work either.
What I really need is all the functionality of a price study (changing stuff on previous "bars" and support for drawing functions anywhere on the study), but in a window separate from the price window and with it's own scaling. (The non-price study seems awfully rigid.)
Or, am I missing something? (Based on recent posts, it seems I'm not the only person doing these types of "adjust the indicator in the past based on the latest bar" studies.)
This all works more-or-less fine with a price study using the drawing functions.
However, because my study is complex and has multiple stages, I need to "link" studies. Basically, the price study above determines a recent range of the chart that needs further analysis. (I can pass this info via a global variable, so that should be ok.) At this point I really need a non-price study that isn't scaled the same as the price chart.
Problem is, I can't figure out how to back-adjust a non-price study and none of the drawing functions work either.
What I really need is all the functionality of a price study (changing stuff on previous "bars" and support for drawing functions anywhere on the study), but in a window separate from the price window and with it's own scaling. (The non-price study seems awfully rigid.)
Or, am I missing something? (Based on recent posts, it seems I'm not the only person doing these types of "adjust the indicator in the past based on the latest bar" studies.)
Comment