BTC USD 52,169.8 Gold USD 1,682.37
Time now: Jun 1, 12:00 AM

pending order berdasarkan masa, at time bukan at price.

Live Forex Chart

Currency
Rates
EUR / USD
1.18423
USD / JPY
109.130
GBP / USD
1.38075
USD / CHF
0.93730
USD / CAD
1.26703
EUR / JPY
129.206
AUD / USD
0.76399

CG Sponsors




xtive_scammer

Fun Poster
Joined
Nov 11, 2009
Messages
105
Reaction score
0
Points
10
eurusd=buy,30,0,00:30
nzdusd=buy,45,0,02:45
audusd=buy,10,0,09:30
gbpusd=sell,30,0,00:45
usdjpy=sell,20,0,00:45
usdchf=sell,5,15,00:45
usdcad=buy,5,0,00:45
eurjpy=sell,5,0,00:45
gbpjpy=sell,5,0,00:45
cadjpy=buy,5,0,00:45
audjpy=sell,5,0,00:45
nzdjpy=buy,5,0,00:45
chfjpy=sell,5,0,00:45
pair=buy/sell,tp,sl,time

salam.
sape bleh tolong camne nak wat script supaya buy and sell dapat wat secara auto pada masa tertentu siap sl ngn tp mcm kat atas.
bila nakguna kita hanya perlu adjust kat script je pastu bia je buy/sell secara auto.kire mcm pending order gak la. cuma nak tetapkan masa je.

harap dapat tolong.
 
Sponsored Post

panglima_ayam

Active+ Member
Joined
Mar 12, 2008
Messages
4,106
Reaction score
23
Points
25
aku pun dah lama cari tapi tadak sapa nak kasi ,pasal dia org nak duit kena bayar servis
 

xtive_scammer

Fun Poster
Joined
Nov 11, 2009
Messages
105
Reaction score
0
Points
10
aku pun dah lama cari tapi tadak sapa nak kasi ,pasal dia org nak duit kena bayar servis
jom kita cari sama2 nanti share kat sini..

kepada sesape yg ade ataupon pandai buat, tolong lah kami...


tolong kami, bantu kami..
 

atlantis

CG Top Poster Club
Platinum Member
Joined
Feb 3, 2008
Messages
35,221
Reaction score
767
Points
161
tak susah nak wat ni. tapi orang yg pandai buat nak tau gak keberkesanannya trade guna teknik ni.

kalau ada trade record tampal kat sini.
penjelasan utk teknik ni pun perlu dijelaskan.

taknaknya coder2 tu wat kerja yg tak nampak hasil.
jadi kena la tunjuk hasil. baru la dorang stim.
 

lukpayat

Active+ Member
Joined
Dec 21, 2008
Messages
3,105
Reaction score
4,332
Points
111
try code below

Code:
#property copyright "Aiman."
#property show_inputs
#include <stdlib.mqh>

extern bool    use_timer   = false;
extern string  timer       = "08:30";
extern double  Lots        = 0.01;
extern int     Pips        = 15;
extern int     StopLoss    = 0;      
extern int     TakeProfit  = 0;
extern bool    Buy_Stop    = false;
extern bool    Sell_Stop   = false;
extern bool    Buy_Limit   = false;
extern bool    Sell_Limit  = false;

       int     Slippage    = 5;
       
double bid,ask;

int deinit ()
{
   Comment ("");
   return (0);
}
   
int start()
{
   if (use_timer) countdown ();
   else
   {
      bid=Bid;
      ask=Ask;
      if (Buy_Stop)   PO_order(OP_BUYSTOP);
      if (Sell_Stop)  PO_order(OP_SELLSTOP);
      if (Buy_Limit)  PO_order(OP_BUYLIMIT);
      if (Sell_Limit) PO_order(OP_SELLLIMIT);
   }
   return(0);
}

