BTC USD 76,071.1 Gold USD 4,264.21
Time now: Jun 1, 12:00 AM

pending order pakai script

assalamualaikum bro aiman dan rakan rakan...

ada tak indi yang boleh kira nilai sesuatu candle dari open canlde sampai candle close shadow tak payah kira for H1.. sebelum ada ternampak link nya. tapi terlupa dah....
kalau kawan kawan ada boleh lah share kalau tak keberatan,
heheheheh
 
itu indi trade bank bro-indi spike v...rsanya dlm indi tu jk pndi godek bro akn jmp nilai cs tpi kna adjust setting properties die dlula...samada bro nk value open-close atau high-low je..nah try yg aku kasi ni..
http://www.4shared.com/file/fnwdFYFD/Trade_banksmart_trade_Tpl_3.html, sblm tu nk inform ni thread script bro bkn thread nk indi...mgkn bro kna bukak thread baru utk dptkn certain indi yg bro nk tu jk sy pnya ni bkn sbagaimana bro mksudkn..
 
Last edited:
script tu kna drag ke chart la bro..klu klick je script tu mna jdi...lg satu bla bro dh drag script tu ke chart, die akn kuar input properties, so bro kna set dlu nk script tu bukak cmne..cek dlu properties dlu bru execute ke chart..sbb tu rsa smthing wrong somewhere je dgn apa yg bro bt..
 
AlbaGold99

script tu kna drag ke chart la bro..klu klick je script tu mna jdi...lg satu bla bro dh drag script tu ke chart, die akn kuar input properties, so bro kna set dlu nk script tu bukak cmne..cek dlu properties dlu bru execute ke chart..sbb tu rsa smthing wrong somewhere je dgn apa yg bro bt..

Thank my friend , my Demo Broker problem , try kat Live Broker FXSol dah boleh ,dah keluar Properties , tapi belum test sebab Live ! lepas ni boleh ALBA GOLD99 tunjuk ajar cam mana boleh cepat untong guna Scripts Master coder Aiman ni?

PO_buy & PO_sell dua-dua set to True kena buka dua Charts ,satu Charts untuk PO_buy True , satu Charts lagi untuk PO_sell True ,boleh ?

StartPrice (0.0- 1.2200)ertinya Broker akan masuk order Buy or Sell bila sampai di Price 1.2200 , betul ?

Multiplier ni masih tak faham , nak set sampai berapa baru very good ?

total Layer ni macam perkataan Slippage ?

kalau soalan sebelum ni dah ada jawabpan jagan marah...tolong tunjuk kan di mana nak cari ,delete Post i di atas harap tak nak thread di pajang sagat , sekian sahaja terima kahsih.
 
sy tk try lain2 script bro...klu try pn msa kt demo je...sbb nk cri mna satu script yg bkenan d hti...so dlm byk2 tu, sy amik script pending order aiman martingle style je..sbb ssuai dgn niat dan tknik yg sy sdg kji...bg sy nk mudh fhm, bro kna try kt akaun demo, jgnla try kt live,nnti lingkup sapa sush...multiplier ni nilai gandaan kpd lot yg bro mau gna...org kta martingle jugakla tu...total layer plak brpe byk lapis bukaan lot bro mau bt...itu tplg kt bro brpe byk depend on ur margin...multiplier dgn layer ni bkait bro, slh lgkah, ade akaun btemu minah marginah dlu :D
 
minta tolong

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        = 150;
extern int     StopLoss    = 100;      
extern int     TakeProfit  = 500;
extern bool    Buy_Stop    = true;
extern bool    Sell_Stop   = true;
extern bool    Buy_Limit   = false;
extern bool    Sell_Limit  = false;

       int     Slippage    = NULL;
       
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();
}




AlbaGold99 dan member2 ada tak Script di atas Master Lukpakyat yang sudah siap jadi mql4? maksud saya downloap je terus masuk ke file folder Scripts ,restart mt4 dah boleh pakai , i dah try cara albagold99 guna Note copy & paste & rename to mq4(buat banyak kali dah) , dah jadi mq4 ,tapi tak boleh pakai , dah try 3 Broker pun tak boleh ,entah apa yg miss ! tolong ye...
 
salam semua treader nak mtk tolong boleh ?
saya nak mintak tlg buatkan script po macam diatas tapi bukak harga sama.contoh
kalau bukak 0.01 yg lain pom ikut sama.jasa baik kawan 2 semua hanya tuhan saja yg balas time kasih
 
aku rsa mcm dh ade je script mcm saudara ckp tu...ni script yg bukak lot blayer2 tu ke? tpi nk nilai lot yg sama?
 

Live Forex Chart

Currency
Rates
EUR / USD
1.14643
USD / JPY
156.250
GBP / USD
1.33781
USD / CHF
0.82575
USD / CAD
1.39903
EUR / JPY
179.154
AUD / USD
0.70876
Back
Top
Log in Register