MQL4 ve MQL5 ile ilgili herhangi bir acemi sorusu, algoritmalar ve kodlar hakkında yardım ve tartışma - sayfa 305
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
Teşekkürler, ancak null döndürür. Nedeni ne olabilir?
Ve başkası olamaz. Hiçbir bilgisayar 1970'den daha az bir yıl bilemez. Aracı tarafından listelenen yılla başlayın.
Ve başkası olamaz. Hiçbir bilgisayar 1970'den daha az bir yıl bilemez. Aracı tarafından listelenen yılla başlayın.
Ve normalde belirlenen, çağımızın ilk yılı)
Eh, normalde ayarlanır, çağımızın ilk yılı)
CopyXXX() kullanın
Teşekkür ederim.
MT5'te grafiği şu şekilde değiştirebilirsiniz:
PlotIndexSetInteger(0,PLOT_SHIFT,InpChannelPeriod);
Teşekkür ederim.
MT5'te grafiği şu şekilde değiştirebilirsiniz:
PlotIndexSetInteger(0,PLOT_SHIFT,InpChannelPeriod);
orada seçti
SetIndexShift(0,InpChannelPeriod);
Belki birisi yardımcı olabilir, göstergenin özü Donchian kanalını her zamanki gibi çizmek ve ardından son kanal değerinin satırlarını negatif çubuğun arkasına taşımaktır.
MT5'te her şey çalışıyor gibi görünüyor, ancak MT4'te neyin yanlış olduğunu anlamıyorum - oraya buraya gönderdim, ancak sapkınlık çiziyor - değerlerin hesabını ayrı ayrı yapmama rağmen kanalın kendisini değiştiriyor bu kaydırılacak....
Belki birisi yardımcı olabilir, göstergenin özü Donchian kanalını her zamanki gibi çizmek ve ardından son kanal değerinin satırlarını negatif çubuğun arkasına taşımaktır.
MT5'te her şey çalışıyor gibi görünüyor, ancak MT4'te neyin yanlış olduğunu anlamıyorum - oraya buraya gönderdim, ancak sapkınlık çiziyor - değerlerin hesabını ayrı ayrı yapmama rağmen kanalın kendisini değiştiriyor bu kaydırılacak....
Timsah koduna bak, vardiya orada çalışıyor. Gerçi, belki mantık farklıdır.
Timsah koduna bak, vardiya orada çalışıyor. Gerçi, belki mantık farklıdır.
Evet, vardiya bende de işe yarıyor.
Diziyi bir kaydırma ile dolduruyorum, ancak doldurma kaydırmasız gibi çıkıyor, ancak kaydırmanın kendisi görsel olarak gerçekleşiyor.
Kodun ilk kısmı, arabelleği son çubuktan InpChannelPeriod derinliğine kadar boş bırakır:
Ve ikinci kısım bu bölümü daha önce doldurmalıdır:
Ama aslında şöyle oluyor:
MT5'teki kod
Sonuç: