Using the Strategy Builder, I have made a simple indicator that draws a triangle up below the bar when the CCI is higher than the previous bar and vice versa, a triangle down above the bar when the CCI is falling.
I know how, when assigning the Tag name in the string builder to assign String 0 to CURRENT BAR...that way, it prints arrows going back for ALL the data loaded I have in the chart.
I also know how to leave String 0 as the indicator name, and then String 1 as "Triangle up_1"...this prints just the most recent occurrence, and then it disappears as soon as there is a new one.
Using Current Bars makes the chart too messy, but using just one occurrence is not enough.
How, using strategy builder, would I write it to show the last 3, or maybe 5 occurrences? Thanks in advance for the help.
90

Comment