how can i see and sort value

bozmel

New Member
#1
how to see value of all stock in explore ?

sort by high ...

i only see volume i need also total value

any one can help me..
 

bozmel

New Member
#5
can you add VALUE here..

Code:
_SECTION_BEGIN("Explore All");
Filter=1;
AddColumn(C,"Close",1.2);
AddColumn(OpenInt,"OpenInt",1.2);
AddColumn(V,"Volume",1.2);
AddColumn(ROC(C,1),"% Price change",1.2);
AddColumn(ROC(OpenInt,1),"% OpenInt change",1.2);
AddColumn(ROC(V,1),"% Volume change",1.2);
_SECTION_END();
 

travi

Well-Known Member
#6
what do you mean by Value? is it the total turnover of that period ?
 

Romeo1998

Well-Known Member
#7
Dear friend bozmel,
use this code :happy:
Code:
//sort 5th column in descending order :)
SetSortColumns(-5);

//sort 5th column in ascending order :)
SetSortColumns(5);
:happy:
 

bozmel

New Member
#8
Total Value = Volume Times Price on stock.
Price = 10.00
Volume = 1,000
Value = 10,000

and also i need total number of trades column
 
Last edited:

travi

Well-Known Member
#9
_SECTION_BEGIN("Explore All");
Filter=1;
AddColumn(C,"Close",1.2);
AddColumn(OpenInt,"OpenInt",1.2);
AddColumn(V,"Volume",1.2);
AddColumn(ROC(C,1),"% Price change",1.2);
AddColumn(ROC(OpenInt,1),"% OpenInt change",1.2);
AddColumn(ROC(V,1),"% Volume change",1.2);
AddColumn(V*C,"Value",1); // This will give you value or turnover
SetSortColumns(-9); //Assuming 1st column is Date/time & 2nd is ticker. just count the column number and adjust it here
_SECTION_END();

and also i need total number of trades column
Explain what you mean properly.
 

Similar threads