Originally Posted by
Santi78
selam arkadaslar burada nerde hata yapiyorum
var Veriler = Sistem.GrafikVerileri ;
var Sembol = Sistem.Sembol ;
var Bars1 = Sistem.GrafikVerileriniOku(Sembol, "G") ;
var Kapanislar1 = Sistem.GrafikFiyatOku(Bars1, "Kapanis") ;
var MA1 = Sistem.MA(Kapanislar1, "Simple", 10) ;
var MA2 = Sistem.MA(Kapanislar1, "Simple", 20) ;
var MA3 = Sistem.MA(Kapanislar1, "Simple", 50) ;
var Bars2 = Sistem.GrafikVerileriniOku(Sembol, "60") ;
var Bars2 = Sistem.GrafikFiyatOku(Bars2, "Kapanis") ;
var MA2 = Sistem.MA(Kapanislar2, "Simple", 60) ;
MA2 = Sistem.DonemCevir(Bars2, Bars1, MA1) ;
MA2 = Sistem.DonemCevir(Bars2, Bars1, MA2) ;
MA3 = Sistem.DonemCevir(Bars2, Bars1, MA3) ;
Sistem.Cizgiler[0].Deger = MA1 ;
Sistem.Cizgiler[0].Aciklama = "MA1" ;
Sistem.Cizgiler[1].Deger = MA2 ;
Sistem.Cizgiler[1].Aciklama = "MA2" ;
Sistem.Cizgiler[3].Deger = MA3 ;
Sistem.Cizgiler[3].Aciklama = "MA3" ;
Var SonYon = "" ;
for (int i = 1; i < Bars1.Count; i++) ;
{
If ( MA1[i]>MA2[i] && MA2[i]>MA3[i] )
If ( SonYon ! = "A")
{
Sistem.Yon[i] = "A" ;
SonYon = "A" ;
}
}
If (MA1[i]<MA2[i] && MA2[i]<MA3[i])
{
If (SonYon ! = "S") ;
Sistem.Yon[i] = "S" ;
SonYon = "S" ;
}
}
c:\Users\Admin\AppData\Local\Temp\5fdb3awq.0.cs(72 ,1) : error CS1519: Invalid token 'catch' in class, struct, or interface member declaration
c:\Users\Admin\AppData\Local\Temp\5fdb3awq.0.cs(72 ,23) : error CS1002: ; expected
c:\Users\Admin\AppData\Local\Temp\5fdb3awq.0.cs(74 ,23) : error CS1519: Invalid token '(' in class, struct, or interface member declaration
c:\Users\Admin\AppData\Local\Temp\5fdb3awq.0.cs(74 ,39) : error CS1519: Invalid token ')' in class, struct, or interface member declaration
c:\Users\Admin\AppData\Local\Temp\5fdb3awq.0.cs(78 ,1) : error CS1022: Type or namespace definition, or end-of-file expected
c:\Users\Admin\AppData\Local\Temp\5fdb3awq.0.cs(79 ,1) : error CS1022: Type or namespace definition, or end-of-file expected