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 1 of 45
1 2 3 11 ... LastLast
Results 1 to 10 of 442

Thread: Simple Script for Instant Trading

  1. #1
    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

    Cool Simple Script for Instant Trading

    Halo semua, Om-om Moderator dan agan-agan semua, minta ijin buka thread terutama untuk sedikit pembelajaran tentang Script sederhana, saya rencanakan sedikit demi sedikit bersambung begitu, berhubung saya juga hanya sedikit yang diketahui. Kalau salah tempat silahkan di move gan mod....

    Okay, simple script pertama : INSTANT BUY, saya otak-atik dari standard script di MT4 dan hasilnya begini-->
    Spoiler Spoiler:
    Code:
    //+------------------------------------------------------------------+
    //|                                                  Instant Buy.mq4 |
    //|                      Untuk kita semua yang ingin simple saja   . |
    //|                           http://sumberdolaronline.blogspot.com/ |
    //+------------------------------------------------------------------+
    #property copyright "Ryo321"
    #property link      "http://sumberdolaronline.blogspot.com/"
    
    #include <stdlib.mqh>
    
    //+------------------------------------------------------------------+
    //| script "transaksi untuk semua pairs"                                   |
    //+------------------------------------------------------------------+
    int start()
      {
    //----
       int ticket=OrderSend(Symbol(),OP_BUY,0.01,Ask,2,0,0,"Price Action #",321,0,CLR_NONE);
       if(ticket<1)
         {
          int error=GetLastError();
          Print("Error = ",ErrorDescription(error));
          return;
         }
    //----
       OrderPrint();
       return(0);
      }
    //+------------------------------------------------------------------+


    Fungsi :
    Untuk mengeksekusi Order Buy secara instant tanpa melalui Tombol konfirmasi, langsung eksekusi. Volume bisa diubah sesuai keinginan, di situ saya tulis 0.01 bisa diubah sesuai kebutuhan. Sedikit ini dulu, bersambung......
    Last edited by alventa; 11-30-2010 at 05:14. Reason: delete #include <WinUser32.mqh>

  2. The Following 14 Users Say Thank You to alventa For This Useful Post:

    andix (04-05-2012), cacink (07-18-2013), Cahyoonsby1 (10-20-2018), diajeng_permata (03-18-2013), djuenk (12-18-2011), kaptengenteng (06-10-2012), miel (08-12-2011), mochachid (04-23-2012), reinji (04-07-2012), situstogel (04-20-2012), Tarakanita (06-14-2012), yuda (01-10-2011), zack_69 (03-07-2011), Unregistered (1)

  3. lamborghini
  4. #2
    Penggemar
    ----
     
    airoz is on a distinguished road airoz's Avatar
    Join Date
    Nov 2010
    Location
    Mataram
    Posts
    215
    Accumulated bonus
    53 USD (What is this?)
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Simple script yang bener-bener simple,
    setelah di otak atik, terus cara masukin ke meta chart gimana gan ?
    bikin tutorial yg lengkap dong,
    maklum, nubitol nih

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

    Unregistered (1)

  6. #3
    Banned
    ----
     
    TeKoR TeRuS DePo LaGi is on a distinguished road TeKoR TeRuS DePo LaGi's Avatar
    Join Date
    Oct 2010
    Posts
    214
    Accumulated bonus
    48 USD (What is this?)
    Thanks
    3
    Thanked 14 Times in 10 Posts
    Quote Originally Posted by alventa     
    Halo semua, Om-om Moderator dan agan-agan semua, minta ijin buka thread terutama untuk sedikit pembelajaran tentang Script sederhana, saya rencanakan sedikit demi sedikit bersambung begitu, berhubung saya juga hanya sedikit yang diketahui. Kalau salah tempat silahkan di move gan mod....

    Okay, simple script pertama : INSTANT BUY, saya otak-atik dari standard script di MT4 dan hasilnya begini-->
    Spoiler Spoiler:
    Code:
    //+------------------------------------------------------------------+
    //|                                                  Instant Buy.mq4 |
    //|                      Untuk kita semua yang ingin simple saja   . |
    //|                           http://sumberdolaronline.blogspot.com/ |
    //+------------------------------------------------------------------+
    #property copyright "Ryo321"
    #property link      "http://sumberdolaronline.blogspot.com/"
    
    #include <stdlib.mqh>
    #include <WinUser32.mqh>
    //+------------------------------------------------------------------+
    //| script "transaksi untuk semua pairs"                                   |
    //+------------------------------------------------------------------+
    int start()
      {
    //----
       int ticket=OrderSend(Symbol(),OP_BUY,0.01,Ask,2,0,0,"Price Action #",321,0,CLR_NONE);
       if(ticket<1)
         {
          int error=GetLastError();
          Print("Error = ",ErrorDescription(error));
          return;
         }
    //----
       OrderPrint();
       return(0);
      }
    //+------------------------------------------------------------------+


    Fungsi :
    Untuk mengeksekusi Order Buy secara instant tanpa melalui Tombol konfirmasi, langsung eksekusi. Volume bisa diubah sesuai keinginan, di situ saya tulis 0.01 bisa diubah sesuai kebutuhan. Sedikit ini dulu, bersambung......
    bisa di tambahin TP SL dan SLIPAGE gak gan.ane nyari yang seperti itu sih.

  7. The Following 2 Users Say Thank You to TeKoR TeRuS DePo LaGi For This Useful Post:

    veriaan (07-10-2013), Unregistered (1)

  8. #4
    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 airoz     
    Simple script yang bener-bener simple,
    setelah di otak atik, terus cara masukin ke meta chart gimana gan ?
    bikin tutorial yg lengkap dong,
    maklum, nubitol nih
    Okay, sip...
    Sebelum menginjak ke script berikutnya, seperti Instant Sell, berikut cara memasukkan ke chart :
    1. Bukalah program meta editor, bisa dari Metatrader dengan Icon Ketupat ada tanda Seru "!" di tengahnya.
    2. Kemudian klik File --> New --> Script --> Isilah nama Name, Author, Link (semau agan-agan) --> Finish
    3. Muncul halaman script, kemudian hapus semua isi di dalamnya, Copy Paste Code Instant Buy di atas ke Halaman Script, kemudian save.
    4. Klik "COMPILE" untuk convert ke ke .ex4, kemudian simpan file ex4 di dalam (atau bisa juga di copy paste):
    (letak program meta trader agan misal di drive C/D/E) ..../metatrader/experts/scripts ---- pastikan file ex4 telah masuk di situ ok.
    5. Kemudian bukalah Terminal Trading agan, lihat di Navigasi --> script --> muncul Instant Buy
    6. Aktifkan EA nya yaitu buka = Menu TOOLS --> Option --> Expert Advisors --> cek/centang Enable Expert Advisors + cek "Berikan hak trading otomatis" (manual konfirmasi tidak usah dicentang, karena biar cepat). Klik OK. Kemudian akan muncul tanda EA akan PLAY. (gambar kepala topi).
    7. Untuk mengeksekusi Instant BUY, bisa dilakukan dengan :
    a. Double klik mouse
    b. Klik kanan, pilihan paling atas, eksekusi ke chart
    c. Klik kanan, Set Hot Key, muncul option, Tambahkan key CTRL dan huruf B misalkan (B=buy) biar mudah diingat. Ok.
    Nah ini nanti untuk mengeksekusi Script dengan menekan Tombol CTRL + B dari keyboard.

    Silahkan di coba dulu di DEMO ACCOUNT agar diketahui hasilnya. Ini dulu, silahkan dicoba.

    Quote Originally Posted by TeKoR TeRuS DePo LaGi     
    bisa di tambahin TP SL dan SLIPAGE gak gan.ane nyari yang seperti itu sih.
    Okay, untuk script di atas volumenya 0.01, Slippage 2 pips, SL TP = 0
    Kalau misalkan mau di set SL 25 TP 50 tinggal ubah di bagian SL dan TP berikut :
    Spoiler Spoiler:
    Code:
    //+------------------------------------------------------------------+
    //|                                                  Instant Buy.mq4 |
    //|                      Untuk kita semua yang ingin simple saja   . |
    //|                           http://sumberdolaronline.blogspot.com/ |
    //+------------------------------------------------------------------+
    #property copyright "Ryo321"
    #property link      "http://sumberdolaronline.blogspot.com/"
    
    #include <stdlib.mqh>
    #include <WinUser32.mqh>
    //+------------------------------------------------------------------+
    //| script "transaksi untuk semua pairs"                                   |
    //+------------------------------------------------------------------+
    int start()
      {
    //----
       int ticket=OrderSend(Symbol(),OP_BUY,0.01,Ask,2,Bid-25*Point,Ask+50*Point,"Price Action #",321,0,CLR_NONE);
       if(ticket<1)
         {
          int error=GetLastError();
          Print("Error = ",ErrorDescription(error));
          return;
         }
    //----
       OrderPrint();
       return(0);
      }
    //+------------------------------------------------------------------+

    Kalau volume pengen dinaikkan ke 1 lot tinggal ganti yang 0.01 diganti 1.00 dst. Demikian juga Slippage angka 2 tinggal ganti 5 dst. Begitu gan, next Script...

  9. The Following 15 Users Say Thank You to alventa For This Useful Post:

    agil4_you (04-21-2012), alimutasal (12-17-2010), andix (04-05-2012), andyalvaro (04-20-2012), asta_uni (11-30-2010), daryraihan (12-11-2010), diajeng_permata (03-18-2013), ghprod (03-06-2011), hermit88 (12-12-2010), hokahoki (01-10-2012), Kenistaan (06-05-2012), mbelajarmorek (09-23-2011), nurjanah (10-20-2013), superdry (02-08-2013), Unregistered (1)

  10. #5
    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
    Simple Script berikutnya : INSTANT SELL, TP = 0, SL = 0, Slippage = 2

    Spoiler Spoiler:
    Code:
    //+------------------------------------------------------------------+
    //|                                                 Instant Sell.mq4 |
    //|                      Untuk kita semua yang ingin simple saja   . |
    //|                           http://sumberdolaronline.blogspot.com/ |
    //+------------------------------------------------------------------+
    #property copyright "Ryo321"
    #property link      "http://sumberdolaronline.blogspot.com/"
    
    #include <stdlib.mqh>
    
    //+------------------------------------------------------------------+
    //| script "transaksi untuk semua pairs"                                   |
    //+------------------------------------------------------------------+
    int start()
      {
    //----
       int ticket=OrderSend(Symbol(),OP_SELL,0.01,Bid,2,0,0,"Instant Sell #",321,0,CLR_NONE);
       if(ticket<1)
         {
          int error=GetLastError();
          Print("Error = ",ErrorDescription(error));
          return;
         }
    //----
       OrderPrint();
       return(0);
      }
    //+------------------------------------------------------------------+


    Fungsi :
    Eksekusi Order Sell secara instant untuk semua pairs, TP SL bisa diubah sesuai keinginan, demikian juga volume.
    Last edited by alventa; 11-30-2010 at 05:15. Reason: delete #include <WinUser32.mqh>

  11. The Following 4 Users Say Thank You to alventa For This Useful Post:

    agil4_you (04-21-2012), hokahoki (01-10-2012), yuda (01-10-2011), Unregistered (1)

  12. #6
    Orang Lama
    Sinting
     
    nbie has a spectacular aura about nbie has a spectacular aura about nbie's Avatar
    Join Date
    Oct 2010
    Posts
    751
    Accumulated bonus
    125 USD (What is this?)
    Thanks
    40
    Thanked 179 Times in 146 Posts
    kereeen masta tipsnya... thanks... mw dicoba dulu jurus baru ini di MTQ... kalo nanti ada masalah... boleh nanya lagi kemari kan...
    "It's not whether you're right or wrong that's important, but how much money you make when you're right and how much you lose when you're wrong"..

    George Soros

  13. The Following User Says Thank You to nbie For This Useful Post:

    Unregistered (1)

  14. #7
    Anggota
    ----
     
    buyitfromme is on a distinguished road buyitfromme's Avatar
    Join Date
    Nov 2010
    Posts
    168
    Accumulated bonus
    26 USD (What is this?)
    Thanks
    10
    Thanked 23 Times in 8 Posts
    Quote Originally Posted by nbie     
    kereeen masta tipsnya... thanks... mw dicoba dulu jurus baru ini di MTQ... kalo nanti ada masalah... boleh nanya lagi kemari kan...
    bener nih gan, nanti pasti mampir mampir lagi abis latihan yang satu ini
    setelah tugas tugas dunia nyata kelar, mungkin saatnya yang satu ini

  15. The Following User Says Thank You to buyitfromme For This Useful Post:

    Unregistered (1)

  16. #8
    Penggemar
    ----
     
    JenggotPutih is on a distinguished road JenggotPutih's Avatar
    Join Date
    Sep 2010
    Location
    Cirebon
    Posts
    264
    Accumulated bonus
    56 USD (What is this?)
    Thanks
    13
    Thanked 48 Times in 34 Posts
    Wekekeke...
    gan mo nanya nih....

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


  17. The Following User Says Thank You to JenggotPutih For This Useful Post:

    Unregistered (1)

  18. #9
    Banned
    Pusing
     
    f3rri will become famous soon enough f3rri's Avatar
    Join Date
    Sep 2010
    Location
    Tabanan
    Posts
    1,452
    Accumulated bonus
    276 USD (What is this?)
    Thanks
    28
    Thanked 126 Times in 59 Posts
    Quote Originally Posted by alventa     
    Halo semua, Om-om Moderator dan agan-agan semua, minta ijin buka thread terutama untuk sedikit pembelajaran tentang Script sederhana, saya rencanakan sedikit demi sedikit bersambung begitu, berhubung saya juga hanya sedikit yang diketahui. Kalau salah tempat silahkan di move gan mod....

    Okay, simple script pertama : INSTANT BUY, saya otak-atik dari standard script di MT4 dan hasilnya begini-->
    Spoiler Spoiler:
    Code:
    //+------------------------------------------------------------------+
    //|                                                  Instant Buy.mq4 |
    //|                      Untuk kita semua yang ingin simple saja   . |
    //|                           http://sumberdolaronline.blogspot.com/ |
    //+------------------------------------------------------------------+
    #property copyright "Ryo321"
    #property link      "http://sumberdolaronline.blogspot.com/"
    
    #include <stdlib.mqh>
    #include <WinUser32.mqh>
    //+------------------------------------------------------------------+
    //| script "transaksi untuk semua pairs"                                   |
    //+------------------------------------------------------------------+
    int start()
      {
    //----
       int ticket=OrderSend(Symbol(),OP_BUY,0.01,Ask,2,0,0,"Price Action #",321,0,CLR_NONE);
       if(ticket<1)
         {
          int error=GetLastError();
          Print("Error = ",ErrorDescription(error));
          return;
         }
    //----
       OrderPrint();
       return(0);
      }
    //+------------------------------------------------------------------+


    Fungsi :
    Untuk mengeksekusi Order Buy secara instant tanpa melalui Tombol konfirmasi, langsung eksekusi. Volume bisa diubah sesuai keinginan, di situ saya tulis 0.01 bisa diubah sesuai kebutuhan. Sedikit ini dulu, bersambung......
    Ini maksudnya kyk gimana gan? Klu pake script ini pas close order, ngak ada requote ya? Trus apa nama file di MT4 yg harus diganti pake script ini? Tks

  19. The Following User Says Thank You to f3rri For This Useful Post:

    Unregistered (1)

  20. <a href="https://www.mt5.com/id/">Forex Portal MT5</a>
  21. #10
    Poster Abadi
    ----
     
    alfians will become famous soon enough alfians's Avatar
    Join Date
    Oct 2010
    Posts
    3,886
    Accumulated bonus
    644 USD (What is this?)
    Thanks
    31
    Thanked 94 Times in 87 Posts
    cara penerapan scriptnya gimana gan...ane awam banget ma code script laen kali tolong sekalian jelasin penarapannya yeee...

  22. The Following User Says Thank You to alfians For This Useful Post:

    Unregistered (1)

Page 1 of 45
1 2 3 11 ... 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