Ticaret fırsatlarını kaçırıyorsunuz:
- Ücretsiz ticaret 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
merhaba bay mladen
lütfen MTF yap
saygınlık
İşte çoklu zaman çerçevesi versiyonu
merhaba mladen,
işte örnek-ea
Mladen,
takip eden adım alım satım işlemleri için aynı şekilde çalışır...
sondaki adımı kullanarak "stoploss"u hareket ettirir.
örneğin: (bir satın alma örneği)
EA Input:
=========
TakeProfit =22000 (22 points)
Trailing_Distance =4000 (4 points)
Trailing_Step =2000 (2 points)
StopLoss =8000 (8 points)
====operation entry
buy at price 3440.00
stoploss =3432.00 (entrance -8 points)
takeprofit =3462.00 (entrance +22 points)
-------
price reached =3444.00 (=4 points)
trailing distance reached (4000=4 points)
then move stoploss using 'step' (2000= 2 points)
new stoploss now is =3434.00 (=+2 points from step)
-------
price reached =3448.00 (=+4 points)
trailing distance reached (4000=4 points)
then move stoploss using 'step' (2000= 2 points)
new stoploss now is =3436.00 ( = +2 points from step)
-------
price grown up to =3452.00 (=+4 points)
trailing distance reached (4000=4 points)
then move stoploss using 'step' (2000= 2 points)
new stoploss now is =3438.00 (= +2 points from step)
-------
when is a "buy" operation , step (increase the stoploss price)
when is a "sell" operation, step (decrease the stoploss price)
merhaba bay mladen:
Bu kullanışlı göstergenin basit bir histogramını yapabilir misiniz?
saygınlık
İşte çoklu zaman çerçevesi versiyonu
Sevgili Mladen,
SmStrengthRange 09_v2.4 Göstergesini kullanmak için EA kodunu kontrol etmek için yardımınıza ihtiyacım var
EURUSD çifti çaprazından sonra
(EUR, USD üstte kesişir) ardından ilk Diverjans yeşil noktası belirir = SATIN AL
(EUR, USD Alt'a geçer) ardından ilk Ayrışma kırmızı noktası belirir = SAT
sadece kendimi denedim ama çalışamıyorum
Lütfen bu kodu kontrol edin ve düzeltin
// Gösterge Çağrısı
double USD=iCustom(NULL,0,"smStrengthRange09_v2.4",3,shift);
double USD1=iCustom(NULL,0,"smStrengthRange09_v2.4",3,shift+1);
double EUR=iCustom(NULL,0,"smStrengthRange09_v2.4",4,shift);
double EUR1=iCustom(NULL,0,"smStrengthRange09_v2.4",4,shift+1);
double GBP=iCustom(NULL,0,"smStrengthRange09_v2.4",5,shift);
double GBP1=iCustom(NULL,0,"smStrengthRange09_v2.4",5,shift+1);
double CHF=iCustom(NULL,0,"smStrengthRange09_v2.4",6,shift);
double CHF1=iCustom(NULL,0,"smStrengthRange09_v2.4",6,shift+1);
double JPY=iCustom(NULL,0,"smStrengthRange09_v2.4",7,shift);
double JPY1=iCustom(NULL,0,"smStrengthRange09_v2.4",7,shift+1);
double AUD=iCustom(NULL,0,"smStrengthRange09_v2.4",8,shift);
double AUD1=iCustom(NULL,0,"smStrengthRange09_v2.4",8,shift+1);
double CAD=iCustom(NULL,0,"smStrengthRange09_v2.4",9,shift);
double CAD1=iCustom(NULL,0,"smStrengthRange09_v2.4",9,shift+1);
double NZD=iCustom(NULL,0,"smStrengthRange09_v2.4",10,shift);
double NZD1=iCustom(NULL,0,"smStrengthRange09_v2.4",10,shift+1);
double green=iCustom(NULL,0,"smStrengthRange09_v2.4",11,shift);
double greena=iCustom(NULL,0,"smStrengthRange09_v2.4",11,shift+1);
double red=iCustom(NULL,0,"smStrengthRange09_v2.4",12,shift);
double reda=iCustom(NULL,0,"smStrengthRange09_v2.4",12,shift+1);
//Giriş sinyali
if ((green!=BOŞ_DEĞER && !(greena!=BOŞ_DEĞER && EUR>USD)) sinyal1=1;
if((kırmızı!=BOŞ_DEĞER && !(reda!=BOŞ_DEĞER && EUR<USD)) sinyal2=2;
Lütfen bu kodu görmek ve düzeltmek için yardım isteyin
Teşekkürler ve saygılar
Sevgili Mladen,
SmStrengthRange 09_v2.4 Göstergesini kullanmak için EA kodunu kontrol etmek için yardımınıza ihtiyacım var
EURUSD çifti çaprazından sonra
(EUR, USD üstte kesişir) ardından ilk Diverjans yeşil noktası belirir = SATIN AL
(EUR, USD Alt'a geçer) ardından ilk Ayrışma kırmızı noktası belirir = SAT
sadece kendimi denedim ama çalışamıyorum
Lütfen bu kodu kontrol edin ve düzeltin
// Gösterge Çağrısı
double USD=iCustom(NULL,0,"smStrengthRange09_v2.4",3,shift);
double USD1=iCustom(NULL,0,"smStrengthRange09_v2.4",3,shift+1);
double EUR=iCustom(NULL,0,"smStrengthRange09_v2.4",4,shift);
double EUR1=iCustom(NULL,0,"smStrengthRange09_v2.4",4,shift+1);
double GBP=iCustom(NULL,0,"smStrengthRange09_v2.4",5,shift);
double GBP1=iCustom(NULL,0,"smStrengthRange09_v2.4",5,shift+1);
double CHF=iCustom(NULL,0,"smStrengthRange09_v2.4",6,shift);
double CHF1=iCustom(NULL,0,"smStrengthRange09_v2.4",6,shift+1);
double JPY=iCustom(NULL,0,"smStrengthRange09_v2.4",7,shift);
double JPY1=iCustom(NULL,0,"smStrengthRange09_v2.4",7,shift+1);
double AUD=iCustom(NULL,0,"smStrengthRange09_v2.4",8,shift);
double AUD1=iCustom(NULL,0,"smStrengthRange09_v2.4",8,shift+1);
double CAD=iCustom(NULL,0,"smStrengthRange09_v2.4",9,shift);
double CAD1=iCustom(NULL,0,"smStrengthRange09_v2.4",9,shift+1);
double NZD=iCustom(NULL,0,"smStrengthRange09_v2.4",10,shift);
double NZD1=iCustom(NULL,0,"smStrengthRange09_v2.4",10,shift+1);
double green=iCustom(NULL,0,"smStrengthRange09_v2.4",11,shift);
double greena=iCustom(NULL,0,"smStrengthRange09_v2.4",11,shift+1);
double red=iCustom(NULL,0,"smStrengthRange09_v2.4",12,shift);
double reda=iCustom(NULL,0,"smStrengthRange09_v2.4",12,shift+1);
//Giriş sinyali
if ((green!=BOŞ_DEĞER && !(greena!=BOŞ_DEĞER && EUR>USD)) sinyal1=1;
if((kırmızı!=BOŞ_DEĞER && !(reda!=BOŞ_DEĞER && EUR<USD)) sinyal2=2;
Lütfen bu kodu görmek ve düzeltmek için yardım isteyin
Teşekkürler ve saygılar
Haçları kontrol etmiyorsunuz. Sadece bir değerin diğer değerden büyük veya küçük olup olmadığını kontrol ediyorsunuz.
Çaprazlar için 2 tamponun en az 2 değerini kontrol etmeniz gerekir (kontrol edilecek 4 değer)
Merhaba Pro-Coders,
Açık veya kapalı olabilen bir bool RSI filtresi uygulamak istiyorum.
Bu rutin optimize edilebilir mi / optimize edilmeli mi?
if (RSI_on= true )
{
if (trendNow!=trendPrev)
{
if (trendNow> 0 && (NLD1>NLD2) && RSIfilter> 51 )
{
OpenBuy_ = true ;
CloseSell_= true ;
}
else
if (trendPrev> 0 && (NLD1<NLD2) && RSIfilter< 49 )
{
OpenSell_= true ;
CloseBuy_= true ;
}
}
}
else
if (trendNow!=trendPrev)
{
if (trendNow> 0 && (NLD1>NLD2))
{
OpenBuy_ = true ;
CloseSell_= true ;
}
else
if (trendPrev> 0 && (NLD1<NLD2))
{
OpenSell_= true ;
CloseBuy_= true ;
}
}
Merhaba Pro-Coders,
Açık veya kapalı olabilen bir bool RSI filtresi uygulamak istiyorum.
Bu rutin optimize edilebilir mi / optimize edilmeli mi?
if (RSI_on= true )
{
if (trendNow!=trendPrev)
{
if (trendNow> 0 && (NLD1>NLD2) && RSIfilter> 51 )
{
OpenBuy_ = true ;
CloseSell_= true ;
}
else
if (trendPrev> 0 && (NLD1<NLD2) && RSIfilter< 49 )
{
OpenSell_= true ;
CloseBuy_= true ;
}
}
}
else
if (trendNow!=trendPrev)
{
if (trendNow> 0 && (NLD1>NLD2))
{
OpenBuy_ = true ;
CloseSell_= true ;
}
else
if (trendPrev> 0 && (NLD1<NLD2))
{
OpenSell_= true ;
CloseBuy_= true ;
}
}
Bunu deneyin (bu, üst kodun yerini alan kodun tamamı olmalıdır):
if (trendNow> 0 && (NLD1>NLD2) && (!RSI_on || (RSI_on && RSIfilter> 51 )))
{
OpenBuy_ = true ;
CloseSell_= true ;
}
else
if (trendPrev> 0 && (NLD1<NLD2) && (!RSI_on || (RSI_on && RSIfilter< 49 )))
{
OpenSell_= true ;
CloseBuy_= true ;
}