I have created the following Custom Watch List Column:
The calculation works, but I am unable to sort the column in ascending or descending order. Do you know how I can edit this script so that I can sort the column accurately?
Thank you in advance for your help.
Code:
def capital = (volume*(close-close from 1 bars ago));
AddLabel(yes," " + AsDollars(capital));
The calculation works, but I am unable to sort the column in ascending or descending order. Do you know how I can edit this script so that I can sort the column accurately?
Thank you in advance for your help.