This is a strategy file for Chart Logic that implements a dashboard display of long and short swap costs. This file requires Chart Logic version 1.5 or later.

Strategy
For a Dashboard you first need to define variables in a Chart Logic Strategy. Each column in the dashboard shows a variable, and you see the value for this variable for each symbol enabled in the strategy.
This is a very simple strategy with only a single Logic Set:

There are more conditions for setting colors than there are for setting the variables for the swap costs themselves! The reason is that I want to show different cell highlighting for when swap costs are too high, which I have defined here as < -5.00. You can adjust this to any value you like, or just use the default Bull:Bear colors if you aren’t interested in the cell highlighting. One of the great things about building dashboards in Chart Logic is that you can make them look however you like!
Dashboard Configuration
To get to the Dashboard configuration, first open the Strategy Viewer by clicking the strategy name in the main Chart Logic window.

When the strategy is not active this first opens the Strategy Viewer:

Click the “D” to the left of the strategy name to toggle between Dashboard and Viewer modes.

When the strategy is not active you will not see the list of symbols in the dashboard, just the column headers. Click the “V” to toggle back to “Viewer” mode. Click “Configure” to open the column configuration dialog. This is how the Swap Dash dashboard is configured:

We have two variables displayed, and we’re selecting custom colors are defined in the strategy. There is no totals row shows, as it wouldn’t make sense to get a sum or count of either of these columns.
Dashboard
Activate the strategy (click the little red circle to the left of the strategy name in the main Chart Logic window), and now when you click the strategy name in this list it will open the viewer in Dashboard mode:

You can change how the columns are sorted by clicking the column headers. Click the header to sort by values in ascending order. Click again to toggle to a descending sort. Or click the “Symbol” header to switch to sorting by symbol names. The little suffix in the column header will show you which column is sorted and in which direction. “^” means ascending (low to high) and “v” means descending (high to low).
