Affichage des articles dont le libellé est Find all close price between two dates. Afficher tous les articles
Affichage des articles dont le libellé est Find all close price between two dates. Afficher tous les articles

lundi 16 janvier 2017

Find all close price between two dates

Hello,
I want to find all closing price between two dates e.g. 2016-01-26 and
2016-02-26

My thought is to use for loop

D[1] = "2016-07-26";
D[2]= "2016-07-27";
D[3]= "2016-07-28";
.
.
.

for (i=1;i<3;i++) {

"Close value at (or before) " + D[i]+ " is " + Lookup( Close, _DT(D[i] ), -1 );
}

But it seem not work, any help for advanced thanks


Find all close price between two dates