صفحة 16 من 19 الأولىالأولى ... 610111213141516171819 الأخيرةالأخيرة
النتائج 226 إلى 240 من 271
  1. #226
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي

    92 تدبيلة والمارجن لفل 870%

  2. #227
    الصورة الرمزية أبو نـاصر
    أبو نـاصر غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jun 2013
    الإقامة
    السعودية
    المشاركات
    3,189

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة سلمان_العتيبي مشاهدة المشاركة
    ابو ناصر جاوب بصراحة
    هل المارجن حدث بعد ان تنفذ صفقات جديدة؟ ثم عكس!
    بالتأكيد بصراحة أو ايش فيادة النقاش

    نعم الحساب 21 وكسر

    العقد الأول يدوي ثم الثاني والثالث آلى مع هامش 1000

    ثم عكس ومرجن
    توقيع العضو
    الإلتزام 100% وليس 99%

    إما 100% أو هو صفر

    ---

    التداول الناجح .. اسلوب حياة متكامل
    وليس مجرد صفقة

  3. #228
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي

    باقي شغال!
    الملف المرفق 528319

  4. #229
    الصورة الرمزية أبو نـاصر
    أبو نـاصر غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jun 2013
    الإقامة
    السعودية
    المشاركات
    3,189

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة سلمان_العتيبي مشاهدة المشاركة

    سبب المارجن اليس الانعكاس! بعض الصفقات التي ضربت مارجن الم تحقق ربح؟ اساسا الصفقات الاضافية عندك معناها ان الصفقات قبلها حققت ربح--لانه مستحيل ينفذ صفقات جديدة الا اذا كل ماسبق رابح
    الاشكالية أننا نعتمد على الربح غير المحجوز في الاكويتي

    انعكاس نقطة وحدة = تقليل من ارباح العقود السابقة
    توقيع العضو
    الإلتزام 100% وليس 99%

    إما 100% أو هو صفر

    ---

    التداول الناجح .. اسلوب حياة متكامل
    وليس مجرد صفقة

  5. #230
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة أبو نـاصر مشاهدة المشاركة
    بالتأكيد بصراحة أو ايش فيادة النقاش

    نعم الحساب 21 وكسر

    العقد الأول يدوي ثم الثاني والثالث آلى مع هامش 1000

    ثم عكس ومرجن
    تخيل تقفل 1 او اثنين منهم على هدف مع اعادة المغلق عند السعر السابق
    وفي نفس الوقت رفع مستوى الهامش الحدي من 1000 الى 1100 مثلا لكي نعسر الدخول مع الصعود بينما صفقة الانتظار لانها موجودة في المنصة لايمكن التصرف حيالها وبناء عليه لو عكس ونفذها وكان متسوى الهامش 700 بعد تنفيذها يصبح مثلا 500
    ثم اذا صعد تثقل التنفيذ الا وانت ماشي للاعلى
    ولو تقفل اي صفقة اخرى نفس الحكاية

    استغل هذا التذبذب القاتل
    شي يقهر صفقة تربح 200 تكة ثم تعكس وتضرب مارجن

  6. #231
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي

    تحديث باقي شغال!
    الملف المرفق 528320

  7. #232
    الصورة الرمزية أبو نـاصر
    أبو نـاصر غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jun 2013
    الإقامة
    السعودية
    المشاركات
    3,189

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة أبو نـاصر مشاهدة المشاركة

    احد الحسابات اللي تمرجن وصل البالانس -34 والاكويتي +250 لكن لم يحقق الهدف وتمرجن
    اقتباس المشاركة الأصلية كتبت بواسطة سلمان_العتيبي مشاهدة المشاركة

    شي يقهر صفقة تربح 200 تكة ثم تعكس وتضرب مارجن
    اذا تشتغل بالعاطفة لن تصل الى 10 اضعاف
    بتقفل على 5 او حتى 9 اضعاف
    مع تحرك سريع اصلا
    سأعطيك فكرة اضافية بعد قليل
    خل امحصها
    اقتباس المشاركة الأصلية كتبت بواسطة سلمان_العتيبي مشاهدة المشاركة
    تحديث باقي شغال!
    الملف المرفق 528320
    الصور غير ظاهرة
    آخر تعديل بواسطة أبو نـاصر ، 06-09-2020 الساعة 12:12 AM
    توقيع العضو
    الإلتزام 100% وليس 99%

    إما 100% أو هو صفر

    ---

    التداول الناجح .. اسلوب حياة متكامل
    وليس مجرد صفقة

  8. #233
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي

    كود:
    int TP=20000;
    double lot=0.1;
    double mL=200;
    
    int ordersBasedOnBlance;
    double AccountMarginLevel;
    double maxEq;
    double minEq;
    double maxML;
    double minML;
    
    
    
    void OnTick()
    {
    
    
       for(int k=OrdersTotal()-1;k>=0;k--)
       {
          if(OrderSelect(k,SELECT_BY_POS,MODE_TRADES))
          {
             if(OrderType()==OP_BUY || OrderType()==OP_SELL)
             {//5
                if(OrderType()==OP_BUY)
                {
                   if((OrderOpenPrice()-Bid)/_Point>=TP)
                   {
                      mL=mL+10;
                      bool close_order1=OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),0,clrWhite);
                   }
                }
                if(OrderType()==OP_SELL)
                {
                   if((OrderOpenPrice()-Ask)/_Point>=TP)
                   {  mL=mL+10;Print("----mL = "+mL);
                      double LSBB=OrderLots();
                      double OBBS=OrderOpenPrice()+1000*_Point; 
                      bool close_order2=OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),0,clrWhite);
                      int ticSL2=OrderSend(Symbol(),OP_SELLLIMIT, LSBB,OBBS,0,0,OBBS-10000*_Point,"",0,0,clrLime);
                   }
                }
             }
          }
       }
       if(maxEq<AccountEquity())maxEq=AccountEquity();
       if(minEq>AccountEquity())minEq=AccountEquity();
       
       if(maxML<AccountMarginLevel)maxML=AccountMarginLevel;
       if(minML>AccountMarginLevel)minML=AccountMarginLevel;
          
          
    
          ordersBasedOnBlance=AccountBalance()/10.0;
       
       if(OrdersTotal()==0)
       {
          maxEq=AccountEquity();
          minEq=AccountEquity();
          maxML=0;
          minML=AccountMarginLevel;
    
          for( int j=1;j<=1;j++)
          {
             //int ticBL=OrderSend( Symbol() , OP_BUY  , lot , Ask , 0 , 0 , 0 , " " , 0 , 0 , clrBlue);
             //int ticSL=OrderSend( Symbol() , OP_SELL , lot , Bid , 0 , 0 , Bid-50000*_Point , " " , 0 , 0 , clrRed );
          }
       }
       if( AccountEquity() >= 200000 * AccountBalance() )
       {
       
          for(k=OrdersTotal()-1;k>=0;k--)
          {
             if(OrderSelect(k,SELECT_BY_POS,MODE_TRADES))
             {
                if(OrderType()==OP_SELL || OrderType()==OP_BUY)
                {                
                   bool SC=OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),0,clrLime);
                }
             }
          }
       }
    
       int d=OrdersTotal();
       if(AccountMarginLevel>mL)
       {
          //int ticDL=OrderSend(Symbol(),OP_BUY, lot,Ask,0,0,0,"",0,0,clrBlue);
          int ticVL=OrderSend(Symbol(),OP_SELL, lot,Bid,0,0, Bid-50000*_Point,"",0,0,clrBlue);
       }          
    
       if(d!=OrdersTotal())
       {
          maxML=0;
          minML=9999999;
       }
    
       if(AccountMargin()!=0)
          AccountMarginLevel=100*AccountEquity()/AccountMargin();
       else
          {AccountMarginLevel=999999;maxML=0;minML=9999999;} 
       double LPS;
       double LPB;
       double LS;
       double LB;
       int NB;
       int NS;
       double PLB;///----P/L BUY
       double PLS;///----P/L SELL
       
       
       for( k=OrdersTotal()-1;k>=0;k--)
       {
          if(OrderSelect(k,SELECT_BY_POS,MODE_TRADES))
          {
             if(OrderType()==OP_SELL)
             {//5           
                LPS=LPS+OrderOpenPrice()*OrderLots();
                LS=LS+OrderLots();
                NS++;
                PLB=PLB+OrderProfit()+OrderCommission()+OrderSwap();
             }
             if(OrderType()==OP_BUY)
             {//5           
                LPB=LPB+OrderOpenPrice()*OrderLots();
                LB=LB+OrderLots();
                NB++;
                PLS=PLS+OrderProfit()+OrderCommission()+OrderSwap();
             }
          }
       }
       
       double CommissionEffect=0;
       if(StringSubstr(Symbol(),0,2)=="SI")CommissionEffect=0.002;
    
       if(LB!=0)   double avgB=double(DoubleToString(LPB/LB,_Digits))+CommissionEffect;
       if(LS!=0)   double avgS=double(DoubleToString(LPS/LS,_Digits))-CommissionEffect;
    
       
       
       int x=-1;
       int y=20;
       int xd=120;
       int yd=24;
       int font=10;
       
       Create_Button("ZC1C","Equity",   x,    y,   xd,   yd,   font,   C'55,0,111', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("ZC2C",DoubleToString(AccountEquity(),2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,111', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("ZC1D","maxEquity",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("ZC2D","minEquity",   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("ZC3D",DoubleToString(maxEq,2),   x,    y,   xd,   yd,   font,   C'55,0,55', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("ZC4D",DoubleToString(minEq,2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,55', C'255,255,255', C'255,255,255', "AccountEquity");
    
       y=y+yd-1;
       Create_Button("XC1D","Balance",   x,    y,   xd,   yd,   font,   C'55,0,222', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XC2C",DoubleToString(AccountBalance(),2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,222', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XC1","Margin",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XC2",DoubleToString(AccountMargin(),2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("YC1","MarginLevel%",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("YC2",DoubleToString(AccountMarginLevel,2)+" %",   x+xd-1,    y,   xd,   yd,   font,   C'255,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("YC2HHH",DoubleToString(mL,2)+" %",   x+2*xd-2,    y,   xd,   yd,   font,   C'255,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       
       y=y+yd-1;
       Create_Button("maxML1","maxML",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("minML1","minML",   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("maxML2",DoubleToString(maxML,2),   x,    y,   xd,   yd,   font,   C'55,0,55', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("minML2",DoubleToString(minML,2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,55', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XD1","FreeMargin",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XD2",DoubleToString(AccountFreeMargin(),2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XE1","P/L ALL",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XE2",DoubleToString(AccountProfit(),2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("YD1","P/L Buy",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("YD2",DoubleToString(PLB,2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("YE1","P/L Sell",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("YE2",DoubleToString(PLS,2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XHj1","# SELL",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XHj2",DoubleToString(NS,0),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XH1","# BUY",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XH2",DoubleToString(NB,0),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XI1","OrdersTotal",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XI2",DoubleToString(OrdersTotal(),0),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XJ1","avgB",   x,    y,   xd,   yd,   font,   C'55,55,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XJ2","avgS",   x+xd-1,    y,   xd,   yd,   font,   C'55,55,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XK1",DoubleToString(avgB,MarketInfo(Symbol(),MODE_DIGITS)),   x,    y,   xd,   yd,   font,   C'55,55,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XK2",DoubleToString(avgS,MarketInfo(Symbol(),MODE_DIGITS)),   x+xd-1,    y,   xd,   yd,   font,   C'55,55,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XL1","Lots_BUY",   x,    y,   xd,   yd,   font,   C'55,55,55', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XL2","Lots_SELL",   x+xd-1,    y,   xd,   yd,   font,   C'55,55,55', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XM1",DoubleToString(LB,2),   x,    y,   xd,   yd,   font,   C'55,55,55', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XM2",DoubleToString(LS,2),   x+xd-1,    y,   xd,   yd,   font,   C'55,55,55', C'255,255,255', C'255,255,255', "AccountEquity");
    }
    
    void Create_Button(string name,string text,  int X,   int Y,   int W,   int H,   int width,   color BackColor, color TextColor, color borderColor, string TOOL)
    {
       ObjectDelete(0,name);
       ObjectCreate(0,name,OBJ_BUTTON,0,0,0);
       ObjectSetInteger(0,name,OBJPROP_XSIZE,W);
       ObjectSetInteger(0,name,OBJPROP_YSIZE,H);
       ObjectSetInteger(0,name,OBJPROP_CORNER,CORNER_LEFT_UPPER);
       ObjectSetInteger(0,name,OBJPROP_XDISTANCE,X);
       ObjectSetInteger(0,name,OBJPROP_YDISTANCE,Y);
       ObjectSetInteger(0,name,OBJPROP_FONTSIZE,width);
       ObjectSetInteger(0,name,OBJPROP_HIDDEN,true);
       ObjectSetString(0,name,OBJPROP_TOOLTIP,TOOL);
       ObjectSetInteger(0,name,OBJPROP_BORDER_TYPE,BORDER_RAISED);
       ObjectSetInteger(0,  name,OBJPROP_BACK,FALSE); 
       ObjectSetInteger(0,  name,OBJPROP_SELECTABLE,FALSE); 
       ObjectSetInteger(0,  name,OBJPROP_SELECTED,FALSE); 
       ObjectSetInteger(0,  name,OBJPROP_HIDDEN,FALSE); 
       ObjectSetInteger(0,  name,OBJPROP_ZORDER,1);    
       ObjectSetInteger(0,  name,OBJPROP_BGCOLOR,BackColor);
       ObjectSetInteger(0,  name,OBJPROP_ALIGN,ALIGN_LEFT);
       ObjectSetInteger(0,  name,OBJPROP_BORDER_COLOR,borderColor);
       ObjectSetInteger(0,  name,OBJPROP_COLOR,TextColor);  
       ObjectSetString(0,   name,OBJPROP_FONT,"TAHOMA"); 
       ObjectSetString(0,   name,OBJPROP_TEXT,text);
    }

  9. #234
    الصورة الرمزية أبو نـاصر
    أبو نـاصر غير متواجد حالياً عضو نشيط
    تاريخ التسجيل
    Jun 2013
    الإقامة
    السعودية
    المشاركات
    3,189

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة سلمان_العتيبي مشاهدة المشاركة
    كود:
    int TP=20000;
    double lot=0.1;
    double mL=200;
    
    int ordersBasedOnBlance;
    double AccountMarginLevel;
    double maxEq;
    double minEq;
    double maxML;
    double minML;
    
    
    
    void OnTick()
    {
    
    
       for(int k=OrdersTotal()-1;k>=0;k--)
       {
          if(OrderSelect(k,SELECT_BY_POS,MODE_TRADES))
          {
             if(OrderType()==OP_BUY || OrderType()==OP_SELL)
             {//5
                if(OrderType()==OP_BUY)
                {
                   if((OrderOpenPrice()-Bid)/_Point>=TP)
                   {
                      mL=mL+10;
                      bool close_order1=OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),0,clrWhite);
                   }
                }
                if(OrderType()==OP_SELL)
                {
                   if((OrderOpenPrice()-Ask)/_Point>=TP)
                   {  mL=mL+10;Print("----mL = "+mL);
                      double LSBB=OrderLots();
                      double OBBS=OrderOpenPrice()+1000*_Point; 
                      bool close_order2=OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),0,clrWhite);
                      int ticSL2=OrderSend(Symbol(),OP_SELLLIMIT, LSBB,OBBS,0,0,OBBS-10000*_Point,"",0,0,clrLime);
                   }
                }
             }
          }
       }
       if(maxEq<AccountEquity())maxEq=AccountEquity();
       if(minEq>AccountEquity())minEq=AccountEquity();
       
       if(maxML<AccountMarginLevel)maxML=AccountMarginLevel;
       if(minML>AccountMarginLevel)minML=AccountMarginLevel;
          
          
    
          ordersBasedOnBlance=AccountBalance()/10.0;
       
       if(OrdersTotal()==0)
       {
          maxEq=AccountEquity();
          minEq=AccountEquity();
          maxML=0;
          minML=AccountMarginLevel;
    
          for( int j=1;j<=1;j++)
          {
             //int ticBL=OrderSend( Symbol() , OP_BUY  , lot , Ask , 0 , 0 , 0 , " " , 0 , 0 , clrBlue);
             //int ticSL=OrderSend( Symbol() , OP_SELL , lot , Bid , 0 , 0 , Bid-50000*_Point , " " , 0 , 0 , clrRed );
          }
       }
       if( AccountEquity() >= 200000 * AccountBalance() )
       {
       
          for(k=OrdersTotal()-1;k>=0;k--)
          {
             if(OrderSelect(k,SELECT_BY_POS,MODE_TRADES))
             {
                if(OrderType()==OP_SELL || OrderType()==OP_BUY)
                {                
                   bool SC=OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),0,clrLime);
                }
             }
          }
       }
    
       int d=OrdersTotal();
       if(AccountMarginLevel>mL)
       {
          //int ticDL=OrderSend(Symbol(),OP_BUY, lot,Ask,0,0,0,"",0,0,clrBlue);
          int ticVL=OrderSend(Symbol(),OP_SELL, lot,Bid,0,0, Bid-50000*_Point,"",0,0,clrBlue);
       }          
    
       if(d!=OrdersTotal())
       {
          maxML=0;
          minML=9999999;
       }
    
       if(AccountMargin()!=0)
          AccountMarginLevel=100*AccountEquity()/AccountMargin();
       else
          {AccountMarginLevel=999999;maxML=0;minML=9999999;} 
       double LPS;
       double LPB;
       double LS;
       double LB;
       int NB;
       int NS;
       double PLB;///----P/L BUY
       double PLS;///----P/L SELL
       
       
       for( k=OrdersTotal()-1;k>=0;k--)
       {
          if(OrderSelect(k,SELECT_BY_POS,MODE_TRADES))
          {
             if(OrderType()==OP_SELL)
             {//5           
                LPS=LPS+OrderOpenPrice()*OrderLots();
                LS=LS+OrderLots();
                NS++;
                PLB=PLB+OrderProfit()+OrderCommission()+OrderSwap();
             }
             if(OrderType()==OP_BUY)
             {//5           
                LPB=LPB+OrderOpenPrice()*OrderLots();
                LB=LB+OrderLots();
                NB++;
                PLS=PLS+OrderProfit()+OrderCommission()+OrderSwap();
             }
          }
       }
       
       double CommissionEffect=0;
       if(StringSubstr(Symbol(),0,2)=="SI")CommissionEffect=0.002;
    
       if(LB!=0)   double avgB=double(DoubleToString(LPB/LB,_Digits))+CommissionEffect;
       if(LS!=0)   double avgS=double(DoubleToString(LPS/LS,_Digits))-CommissionEffect;
    
       
       
       int x=-1;
       int y=20;
       int xd=120;
       int yd=24;
       int font=10;
       
       Create_Button("ZC1C","Equity",   x,    y,   xd,   yd,   font,   C'55,0,111', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("ZC2C",DoubleToString(AccountEquity(),2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,111', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("ZC1D","maxEquity",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("ZC2D","minEquity",   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("ZC3D",DoubleToString(maxEq,2),   x,    y,   xd,   yd,   font,   C'55,0,55', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("ZC4D",DoubleToString(minEq,2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,55', C'255,255,255', C'255,255,255', "AccountEquity");
    
       y=y+yd-1;
       Create_Button("XC1D","Balance",   x,    y,   xd,   yd,   font,   C'55,0,222', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XC2C",DoubleToString(AccountBalance(),2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,222', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XC1","Margin",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XC2",DoubleToString(AccountMargin(),2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("YC1","MarginLevel%",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("YC2",DoubleToString(AccountMarginLevel,2)+" %",   x+xd-1,    y,   xd,   yd,   font,   C'255,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("YC2HHH",DoubleToString(mL,2)+" %",   x+2*xd-2,    y,   xd,   yd,   font,   C'255,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       
       y=y+yd-1;
       Create_Button("maxML1","maxML",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("minML1","minML",   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("maxML2",DoubleToString(maxML,2),   x,    y,   xd,   yd,   font,   C'55,0,55', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("minML2",DoubleToString(minML,2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,55', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XD1","FreeMargin",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XD2",DoubleToString(AccountFreeMargin(),2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XE1","P/L ALL",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XE2",DoubleToString(AccountProfit(),2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("YD1","P/L Buy",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("YD2",DoubleToString(PLB,2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("YE1","P/L Sell",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("YE2",DoubleToString(PLS,2),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XHj1","# SELL",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XHj2",DoubleToString(NS,0),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XH1","# BUY",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XH2",DoubleToString(NB,0),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XI1","OrdersTotal",   x,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XI2",DoubleToString(OrdersTotal(),0),   x+xd-1,    y,   xd,   yd,   font,   C'55,0,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XJ1","avgB",   x,    y,   xd,   yd,   font,   C'55,55,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XJ2","avgS",   x+xd-1,    y,   xd,   yd,   font,   C'55,55,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XK1",DoubleToString(avgB,MarketInfo(Symbol(),MODE_DIGITS)),   x,    y,   xd,   yd,   font,   C'55,55,0', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XK2",DoubleToString(avgS,MarketInfo(Symbol(),MODE_DIGITS)),   x+xd-1,    y,   xd,   yd,   font,   C'55,55,0', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XL1","Lots_BUY",   x,    y,   xd,   yd,   font,   C'55,55,55', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XL2","Lots_SELL",   x+xd-1,    y,   xd,   yd,   font,   C'55,55,55', C'255,255,255', C'255,255,255', "AccountEquity");
       y=y+yd-1;
       Create_Button("XM1",DoubleToString(LB,2),   x,    y,   xd,   yd,   font,   C'55,55,55', C'255,255,255', C'255,255,255', "AccountEquity");
       Create_Button("XM2",DoubleToString(LS,2),   x+xd-1,    y,   xd,   yd,   font,   C'55,55,55', C'255,255,255', C'255,255,255', "AccountEquity");
    }
    
    void Create_Button(string name,string text,  int X,   int Y,   int W,   int H,   int width,   color BackColor, color TextColor, color borderColor, string TOOL)
    {
       ObjectDelete(0,name);
       ObjectCreate(0,name,OBJ_BUTTON,0,0,0);
       ObjectSetInteger(0,name,OBJPROP_XSIZE,W);
       ObjectSetInteger(0,name,OBJPROP_YSIZE,H);
       ObjectSetInteger(0,name,OBJPROP_CORNER,CORNER_LEFT_UPPER);
       ObjectSetInteger(0,name,OBJPROP_XDISTANCE,X);
       ObjectSetInteger(0,name,OBJPROP_YDISTANCE,Y);
       ObjectSetInteger(0,name,OBJPROP_FONTSIZE,width);
       ObjectSetInteger(0,name,OBJPROP_HIDDEN,true);
       ObjectSetString(0,name,OBJPROP_TOOLTIP,TOOL);
       ObjectSetInteger(0,name,OBJPROP_BORDER_TYPE,BORDER_RAISED);
       ObjectSetInteger(0,  name,OBJPROP_BACK,FALSE); 
       ObjectSetInteger(0,  name,OBJPROP_SELECTABLE,FALSE); 
       ObjectSetInteger(0,  name,OBJPROP_SELECTED,FALSE); 
       ObjectSetInteger(0,  name,OBJPROP_HIDDEN,FALSE); 
       ObjectSetInteger(0,  name,OBJPROP_ZORDER,1);    
       ObjectSetInteger(0,  name,OBJPROP_BGCOLOR,BackColor);
       ObjectSetInteger(0,  name,OBJPROP_ALIGN,ALIGN_LEFT);
       ObjectSetInteger(0,  name,OBJPROP_BORDER_COLOR,borderColor);
       ObjectSetInteger(0,  name,OBJPROP_COLOR,TextColor);  
       ObjectSetString(0,   name,OBJPROP_FONT,"TAHOMA"); 
       ObjectSetString(0,   name,OBJPROP_TEXT,text);
    }
    ممكن توضح
    قراءة الاكواد تحتاج مخ صافي


    كل شي ينقص بالانفاق الا المال والعلم كلما انفقت منه زاد
    توقيع العضو
    الإلتزام 100% وليس 99%

    إما 100% أو هو صفر

    ---

    التداول الناجح .. اسلوب حياة متكامل
    وليس مجرد صفقة

  10. #235
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي

    اقتباس المشاركة الأصلية كتبت بواسطة أبو نـاصر مشاهدة المشاركة
    ممكن توضح
    قراءة الاكواد تحتاج مخ صافي


    كل شي ينقص بالانفاق الا المال والعلم كلما انفقت منه زاد
    جعلت اهم 3 متغيرات فوق للتعديل
    داخل الاكواد يلزم تغيير بعض الارقام داخل ordersend
    مسودة وعلى فرضية انك فاهم بعض امور البرمجة
    ----
    عموما تم تصميم جدول اكسل ولكن على التشارت لدراسة الحالة
    التدبيلة فعلا كما قلت تحدث مع المرة الخامسة لو استمر الحساب في الربح
    تحديث: الامر الرابع كاف للوصول الى 10 مضاعفات

  11. #236
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي

    جدول اكسل دراسي--اسحب الخبير على التشارت
    لو حبيت تعديلات--غير داخل البرنامج كمبلة
    او اجعل المتغيرات في الخارج مع كلمة extern
    الملفات المرفقة الملفات المرفقة

  12. #237
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي

    الشرط الازرق هو سعر الدخول الجديد لكل جولة(اول دخول تحدده انت داخل الكود)
    الشريط الاخضر هو الهدف لتلك الجولة الذي يكفل عودة متوسى الهامش عند 1000% او اعلى (لاحظ انه سعر الدخول ايضا للجولة بعده)
    الشريط الاحمر: نقطة حدوث المارجن بعد الدخول في تلك الجولة

    مع الحرص من اجل الدجتس بعد الفاصلة ان تطبقه على الزوج الذي تدرسه مع تغيير مايلزم

  13. #238
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي


  14. #239
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي

    انتهى شرح جدول الاكسل الافتراضي

  15. #240
    تاريخ التسجيل
    Mar 2020
    الإقامة
    السعودية
    المشاركات
    8,531

    افتراضي

    الرد 236--الرافعة بالرمز R وليس Lots
    خطأ توصيل على الصورة فقط ولكن اظن تدركها منذ البدء

صفحة 16 من 19 الأولىالأولى ... 610111213141516171819 الأخيرةالأخيرة

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17