I've created a custom series that resets to zero at reversals, but it's not limiting the entries as intended. I also don't understand what "bar value" refers to in these instructions. Is that the same as "bars ago"?
Can you please show me the Builder logic for the following items in bold:
1. In order to populate a counter in a custom series, the very first set of the strategy needs to have no conditions and the only action is to assign the previous bar value of the custom series to the current bar value of the custom series. This action is needed to keep the value current with the current bar.
2. Once you determine an event that starts the counter (such as a crossover), you can set a bool variable true that can be used to increment the counter. In a set, you check that the bool is true and the action would be to add 1 to the current bar value of the custom series and assign that to the current bar of the custom series.

Comment