MQL4 ve MQL5 ile ilgili herhangi bir acemi sorusu, algoritmalar ve kodlar hakkında yardım ve tartışma - sayfa 564
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
Yukarıdaki koddaki shift ve iy değişkenlerinin değerleri out-of- bounds dizisi için kontrol edilmez. Bu nedenle, her şey mantıklı. Kullanmadan önce değerlerini kontrol edin, hata kaybolacaktır.
Peki, detaylı konuşmak gerekirse CountBars ve TimeFrame değişkenlerinin değerlerinin nasıl oluştuğunu bilmeniz gerekiyor.
CountBars =400 ve TimeFrame =30, harici olanlarda statik olarak ayarlanır.
M30'da her şey yolunda, M15'te çöküyor.
Sınır dışı için shift ve iy nasıl kontrol edilir?
Belki birisi hatanın nerede olduğuna bakmak için zaman bulur.
Belki birisi hatanın nerede olduğuna bakmak için zaman bulur.
Beyler, yeni bir satırdan bir dosyaya nasıl veri ekleyeceğimi söyleyin
benim yazma işlevim:
İşte ona gönderdiğim şey:
satırın altına çok şey eklemeniz gerekiyor:
Beyler, yeni bir satırdan bir dosyaya nasıl veri ekleyeceğimi söyleyin
benim yazma işlevim:
İşte ona gönderdiğim şey:
satırın altına çok şey eklemeniz gerekiyor:
SEEK_END işaretli FileSeek() size yardımcı olacaktır.
<kodunuzda değiştirmişsiniz
//+------------------------------------------------------------------+
üzerinde
//+
ama yardımcı olmadı)
Çocuklar, bana Alpari cent danışmanının neden sık sık başarısız olduğunu söylediğini söyleyin [Geçersiz hacim], lot büyüklüğü maksimumu geçmese de 23-45'ten 1-00'e kadar işlem görüyor.
Logu ekledim diğer bokerlerde böyle bir hata yok
Kodu buradan örnekten aldım ve onunla ilgilendim
bir yöntem tanımladım
zaten tanımlanmış olduğuna ve bir vücuda sahip olduğuna yemin eder.
Soru: nerede tanımlanır?
Kodu buradan örnekten aldım ve onunla ilgilendim
bir yöntem tanımladım
zaten tanımlanmış olduğuna ve bir vücuda sahip olduğuna yemin eder.
Soru: nerede tanımlanır?
İyi akşamlar!
Depozito yüzdesine dayalı bir anlaşma için lotu hesaplamak için evrensel (farklı enstrümanlar için) bir kodun nasıl ekleneceği konusunda beynimi zorluyorum.
Böyle mi yaptı:
Fiyat ( pozisyon açılış fiyatı) ve SL (zarar durdur) ayrı ayrı hesaplanır, buraya eklemedim.
Karşıt para biriminin dolar cinsinden olduğu çiftler için (örneğin EURUSD), SPX500 endeksi için ve altın için - her şey doğru hesaplanır, ancak teklifte doların ilk olduğu çiftler için (örneğin USDJPY) çalışmaz.
Lütfen bana neyi özlediğini söyle?