private string ChooseSymbol()
{
//var enyuksek;
string hisse = "";
//var enyuksek = ROCIndicator("GARAN", SymbolPeriod.Day, OHLCType.Close, 1);
decimal enyuksek =0;//ROCIndicator("GARAN", SymbolPeriod.Day, OHLCType.Close, 1).CurrentValue;
foreach (var symbol in _symbolList)
{
if ((enyuksek ) < ROCIndicator(symbol, SymbolPeriod.Day, OHLCType.Close, 1).CurrentValue)
{
enyuksek = ROCIndicator(symbol, SymbolPeriod.Day, OHLCType.Close, 1).CurrentValue;
hisse = symbol.ToString();
}
Debug("hisse " + hisse);
Debug("e " + enyuksek );
}
return hisse;
//return string.Empty;
}
´roc veri dondurmuyor gibi.
Debug("hisse " + hisse);
Debug("e " + enyuksek );
sonuclari hep bos donuyor. bu karsilastirmalari nasil yapmam gerekir?