Just wondering why the following does not complile?
I attempt to convert the Integer, "barsAgo", into a double, in order that i can create a fraction from it, which is then rounded up.
double holder=0;
for (int barsAgo = 1; barsAgo <= 10; barsAgo++)
{ holder=barsAgo;
if (Low[Math.Round(holder/5,0)] < low_price || low_price == 0)
{low_price= Low[Math.Round(holder/5,0)] ;}
}
Any pointers greatly appreciated...
Tks
Ben Heaton
Comment