molanisfx wrote:
Alger, tale into account that daily amounts may not show up in lower time frames. The indicator does work but you do not see the value - the issue is a scale problem.
The lower time frames show a scale close to the prices in that chart. If the low/high of the previous day is too different/far from the current price you won't see it. You may see it if you zoom out the chart.
If I remember correctly (it's been a while since I built an MTF indi in TIB), TIB code modified in this fashion produces a real true-to-form MTF indi. By this, I mean an H4 indi loaded onto an H1 chart will print a bar every 4 price bars in the indicator window. Swtich the chart TF to H4 and it doesn't change shape at all--it simply prints a bar every price bar. I don't even know what to call these--straight MTF???
Then there are the stepped MTF indi's. These are useful for chart window displays because the step simply shortens or lengthens--depending on whether the user lengthens or shortens the chart TF, respectively. Continuing the H1 chart example, an H4 stepped indi would print a horizontal line 4 price bars long, and then step up to the next 4 bar horizontal line.
Then there are the interpolated indi's, also useful for chart window displays. These make more use of arrays (not IndexBuffers), and EMPTY_VALUES than I can understand. So, I don't find them too useful with SB. Continuing the same scenario, a diagonal line is printed... and reprinted... and reprinted until it's 4 bars long, and then it's fixed, and the reprinting starts again for the next 4 bars.