Saltar al contenido

30-09-2016

Data from week “.date(‘d-m-Y’, strtotime($fecha[0]. ‘ + 0 days’)).” – “.date(‘d-m-Y’, strtotime($fecha[0]. ‘ + 4 days’)).”

“;
echo “

“;

$longitud = count($stock);
$up = “1”;
$down = “0”;
$verde = ” style=’background-color:#98FB98′”;
$blanco = “”;
$rojo = ” style=’background-color:#CD5C5C'”;

for($i=0; $i<$longitud; $i++) { echo "0 AND $close[$i]>$wma[$i] AND $wma[$i]>$wmaa[$i]) ? $verde : $blanco).(($rsm[$i]<0 AND $close[$i]<$wma[$i] AND $wma[$i]<$wmaa[$i]) ? $rojo : $blanco).">

“;
}

echo “

“.$stock[$i].”“.$desc[$i].”“.$rsm[$i].”“.($close[$i] > $wma[$i] ? $up : $down).”“.($wma[$i] > $wmaa[$i] ? $up : $down).”

“;

?>