void PO_order (int PO_type)
{
   int err;
   double PO,SL,TP;
   string comment;
   
   if (PO_type==OP_BUYSTOP)
   {
      comment  ="Placing BuyStop = ";
      PO       =ask+Pips*Point;
      if (StopLoss>0)   SL=ask-(StopLoss*Point)+Pips*Point; else SL=0;
      if (TakeProfit>0) TP=bid+(TakeProfit*Point)+Pips*Point; else TP=0;     
   }

   if (PO_type==OP_SELLSTOP)
   {
      comment  ="Placing SellStop = ";
      PO       =bid-Pips*Point;
      if (StopLoss>0)   SL=bid+(StopLoss*Point)-Pips*Point; else SL=0;
      if (TakeProfit>0) TP=ask-(TakeProfit*Point)-Pips*Point; else TP=0;      
   }
   
   if (PO_type==OP_BUYLIMIT)
   {
      comment  ="Placing BuyLimit = ";
      PO       =ask-Pips*Point;
      if (StopLoss>0)   SL=ask-(StopLoss*Point)-Pips*Point; else SL=0;
      if (TakeProfit>0) TP=bid+(TakeProfit*Point)-Pips*Point; else TP=0;
   }

   if (PO_type==OP_SELLLIMIT)
   {
      comment  ="Placing SellLimit = ";
      PO       =bid+Pips*Point;
      if (StopLoss>0)   SL=bid+(StopLoss*Point)+Pips*Point; else SL=0;
      if (TakeProfit>0) TP=ask-(TakeProfit*Point)+Pips*Point; else TP=0;
   }

   bool loop=true;
   int cnt=0;
   while(loop)
   {
      OrderSend(Symbol(),PO_type,Lots,PO,Slippage,SL,TP,"",0,0,CLR_NONE);
      err=GetLastError();
      Print (comment, ErrorDescription(err));
      cnt++;
      if (cnt>20 || err==0) loop = false;
      Sleep(50);
   }
   if (err>0) Print (comment+ErrorDescription(err));
}

void countdown ()
{
   string rotate []={" /"," -"," \\"," |"},textComment;
   int i;
   bool loop=true;
  
   while (loop)
   {
      i++; if (i>=3) i=0;
      
      textComment = StringConcatenate(rotate[i]," SCRIPT IS ACTIVE ",rotate[i],"\n",
                    "Current Time = ",TimeToStr(TimeLocal(), TIME_SECONDS),"\n",
                    "Execute Time = ",timer,
                    "\n\nPending Order to be executed: ");
                    
      if (Buy_Stop) textComment=textComment+"\nBuy Stop";
      if (Sell_Stop) textComment=textComment+"\nSell Stop";
      if (Buy_Limit) textComment=textComment+"\nBuy Limit";
      if (Sell_Limit) textComment=textComment+"\nSell Limit";
      
      textComment=textComment+"\n\nSettings:\nLots : "+DoubleToStr(Lots,2);  
      textComment=textComment+"\nPips : "+DoubleToStr(Pips,0); 
      textComment=textComment+"\nStopLoss : "+DoubleToStr(StopLoss,0); 
      textComment=textComment+"\nTakeProfit : "+DoubleToStr(TakeProfit,0);  
   
      if (TimeLocal()==StrToTime(timer)) loop=false;
      Sleep (1000);
      Comment (textComment);
   }
   
   use_timer=false;   
   Comment ("SENDING PENDING ORDER...");
   start();
}
 

rayz

Legendary Member
Joined
Jun 5, 2007
Messages
12,989
Reaction score
743
Points
161
teknik fx kunci jam kot ni.he.he.he..
 

xtive_scammer

Fun Poster
Joined
Nov 11, 2009
Messages
105
Reaction score
0
Points
10
try code below

Code:
#property copyright "Aiman."
#property show_inputs
#include <stdlib.mqh>

extern bool    use_timer   = false;
extern string  timer       = "08:30";
extern double  Lots        = 0.01;
extern int     Pips        = 15;
extern int     StopLoss    = 0;      
extern int     TakeProfit  = 0;
extern bool    Buy_Stop    = false;
extern bool    Sell_Stop   = false;
extern bool    Buy_Limit   = false;
extern bool    Sell_Limit  = false;

       int     Slippage    = 5;
       
double bid,ask;

int deinit ()
{
   Comment ("");
   return (0);
}
   
int start()
{
   if (use_timer) countdown ();
   else
   {
      bid=Bid;
      ask=Ask;
      if (Buy_Stop)   PO_order(OP_BUYSTOP);
      if (Sell_Stop)  PO_order(OP_SELLSTOP);
      if (Buy_Limit)  PO_order(OP_BUYLIMIT);
      if (Sell_Limit) PO_order(OP_SELLLIMIT);
   }
   return(0);
}

