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 2
1 2 LastLast
Results 1 to 10 of 20

Thread: [ASK] Tanya coding EA untuk indicator Fractals

  1. #1
    Banned
    Mabuk
     
    amiez will become famous soon enough amiez's Avatar
    Join Date
    Nov 2011
    Location
    +EURJPY+
    Posts
    458
    Accumulated bonus
    76 USD (What is this?)
    Thanks
    415
    Thanked 86 Times in 58 Posts

    [ASK] Tanya coding EA untuk indicator Fractals

    gan mau tanya nihh.. coding EA untuk indikator fractals apa yah..???
    ane kasih kode begini kow opennya buy teruss... parahh nihh
    Spoiler Spoiler:
    double FR_UP=iFractals(NULL,0,MODE_UPPER,0);
    double FR_LOW=iFractals(NULL,0,MODE_LOWER,0);

    tolong di bantu yahh gan...

  2. #2
    Knuckle Gesit
    ----
     
    jum69 is a name known to all jum69 is a name known to all jum69 is a name known to all jum69 is a name known to all jum69 is a name known to all jum69 is a name known to all jum69's Avatar
    Join Date
    Feb 2011
    Location
    +Bumi+BoRneO+
    Posts
    1,101
    Accumulated bonus
    176 USD (What is this?)
    Thanks
    235
    Thanked 627 Times in 303 Posts
    Quote Originally Posted by amiez     
    gan mau tanya nihh.. coding EA untuk indikator fractals apa yah..???
    ane kasih kode begini kow opennya buy teruss... parahh nihh
    Spoiler Spoiler:
    double FR_UP=iFractals(NULL,0,MODE_UPPER,0);
    double FR_LOW=iFractals(NULL,0,MODE_LOWER,0);

    tolong di bantu yahh gan...
    fraktal itu setau sy indi yang lambat keluar , kalao gak salah 3 candel baru keluar , emang dalam kondisi ekstrim bisa kurang dari itu
    jadi harus disesuaikan dengan keluarnya

  3. #3
    Banned
    Bahagia
     
    demibara is a splendid one to behold demibara is a splendid one to behold demibara is a splendid one to behold demibara is a splendid one to behold demibara is a splendid one to behold demibara is a splendid one to behold demibara is a splendid one to behold demibara's Avatar
    Join Date
    Aug 2012
    Posts
    3,714
    Accumulated bonus
    1683 USD (What is this?)
    Saya bertemu tamu
    8 (detail lebih lanjut)
    Thanks
    406
    Thanked 821 Times in 531 Posts
    Iya. Saya juga coba pake Indi ini di TF 15 dan emang lambat.
    Kalo ada yang pernah coba di TF 30 atau di atasnya, share disini sekalian, dong! Kali aja di TF yang lebih panjang bisa lebih tepat dan cepat munculnya, sehingga kita yang pake fractal tidak telat OP. Kan lumayan banget tuh 3 candle.
    Kalo munculnya sinyal udah tepat dan cepat, baru deh dibikin EA. Pasti asyik, tuh!

  4. #4
    Banned
    Mabuk
     
    amiez will become famous soon enough amiez's Avatar
    Join Date
    Nov 2011
    Location
    +EURJPY+
    Posts
    458
    Accumulated bonus
    76 USD (What is this?)
    Thanks
    415
    Thanked 86 Times in 58 Posts
    belum ada master coding yang ngasih tau nihh.. galau nihh aku..

  5. #5
    Knuckle Gesit
    Lelah
     
    pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit's Avatar
    Join Date
    Aug 2011
    Location
    selalu di depan laptop
    Posts
    1,172
    Accumulated bonus
    232 USD (What is this?)
    Thanks
    147
    Thanked 975 Times in 486 Posts
    fractal harus memakai cara indi zigzag

    coba ini deh.. semoga bisa membantu

    double FR_UP=0;double FR_LOW=0;
    for (int x=0;x=500;x++)
    { FR_UP=iFractals(NULL,0,MODE_UPPER,x);
    FR_LOW=iFractals(NULL,0,MODE_LOWER,x);
    if (FR_UP!=0 || FR_LOW!=0)break;
    }

    if (FR_UP>0) open sell
    if (FR_LOW>0) open buy

  6. The Following 2 Users Say Thank You to pengen-profit For This Useful Post:

    4605 (10-29-2012), amiez (10-05-2012)

  7. #6
    Banned
    Mabuk
     
    amiez will become famous soon enough amiez's Avatar
    Join Date
    Nov 2011
    Location
    +EURJPY+
    Posts
    458
    Accumulated bonus
    76 USD (What is this?)
    Thanks
    415
    Thanked 86 Times in 58 Posts
    Quote Originally Posted by pengen-profit     
    fractal harus memakai cara indi zigzag

    coba ini deh.. semoga bisa membantu

    double FR_UP=0;double FR_LOW=0;
    for (int x=0;x=500;x++)
    { FR_UP=iFractals(NULL,0,MODE_UPPER,x);
    FR_LOW=iFractals(NULL,0,MODE_LOWER,x);
    if (FR_UP!=0 || FR_LOW!=0)break;
    }

    if (FR_UP>0) open sell
    if (FR_LOW>0) open buy
    ada yang eror gan.. kira" di bagian mana yah... yang harus di perbaiki..
    Spoiler Spoiler:
    //+------------------------------------------------------------------+
    //| EA_Fractals.mq4 |
    //| Copyright 2012, MetaQuotes Software Corp. |
    //| http://www.metaquotes.net |
    //+------------------------------------------------------------------+
    #property copyright "Copyright 2012, MetaQuotes Software Corp."
    #property link "http://www.metaquotes.net"
    extern double LOT=1;
    extern double TP=20;
    extern double SL=20;

    //+------------------------------------------------------------------+
    //| expert initialization function |
    //+------------------------------------------------------------------+
    int init()
    {
    //----

    //----
    return(0);
    }
    //+------------------------------------------------------------------+
    //| expert deinitialization function |
    //+------------------------------------------------------------------+
    int deinit()
    {
    //----

    //----
    return(0);
    }
    //+------------------------------------------------------------------+
    //| expert start function |
    //+------------------------------------------------------------------+
    int start()
    {
    //----
    double FR_UP=0;double FR_LOW=0;
    for (int x=0;x=500;x++)
    { FR_UP=iFractals(NULL,PERIOD_H4,MODE_UPPER,x);
    FR_LOW=iFractals(NULL,PERIOD_H4,MODE_LOWER,x);
    if (FR_UP!=0 || FR_LOW!=0)break;}
    //---- Order send
    if ((OrdersTotal()==0)&&(FR_UP>0)) OrderSend(Symbol(),OP_SELL,LOT,Bid,5,Ask+SL*Point, Bid-TP*Point,0,0);
    if ((OrdersTotal()==0)&&(FR_LOW>0)) OrderSend(Symbol(),OP_BUY,LOT,Ask,5,Bid-SL*Point,Ask+TP*Point,0,0);
    //----
    return(0);
    }
    //+------------------------------------------------------------------+

  8. #7
    Knuckle Gesit
    Lelah
     
    pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit is a splendid one to behold pengen-profit's Avatar
    Join Date
    Aug 2011
    Location
    selalu di depan laptop
    Posts
    1,172
    Accumulated bonus
    232 USD (What is this?)
    Thanks
    147
    Thanked 975 Times in 486 Posts
    kalo hitung order total ga boleh asal gitu Gan..

    kalo begitu kalo ada OP di pair lain jadi kehitung juga

    PHP Code:
    //+------------------------------------------------------------------+
    //| EA_Fractals.mq4 |
    //| Copyright 2012, MetaQuotes Software Corp. |
    //| http://www.metaquotes.net |
    //+------------------------------------------------------------------+
    #property copyright "Copyright 2012, MetaQuotes Software Corp."
    #property link "http://www.metaquotes.net"
    extern double LOT=1;
    extern double TP=20;
    extern double SL=20;

    //+------------------------------------------------------------------+
    //| expert initialization function |
    //+------------------------------------------------------------------+
    int init()
    {
    //----

    //----
    return(0);
    }
    //+------------------------------------------------------------------+
    //| expert deinitialization function |
    //+------------------------------------------------------------------+
    int deinit()
    {
    //----

    //----
    return(0);
    }
    //+------------------------------------------------------------------+
    //| expert start function |
    //+------------------------------------------------------------------+
    int start()
    {
    //----
    double FR_UP=0;double FR_LOW=0;
    for (
    int x=0;x<=500;x++)
    FR_UP=iFractals(NULL,PERIOD_H4,MODE_UPPER,x);
    FR_LOW=iFractals(NULL,PERIOD_H4,MODE_LOWER,x);
    if (
    FR_UP!=|| FR_LOW!=0)break;}


    // hitung order
    int OP=0;
    for (
    int xx=0xx <=OrdersTotal()-1xx++)
    {
    OrderSelect (xxSELECT_BY_POSMODE_TRADES);  
      if ( 
    OrderSymbol()!=Symbol() ) {continue;}
        if (
    OrderType()== OP_BUYOP++;
         if (
    OrderType()== OP_SELLOP++; }


    //---- Order send
    if ((OP==0)&&(FR_UP>0)) OrderSend(Symbol(),OP_SELL,LOT,Bid,5,Ask+SL*PointBid-TP*Point,0,0);
    if ((
    OP==0)&&(FR_LOW>0)) OrderSend(Symbol(),OP_BUY,LOT,Ask,5,Bid-SL*Point,Ask+TP*Point,0,0);
    //----
    return(0);
    }
    //+------------------------------------------------------------------+ 
    asalnya kurang ini

    for (int x=0;x <=500;x++)

  9. The Following 3 Users Say Thank You to pengen-profit For This Useful Post:

    4605 (10-29-2012), amiez (10-05-2012), Givonly (10-01-2012)

  10. #8
    Banned
    Mabuk
     
    amiez will become famous soon enough amiez's Avatar
    Join Date
    Nov 2011
    Location
    +EURJPY+
    Posts
    458
    Accumulated bonus
    76 USD (What is this?)
    Thanks
    415
    Thanked 86 Times in 58 Posts
    Quote Originally Posted by pengen-profit     
    kalo hitung order total ga boleh asal gitu Gan..

    kalo begitu kalo ada OP di pair lain jadi kehitung jug
    wiihhh... jadi nih.. EAnya
    makasih buat abang master
    pengen-profit, Walaupun EA.nya jeklek lumayan lah jadi tau code" yang belum dimengerti, soalnye ane masih pemula om..hihihihihii..

    tapi ngomong" kenapa untuk Fractals harus x<500; itu alasannya kenapa yah om???

  11. #9
    Moderator
    Mengintai
     
    Givonly has a reputation beyond repute Givonly has a reputation beyond repute Givonly has a reputation beyond repute Givonly has a reputation beyond repute Givonly has a reputation beyond repute Givonly has a reputation beyond repute Givonly has a reputation beyond repute Givonly has a reputation beyond repute Givonly has a reputation beyond repute Givonly has a reputation beyond repute Givonly has a reputation beyond repute Givonly's Avatar
    Join Date
    Jul 2010
    Location
    ǝuɔɐ
    Posts
    21,927
    Saya bertemu tamu
    22 (detail lebih lanjut)
    Thanks
    4,875
    Thanked 5,611 Times in 2,705 Posts
    Sorry master pengen profit, saya ikutan nimbrung

    Quote Originally Posted by amiez     
    tapi ngomong" kenapa untuk Fractals harus x<500; itu alasannya kenapa yah om???
    Itu nggak harus 500.
    Angka 500 itu maksudnya, mau berapa candle kita cek ke belakang untuk memperoleh nilai Fractals terdekat.
    Jadi bisa aja diganti dengan nilai predefined constant Bars atau predefined function iBars
    _________________________________________ _________________________________________


    _________________________________________ _________________________________________

  12. The Following 2 Users Say Thank You to Givonly For This Useful Post:

    4605 (10-29-2012), amiez (10-05-2012)

  13. <a href="https://www.mt5.com/id/">Forex Portal MT5</a>
  14. #10
    Banned
    Mabuk
     
    amiez will become famous soon enough amiez's Avatar
    Join Date
    Nov 2011
    Location
    +EURJPY+
    Posts
    458
    Accumulated bonus
    76 USD (What is this?)
    Thanks
    415
    Thanked 86 Times in 58 Posts
    Quote Originally Posted by Givonly     
    Itu nggak harus 500.
    Angka 500 itu maksudnya, mau berapa candle kita cek ke belakang untuk memperoleh nilai Fractals terdekat.
    Jadi bisa aja diganti dengan nilai predefined constant Bars atau predefined function iBars
    emmm.. gitu yah om mod Givonly,
    apa begini maksudnya omm..
    Quote Originally Posted by pengen-profit     
    for (int x=0;x <=500;x++)
    kalau di ganti menjadi for (int x=Bars;x <=Bars;x++)

Page 1 of 2
1 2 LastLast

Posting Permissions

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