Custom Bar/Tool Colours controlled by Script Formulas
In addition to the standard colour options for bar and chandlestick charts, such as Close Position, Swing Relations or Strength, it is possible to add your own custom colour options using the powerful Optuma Scripting Language.
Here's a video taken from our Scripting Language video course showing how this can be done:
Custom Tool / Indicator Colours
As well as the price charts, it's also possible to use script formulas to change the colour of tools and indicators, such as volume greater than the 20 day average:
Creating your colour options
To set a custom colour scheme right click on a bar or candle in the chart, from the Properties menu set the Colour Scheme to Custom. You can also left-click on a bar or candle and access the Properties menu from the Control Panel.
After the Colour Scheme has been set to Custom you will then be able to access Custom Colour Scripts from the Properties menu.
From here, you can select the default colour for bars that do not meet your set script conditions.
You can then add a colour scheme script by clicking the + sign as highlighted in the image below.
To select or create a script then click the script selection button, highlighted in the below image.
This will then display the Script Editor where you can either select from the Saved Scripts or create a new script. For more information on using the Script Editor and for some scripting examples, please click here.
After you have selected your script it will then be applied to the chart, you can then alter the colour scheme and also add further scripts if required. Selecting the Require All function will only apply the colour scheme to the chart if the conditions of each selected script are satisfied.