رد: اسئلة برمجيه موجه لاستاذ سمير
اخي الحبيب ابو سمر
انظر الى المطلوب
input double Lot_1=0.02;
input int TakeProfit_1=20;
input double Lot_2=0.02;
input int TakeProfit_2=100;
input double Lot_3=0.02;
input int TakeProfit_3=150;
input double Lot_4=0.04;
input int TakeProfit_4=150;
input double Lot_5=0.04;
input int TakeProfit_5=170;
-----------------------------------------------
if(ordestotal1()==1){L=Lot_1;Tak=TakeProfit_1;}
if(ordestotal1()==2){L=Lot_2;Tak=TakeProfit_2;}
if(ordestotal1()==3){L=Lot_3;Tak=TakeProfit_3;}
if(ordestotal1()==4){L=Lot_4;Tak=TakeProfit_4;}
if(ordestotal1()==5){L=Lot_5;Tak=TakeProfit_5;}
شكرا لك اخي الطيب