Hatalar, hatalar, sorular - sayfa 1110
Alım-satım fırsatlarını kaçırıyorsunuz:
- Ücretsiz alım-satım uygulamaları
- İşlem kopyalama için 8.000'den fazla sinyal
- Finansal piyasaları keşfetmek için ekonomik haberler
Kayıt
Giriş yap
Gizlilik ve Veri Koruma Politikasını ve MQL5.com Kullanım Şartlarını kabul edersiniz
Hesabınız yoksa, lütfen kaydolun
MetaEditor5 ile bir saat uğraştınız mı?
MT4'te işlem yapıyorum ve kodları iş yerindeki bilgisayarımla depolama yoluyla senkronize ediyorum. MetaEditor4'teki depolama benim için çalışıyor.
MT5 ve MT4'te oturum açma bilgileriniz farklı mı?
MT5 ve MT4'te oturum açma bilgileriniz farklı mı?
MT5 ve MT4'te oturum açma bilgileriniz farklı mı?
MT4'te, 5. forumda olduğu gibi kullanıcı adı ve şifreyi girdim.
Sınıf nesnesi neden küresel düzeyde oluşturulmuyor?
'CBaseClass' - tipsiz bildirim !Taslak.mq5 12 1
Bu yüzden gerekli
Bu yüzden gerekli
Daha doğrusu öyle mi? Onlar. bir sınıfın tanımı kesinlikle nesne oluşturmadan önce mi olmalıdır?
Teşekkür ederim.
Eh, sınıf tanımını altta tutmak istiyorsanız çalışmak için yazdım.
Daha doğrusu öyle mi? Onlar. bir sınıfın tanımı kesinlikle nesne oluşturmadan önce mi olmalıdır?
Eh, sınıf tanımını altta tutmak istiyorsanız çalışmak için yazdım.
Bu durumda bir hata ile karşılaşılır
'CBaseClass' - tanımsız yapı !Taslak.mq5 on üç 1
#property indicator_separate_window
#property indicator_buffers 10
#property indicator_plots 2
#property indicator_type1 DRAW_COLOR_CANDLES
#property indicator_type2 DRAW_COLOR_CANDLES
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
PlotIndexSetInteger(0,PLOT_LINE_COLOR,0, clrBlue);
PlotIndexSetInteger(0,PLOT_LINE_COLOR,1, clrYellow);
PlotIndexSetInteger(1,PLOT_LINE_COLOR,0, clrGreen);
PlotIndexSetInteger(1,PLOT_LINE_COLOR,1, clrRed);
Print("00 = " + PlotIndexGetInteger(0, PLOT_LINE_COLOR,0));
Print("01 = " + PlotIndexGetInteger(0, PLOT_LINE_COLOR,1));
Print("10 = " + PlotIndexGetInteger(1, PLOT_LINE_COLOR,0));
Print("11 = " + PlotIndexGetInteger(1, PLOT_LINE_COLOR,1));
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
const int prev_calculated,
const int begin,
const double &price[])
{
//---
//--- return value of prev_calculated for next call
return(rates_total);
}