Hi all,
I have defined some parameters for scanning purpouse.
I have this issue with sorting function:
Looks like MC sort values as text, how can I fix it?
Issue with sorting in Scanner windwow [SOLVED]
- Angelina MultiСharts
- Posts: 260
- Joined: Dec 28 2016
- Has thanked: 28 times
- Been thanked: 66 times
Al3cs,
Please plot a numerical expression, not a string one.
Please plot a numerical expression, not a string one.
I have defined my var as a numeric one:
variable: var(0);
I have assigned a value with a numerical expression and then plotted a value with
Plot(var, "var");
The same indicator works well as a scanner in other workspaces (the biggest has less than 200 stocks) with different instruments but not in this one that contains more than 300 stocks.
It's exactly the same script.
variable: var(0);
I have assigned a value with a numerical expression and then plotted a value with
Plot(var, "var");
The same indicator works well as a scanner in other workspaces (the biggest has less than 200 stocks) with different instruments but not in this one that contains more than 300 stocks.
It's exactly the same script.
- JoshM
- Posts: 2196
- Joined: May 20 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
What if you use the 'Same as Symbol' format for the values in the Scanner/Watchlist, instead of using a percentage? It might be that MultiCharts behind-the-scenes converts those numerical values to text values when it makes percentages of them.I have defined my var as a numeric one:
(...)
The same indicator works well as a scanner in other workspaces (the biggest has less than 200 stocks) with different instruments but not in this one that contains more than 300 stocks.
It's exactly the same script.
Or does your other indicator also use percentage values in its column? There has to be a reason why the indicator works fine in one Scanner/Watchlist window and not in another.