I have a study created using the Formula Wizard that colors the bars based on certain parameters (blue, red or green). Any bar which does not meet the defined parameters is left as the default color (black). SetComputeOnClose(true) appears in the premain and the study is applied to a tick chart.
What is happening is that when a bar changes to a condition that meet none of the defiuned criteria, it appears as white (see attached image) and only when the conditions are such that one of the defined criteria are met, do these white bars change to black. This could be 3 or 4 bars later for example.
What do I need to do so that the bar is colored correctly at the time the bar closes? After the next bar (not shown obvioulsy) completed, the white bars changed to black.
Thanks
What is happening is that when a bar changes to a condition that meet none of the defiuned criteria, it appears as white (see attached image) and only when the conditions are such that one of the defined criteria are met, do these white bars change to black. This could be 3 or 4 bars later for example.
What do I need to do so that the bar is colored correctly at the time the bar closes? After the next bar (not shown obvioulsy) completed, the white bars changed to black.
Thanks
Comment