void PO_order (int PO_type)
{
   int err;
   double PO,SL,TP;
   string comment;
   
   if (PO_type==OP_BUYSTOP)
   {
      comment  ="Placing BuyStop = ";
      PO       =ask+Pips*Point;
      if (StopLoss>0)   SL=ask-(StopLoss*Point)+Pips*Point; else SL=0;
      if (TakeProfit>0) TP=bid+(TakeProfit*Point)+Pips*Point; else TP=0;     
   }

   if (PO_type==OP_SELLSTOP)
   {
      comment  ="Placing SellStop = ";
      PO       =bid-Pips*Point;
      if (StopLoss>0)   SL=bid+(StopLoss*Point)-Pips*Point; else SL=0;
      if (TakeProfit>0) TP=ask-(TakeProfit*Point)-Pips*Point; else TP=0;      
   }
   
   if (PO_type==OP_BUYLIMIT)
   {
      comment  ="Placing BuyLimit = ";
      PO       =ask-Pips*Point;
      if (StopLoss>0)   SL=ask-(StopLoss*Point)-Pips*Point; else SL=0;
      if (TakeProfit>0) TP=bid+(TakeProfit*Point)-Pips*Point; else TP=0;
   }

   if (PO_type==OP_SELLLIMIT)
   {
      comment  ="Placing SellLimit = ";
      PO       =bid+Pips*Point;
      if (StopLoss>0)   SL=bid+(StopLoss*Point)+Pips*Point; else SL=0;
      if (TakeProfit>0) TP=ask-(TakeProfit*Point)+Pips*Point; else TP=0;
   }

   bool loop=true;
   int cnt=0;
   while(loop)
   {
      OrderSend(Symbol(),PO_type,Lots,PO,Slippage,SL,TP,"",0,0,CLR_NONE);
      err=GetLastError();
      Print (comment, ErrorDescription(err));
      cnt++;
      if (cnt>20 || err==0) loop = false;
      Sleep(50);
   }
   if (err>0) Print (comment+ErrorDescription(err));
}

void countdown ()
{
   string rotate []={" /"," -"," \\"," |"},textComment;
   int i;
   bool loop=true;
  
   while (loop)
   {
      i++; if (i>=3) i=0;
      
      textComment = StringConcatenate(rotate[i]," SCRIPT IS ACTIVE ",rotate[i],"\n",
                    "Current Time = ",TimeToStr(TimeLocal(), TIME_SECONDS),"\n",
                    "Execute Time = ",timer,
                    "\n\nPending Order to be executed: ");
                    
      if (Buy_Stop) textComment=textComment+"\nBuy Stop";
      if (Sell_Stop) textComment=textComment+"\nSell Stop";
      if (Buy_Limit) textComment=textComment+"\nBuy Limit";
      if (Sell_Limit) textComment=textComment+"\nSell Limit";
      
      textComment=textComment+"\n\nSettings:\nLots : "+DoubleToStr(Lots,2);  
      textComment=textComment+"\nPips : "+DoubleToStr(Pips,0); 
      textComment=textComment+"\nStopLoss : "+DoubleToStr(StopLoss,0); 
      textComment=textComment+"\nTakeProfit : "+DoubleToStr(TakeProfit,0);  
   
      if (TimeLocal()==StrToTime(timer)) loop=false;
      Sleep (1000);
      Comment (textComment);
   }
   
   use_timer=false;   
   Comment ("SENDING PENDING ORDER...");
   start();
}
utk satu pair je kan?
kalau nak bnyak mcm ni>>
eurusd=buy,30,0,00:30
nzdusd=buy,45,0,02:45
audusd=buy,10,0,09:30
gbpusd=sell,30,0,00:45
usdjpy=sell,20,0,00:45
usdchf=sell,5,15,00:45
usdcad=buy,5,0,00:45
eurjpy=sell,5,0,00:45
gbpjpy=sell,5,0,00:45
cadjpy=buy,5,0,00:45
audjpy=sell,5,0,00:45
nzdjpy=buy,5,0,00:45
chfjpy=sell,5,0,00:45
pair=buy/sell,tp,sl,time
 

g r a n p a

Super Active Member
Joined
Feb 15, 2008
Messages
5,119
Reaction score
44
Points
70
bagaimana disini..terangkan la sikit ttg kebestan pakai system ni..
 

ck3er

Super Active Member
Joined
Apr 7, 2010
Messages
5,520
Reaction score
53
Points
70
blh pakai ke system mcm ni. aku x caya ni selagi x tunjuk statistik order by time ni.
 
Sponsored Post
Top
Log in Register