how to do it?

#1
dear friends,

started learning metastock ;) . have 9.0 EOD........

how to do this....

change color of candlestick if average volume of 50 day is greater
than today's volume....

thnks in advance.

have a nice day
jb
 

oxusmorouz

Well-Known Member
#2
Use can use a highlight in expert advisor for this.

Create a new expert...go to highlights...

enter this formula:

a:= V;
b:= Mov(V,50,S);

b > a

Change the colour.
Attach the expert in the chart.

Oxy
 
#5
dear

In MS, we have a function cross( data array1, data array2).
In this function, the parameter values are arrays like Close, Mov etc..
These are provided by MS itself....I want array created by me ....
like MyData.....

Say I want to store various volume levels like
volume upto 1 lac
volume above 1 lac and upto 2 lac
volume above 2 lac and upto 3 lac
............
volume above 19 lac and upto 20 lac

in a variable then i will have to use 20-21 variables
what i want is i will store these values in a single variable
and access it like var[0], var[1], var[2], .......var[n]

Anybody having knowledge of C, C++, VB etc can easily get it

i want to use these for some purpose...

have a nice day
JB