Forex Community Place

Dapatkan hingga
$50000
karena mengundang teman
untuk memperoleh Bonus StartUp
dari InstaForex
Tidak perlu investasi!
Mulai trading tanpa
risiko dan investasi
Dengan Bonus Permulaan 1000$
Dapatkan bonus
55%
ke akun anda!
Page 2 of 45
FirstFirst 1 2 3 4 12 ... LastLast
Results 11 to 20 of 442

Thread: Simple Script for Instant Trading

  1. #11
    Pecandu
    Bingung
     
    hamster is on a distinguished road hamster's Avatar
    Join Date
    Nov 2010
    Location
    Bumi
    Posts
    652
    Accumulated bonus
    102 USD (What is this?)
    Thanks
    17
    Thanked 31 Times in 27 Posts
    gan, tu kan install sell,buy n dll...nah tu untuk profitnya akan close sendiri apa harus kita close manual....dari semua script agan di atas, apa semuanya di jadikan 1 file atau terpisah - pisah gan ?
    mohon bantuannya ya gan ...nubie bgt neh....

  2. <a href="https://www.mt5.com/id/forex_humor">Forex Portal MT5</a>
  3. #12
    Guru Honorer dari MT5
    Panas
     
    alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa's Avatar
    Join Date
    Aug 2010
    Location
    http://www.instaforex.com/
    Posts
    22,064
    Accumulated bonus
    5344 USD (What is this?)
    Saya bertemu tamu
    3 (detail lebih lanjut)
    Thanks
    6,645
    Thanked 7,063 Times in 3,808 Posts
    Black Frame Talent: Kontes Demotivator pada Forum MT5.com
    Quote Originally Posted by JenggotPutih     
    Wekekeke...
    gan mo nanya nih....

    PHP Code:
    #include <WinUser32.mqh> 
    kirakira dia manggil routine/function apaan yak...?
    sory gan... nubie berat nih...

    Hehehe, ini nih seorang master masuk thread saya yang newbie, ternyata setelah dilihat ulang, #include <WinUser32.mqh> sudah tidak diperlukan lagi, karena fungsi MB_YESNO sudah saya hapus, by pass..hihihi.. please koreksi masteng...

  4. #13
    Guru Honorer dari MT5
    Panas
     
    alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa's Avatar
    Join Date
    Aug 2010
    Location
    http://www.instaforex.com/
    Posts
    22,064
    Accumulated bonus
    5344 USD (What is this?)
    Saya bertemu tamu
    3 (detail lebih lanjut)
    Thanks
    6,645
    Thanked 7,063 Times in 3,808 Posts
    Black Frame Talent: Kontes Demotivator pada Forum MT5.com
    Terima kasih agan-agan sudah mampir, hehe para master yang sudah expert di masalah script tolong bisa memberikan masukan, okay, maklum masih newbie hehehe.. Buat sesama newbie yang ada pertanyaan, tolong bisa dibaca dari awal page #1, sip.

    Baiklah, ini script berikutnya : CLOSE ORDER
    Spoiler Spoiler:
    Code:
    //+------------------------------------------------------------------+
    //|                                              CLOSE ALL ORDER.mq4 |
    //|                                                               Ry |
    //|                                                      mantaps.net |
    //+------------------------------------------------------------------+
    #property copyright "Ry"
    #property link      "mantaps.net"
    
    //+------------------------------------------------------------------+
    //| script program start function                                    |
    //+------------------------------------------------------------------+
    int start()
      {
            while(OrdersTotal()>0){
             if(OrderSelect(0,SELECT_BY_POS,MODE_TRADES)) 
             {
                switch(OrderType())
                {
                   case OP_BUY       :OrderClose(OrderTicket(),OrderLots(),Bid,2,CLR_NONE); break;
                   case OP_SELL      :OrderClose(OrderTicket(),OrderLots(),Ask,2,CLR_NONE); break;
                   case OP_BUYLIMIT  :OrderDelete(OrderTicket()); break;
                   case OP_SELLLIMIT :OrderDelete(OrderTicket()); break;
                   case OP_BUYSTOP   :OrderDelete(OrderTicket()); break;
                   case OP_SELLSTOP  :OrderDelete(OrderTicket()); break;
                   default           :Alert("AlventFX: ",OrderType()," of trade ticket ",OrderTicket());
    
                }
                      
             }
         }
    
       return(0);
      }
    //+------------------------------------------------------------------+

    Fungsi : Untuk menutup semua order yang terbuka, dengan slippage 2 pips. Slippage bisa diganti seberapapun anda mau.
    ---> next

  5. The Following User Says Thank You to alventa For This Useful Post:

    yuda (01-10-2011)

  6. #14
    Penggemar
    Bosan
     
    asta_uni is on a distinguished road asta_uni's Avatar
    Join Date
    Jul 2010
    Location
    Denpasar - Bali
    Posts
    371
    Accumulated bonus
    60 USD (What is this?)
    Thanks
    24
    Thanked 24 Times in 21 Posts
    Bro Alventa .......
    Script Buy maupun sell-nya kalo dicompile masih errorr ....
    'ErrorDescription' - function is not define ................

    Kemudian ane minta script untuk AVERAGING ......
    Buy Limit atopun Sell Limit, sebesar 40 pips dari OP yang terakhir .... TP 40, no SL ....
    Trim's .... THREAD yang sangat bermanfaat ............

  7. #15
    Forum Resident
    Kesepian
     
    moleh999 has a spectacular aura about moleh999 has a spectacular aura about moleh999's Avatar
    Join Date
    Aug 2010
    Location
    Bikini Bottom
    Posts
    6,289
    Accumulated bonus
    1221 USD (What is this?)
    Thanks
    308
    Thanked 364 Times in 218 Posts
    Black Frame Talent: Kontes Demotivator pada Forum MT5.com
    ga ada yang langsung jadi ya? tinggal copy taruh di c/ script

    kemarin ada tapi lupa tritnya nih,, di bantu dong mas

    o ya ada script yang cuma ngeclose satu order ja ga?
    Last edited by moleh999; 11-30-2010 at 20:52.
    delete

  8. #16
    Poster Lama
    Mengintai
     
    ayahama has a spectacular aura about ayahama has a spectacular aura about ayahama has a spectacular aura about ayahama's Avatar
    Join Date
    Oct 2010
    Location
    Above Your Hope
    Posts
    3,111
    Accumulated bonus
    1805 USD (What is this?)
    Thanks
    429
    Thanked 296 Times in 219 Posts
    Quote Originally Posted by alfians     
    cara penerapan scriptnya gimana gan...ane awam banget ma code script laen kali tolong sekalian jelasin penarapannya yeee...
    Mencoba Ikutan Menjawab :

    Jelas sekali di awal-awal thread ini telah ada gan..
    Monggo di tengok postingan TS dari awal2...

    Salam...

  9. The Following User Says Thank You to ayahama For This Useful Post:

    alventa (12-02-2010)

  10. #17
    Orang Asing
    ----
     
    adjoel is on a distinguished road adjoel's Avatar
    Join Date
    Nov 2010
    Posts
    9
    Accumulated bonus
    0 USD (What is this?)
    Thanks
    0
    Thanked 1 Time in 1 Post
    Quote Originally Posted by alventa     
    Terima kasih agan-agan sudah mampir, hehe para master yang sudah expert di masalah script tolong bisa memberikan masukan, okay, maklum masih newbie hehehe.. Buat sesama newbie yang ada pertanyaan, tolong bisa dibaca dari awal page #1, sip.

    Baiklah, ini script berikutnya : CLOSE ORDER
    Spoiler Spoiler:
    Code:
    //+------------------------------------------------------------------+
    //|                                              CLOSE ALL ORDER.mq4 |
    //|                                                               Ry |
    //|                                                      mantaps.net |
    //+------------------------------------------------------------------+
    #property copyright "Ry"
    #property link      "mantaps.net"
    
    //+------------------------------------------------------------------+
    //| script program start function                                    |
    //+------------------------------------------------------------------+
    int start()
      {
            while(OrdersTotal()>0){
             if(OrderSelect(0,SELECT_BY_POS,MODE_TRADES)) 
             {
                switch(OrderType())
                {
                   case OP_BUY       :OrderClose(OrderTicket(),OrderLots(),Bid,2,CLR_NONE); break;
                   case OP_SELL      :OrderClose(OrderTicket(),OrderLots(),Ask,2,CLR_NONE); break;
                   case OP_BUYLIMIT  :OrderDelete(OrderTicket()); break;
                   case OP_SELLLIMIT :OrderDelete(OrderTicket()); break;
                   case OP_BUYSTOP   :OrderDelete(OrderTicket()); break;
                   case OP_SELLSTOP  :OrderDelete(OrderTicket()); break;
                   default           :Alert("AlventFX: ",OrderType()," of trade ticket ",OrderTicket());
    
                }
                      
             }
         }
    
       return(0);
      }
    //+------------------------------------------------------------------+

    Fungsi : Untuk menutup semua order yang terbuka, dengan slippage 2 pips. Slippage bisa diganti seberapapun anda mau.
    ---> next

    salam kenal, maaf sy masih amatir banget nich mohon bantuannya, untuk masalah porogram PHP memang bisa berfungsi untuk FX di pasaran, soalnya saya belum pernah membaca artikel tentang hal tersebut, mohon agan - agan membantu saya, trims

  11. #18
    Poster Setia
     Geli
     
    Mas_MB is on a distinguished road Mas_MB's Avatar
    Join Date
    Nov 2010
    Location
    Di kost
    Posts
    2,262
    Accumulated bonus
    350 USD (What is this?)
    Thanks
    6
    Thanked 16 Times in 13 Posts
    master ane request script yang bisa pending order kayak buy stop, sell stop, buy limit dan sell limit .......
    Trading Jurnal Daily System Set And Forget
    Because Simple Is Easy

  12. #19
    Guru Honorer dari MT5
    Panas
     
    alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa's Avatar
    Join Date
    Aug 2010
    Location
    http://www.instaforex.com/
    Posts
    22,064
    Accumulated bonus
    5344 USD (What is this?)
    Saya bertemu tamu
    3 (detail lebih lanjut)
    Thanks
    6,645
    Thanked 7,063 Times in 3,808 Posts
    Black Frame Talent: Kontes Demotivator pada Forum MT5.com
    Quote Originally Posted by asta_uni     
    Bro Alventa .......
    Script Buy maupun sell-nya kalo dicompile masih errorr ....
    'ErrorDescription' - function is not define ................

    Kemudian ane minta script untuk AVERAGING ......
    Buy Limit atopun Sell Limit, sebesar 40 pips dari OP yang terakhir .... TP 40, no SL ....
    Trim's .... THREAD yang sangat bermanfaat ............
    Agan asta_uni, sudah saya test berkali kali Sukses baik di compile maupun eksekusi di Chart...
    Coba cermati langkah-langkah yang saya sampaikan di Page #1, yang intinya Kode tersebut di copy paste dengan me-replace semua kode pada halaman scriptnya, new -> script -> copy kode di atas -> paste dengan me-replace semua kode yang ada, sehingga tampilan kode nya seperti pada yang saya sampaikan di spoiler kode.

    Okay, sabar script bersambung, untuk pending order......

  13. #20
    Guru Honorer dari MT5
    Panas
     
    alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa has a reputation beyond repute alventa's Avatar
    Join Date
    Aug 2010
    Location
    http://www.instaforex.com/
    Posts
    22,064
    Accumulated bonus
    5344 USD (What is this?)
    Saya bertemu tamu
    3 (detail lebih lanjut)
    Thanks
    6,645
    Thanked 7,063 Times in 3,808 Posts
    Black Frame Talent: Kontes Demotivator pada Forum MT5.com
    Baiklah, untuk agan-agan yang belum saya jawab sabar, dan nanti jika ada yang permintaannya tidak bisa saya penuhi mohon maaf berhubung keterbatasan ilmu seorang newbie hihihi.

    @moleh999, sabar nanti Insya Allah saya sampaikan di page-page selanjutnya, di sini kita (terutama saya) sambil belajar untuk membuat script sederhana, siapa tahu ke depan bermanfaat.

    Script = BUY LIMIT dengan space 40 pips dari Ask Price on Market Vol = 0.01 Slippage 2, TP dan SL = 0

    Spoiler Spoiler:
    Code:
    //+------------------------------------------------------------------+
    //|                                                    Buy Limit.mq4 |
    //|                                               Simple Script saja |
    //|                       http://www.sumberdolaronline.blogspot.com/ |
    //+------------------------------------------------------------------+
    #property copyright "enjoy trading"
    #property link      "http://www.sumberdolaronline.blogspot.com/"
    
    //+------------------------------------------------------------------+
    //| script "buy limit"                                               |
    //+------------------------------------------------------------------+
    int start()
      {
       int    ticket;
       double point;
    //----
       point=MarketInfo(Symbol(),MODE_POINT);
    //----
       while(true)
         {
          ticket=OrderSend(Symbol(),OP_BUYLIMIT,0.01,Ask-40*point,2,0,0,"Enjoy Trading",321,0,Green);
          if(ticket<=0) Print("Error = ",GetLastError());
          else { Print("ticket = ",ticket); break; }
          //---- 10 seconds wait
          Sleep(10000);
         }
    //----
       return(0);
      }
    //+------------------------------------------------------------------+


    Fungsi :
    Mengeksekusi Pending Order berupa Buy Limit (Buy di bawah harga pasar dengan harapan harga akan naik kembali), dengan jarak 40 pips di bawah harga Ask market, set TP dan SL 0, nanti bisa dimodifikasi sendiri.
    Pada page selanjutnya nanti kita sampaikan modifikasi dengan set TP SL tertentu, sabar... NEXT......

Page 2 of 45
FirstFirst 1 2 3 4 12 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts