شكرا على المؤشر وسوف اتطرق اليه بعد ما اكمل كل شروط الدخول الخاصة بى
شكرا اخى الغالى وصديقى العزيز
Printable View
تفضل
كود PHP:Tenkan=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_TENKANSEN,shift);
Kijun=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_KIJUNSEN,shift);
Senkou=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_CHINKOUSPAN,0+kijunsen);
Senkoua=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_SENKOUSPANA,shift);
Senkoub=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_SENKOUSPANB,shift);
Ichimoku_B=iCustom(Symbol(),0,"Ichimoku Trend Magic Histogram with Alert",1,1);
Ichimoku_S=iCustom(Symbol(),0,"Ichimoku Trend Magic Histogram with Alert",0,1);
//-----------------buy&sell ----------------
if ((Close[0]>Tenkan)&&(Close[0]>Kijun)&&(Close[0]>Senkoub)&&(Close[0]>Senkoua)&&(Ichimoku_B==3)&&(Senkou>Senkoub&&Senkou>Senkoua)){ // ------------------------ 22
if(orderscnt()<MaxTrades){
if(stoploss==0){sl=0;}else{sl=Ask-stoploss*Point;}
if(takeprofit==0){tp=0;}else{tp=Ask+takeprofit*Point;}
OrderSend(Symbol(),OP_BUY,Lots,Ask,2,sl,tp,"My Own Expert",ID,0,Blue);
PlaySound("Alert.wav");
}
}
if ((Close[0]<Tenkan)&&(Close[0]<Kijun)&&(Close[0]<Senkoua)&&(Close[0]<Senkoub)&&(Ichimoku_S==3)&&(Senkou<Senkoub&&Senkou<Senkoua)){ // ------------------------ 23
if(orderscnt()<MaxTrades){
if(stoploss==0){sl=0;}else{sl=Bid+stoploss*Point;}
if(takeprofit==0){tp=0;}else{tp=Bid-takeprofit*Point;}
OrderSend(Symbol(),OP_SELL,Lots,Bid,2,sl,tp,"My Own Expert",ID,0,Red);
PlaySound("Alert.wav");
}
نفس المشكلة اخى اسامة
الاكسبيرت يقوم بفتح صفقات الشراء والشينكو داخل السحابة وبمجرد توافر باقى الشروط الخاصة بالشراء انظر الصورة اخى
الملف المرفق 331318
اه نعم فيه شئ نسيناه
الان اعدل لك الاكسبريت
جرب كذا
كود PHP:Tenkan=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_TENKANSEN,shift);
Kijun=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_KIJUNSEN,shift);
Senkou=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_CHINKOUSPAN,0+kijunsen);
Senkoua=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_SENKOUSPANA,shift);
Senkouaplus=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_SENKOUSPANA,shift+kijunsen);
Senkoub=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_SENKOUSPANB,shift);
Senkoubplus=iIchimoku(NULL,0,tenkansen,kijunsen,senkospan,MODE_SENKOUSPANB,shift+kijunsen);
Ichimoku_B=iCustom(Symbol(),0,"Ichimoku Trend Magic Histogram with Alert",1,1);
Ichimoku_S=iCustom(Symbol(),0,"Ichimoku Trend Magic Histogram with Alert",0,1);
//-----------------buy&sell ----------------
if ((Close[0]>Tenkan)&&(Close[0]>Kijun)&&(Close[0]>Senkoub)&&(Close[0]>Senkoua)&&(Ichimoku_B==3)&&(Senkou>Senkoubplus&&Senkou>Senkouaplus)){ // ------------------------ 22
if(orderscnt()<MaxTrades){
if(stoploss==0){sl=0;}else{sl=Ask-stoploss*Point;}
if(takeprofit==0){tp=0;}else{tp=Ask+takeprofit*Point;}
OrderSend(Symbol(),OP_BUY,Lots,Ask,2,sl,tp,"My Own Expert",ID,0,Blue);
PlaySound("Alert.wav");
}
}
if ((Close[0]<Tenkan)&&(Close[0]<Kijun)&&(Close[0]<Senkoua)&&(Close[0]<Senkoub)&&(Ichimoku_S==3)&&(Senkou<Senkoubplus&&Senkou<Senkouaplus)){ // ------------------------ 23
if(orderscnt()<MaxTrades){
if(stoploss==0){sl=0;}else{sl=Bid+stoploss*Point;}
if(takeprofit==0){tp=0;}else{tp=Bid-takeprofit*Point;}
OrderSend(Symbol(),OP_SELL,Lots,Bid,2,sl,tp,"My Own Expert",ID,0,Red);
PlaySound("Alert.wav");
}
الفكرت تعتمد علي مقارنت الشنكو ب سبان a وسبان b
وبما ان الشنكو متاخر ب 26 شمعة
ندخل متغير اخر للسبان a و سبان b
ونضعه متاخر ب 26 شمعة للمقارنة
وعندك طريقة اخري للفلتره انا قراتها مرة لاكن لست متاكد من المعلومة جيدا
تقارن عرض سحابة كوموسبان بالسحابة الاخري نسيت اسمها
وفيه شروط تتعلق بالسحبات للدخول الممتاز
لا
في الشنكو فقط نضعها 26
الباقي تبقي 0
دقيقة اقرء الكود من جديد