I know CountIf is restricted from use in a multi-series environment, but can it be used in the object when the BarsInProgress == 0? I am trying to use it on the base chart to count the number of up/down bars in pullbacks.
My code compiles OK, but it does not execute as expected. It fails when counting the up bars in a pull up.
My base chart is a tick chart. I have added 3 bars objects: 1 minute, 3 minute, 9 minute. I am try to execute the CountIf code on the tick chart.
If I execute the CountIf on the base tick chart. will this not violate the restriction of CountIf use in a multi-series environment?
Any help will be appreciated. Thaniks
Steve
Comment