bohmlimo
The enclosed image shows an example of how to modify the script to accomplish what you want.
Apply the same logic to the section that modifies the colors when the Source is "Volume"
Also you need to add a setColorPriceBars(true); statement in the preMain() function.
Alex
bohmlimo
The error message is due to a missing close curly bracket (shown circled in red in the enclosed image) which ends the if(Source=="Price") conditional statement
Alex
Comment