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!
Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 14

Thread: [Ask] Sidus Cross

  1. #1
    Harian
    ----
     
    purevenom is on a distinguished road purevenom's Avatar
    Join Date
    Nov 2010
    Posts
    67
    Accumulated bonus
    11.49 USD (What is this?)
    Thanks
    1
    Thanked 12 Times in 12 Posts

    [Ask] Sidus Cross

    Spoiler Spoiler:
    #property indicator_chart_window
    #property indicator_buffers 4
    #property indicator_color1 Blue
    #property indicator_color2 Yellow
    #property indicator_color3 Blue
    #property indicator_color4 Yellow

    extern bool Alerts = TRUE;
    extern bool Tunnel_Alerts = FALSE;
    extern bool Email_Alerts = FALSE;
    double g_ibuf_88[];
    double g_ibuf_92[];
    double g_ibuf_96[];
    double g_ibuf_100[];
    bool gi_104 = FALSE;
    bool gi_108 = FALSE;
    bool gi_unused_112 = FALSE;
    extern int FasterLWMA = 2;
    extern int SlowerLWMA = 8;
    extern int FasterSidusEMA = 18;
    extern int SlowerSidusEMA = 28;
    int gi_132 = 0;
    int gi_136 = 0;

    int init() {
    SetIndexStyle(0, DRAW_ARROW, EMPTY);
    SetIndexArrow(0, SYMBOL_ARROWUP);
    SetIndexBuffer(0, g_ibuf_88);
    SetIndexStyle(1, DRAW_ARROW, EMPTY);
    SetIndexArrow(1, SYMBOL_ARROWDOWN);
    SetIndexBuffer(1, g_ibuf_92);
    SetIndexStyle(2, DRAW_ARROW, EMPTY);
    SetIndexArrow(2, 167);
    SetIndexBuffer(2, g_ibuf_96);
    SetIndexStyle(3, DRAW_ARROW, EMPTY);
    SetIndexArrow(3, 167);
    SetIndexBuffer(3, g_ibuf_100);
    return (0);
    }

    int deinit() {
    return (0);
    }

    int start() {
    int li_8;
    double l_irsi_12;
    double l_irsi_20;
    double l_icci_28;
    double l_ima_36;
    double l_ima_44;
    double l_ima_52;
    double l_ima_60;
    double l_ima_68;
    double l_ima_76;
    double l_ima_84;
    double l_ima_92;
    double l_ima_100;
    double l_ima_108;
    double l_ima_116;
    double l_ima_124;
    double ld_132;
    double ld_140;
    int li_148 = IndicatorCounted();
    if (li_148 < 0) return (-1);
    if (li_148 > 0) li_148--;
    int li_0 = Bars - li_148;
    for (int li_4 = 0; li_4 <= li_0; li_4++) {
    li_8 = li_4;
    ld_132 = 0;
    ld_140 = 0;
    for (li_8 = li_4; li_8 <= li_4 + 9; li_8++) ld_140 += MathAbs(High[li_8] - Low[li_8]);
    ld_132 = ld_140 / 10.0;
    l_ima_36 = iMA(NULL, 0, FasterLWMA, 0, MODE_LWMA, PRICE_CLOSE, li_4);
    l_ima_52 = iMA(NULL, 0, FasterLWMA, 0, MODE_LWMA, PRICE_CLOSE, li_4 + 1);
    l_ima_68 = iMA(NULL, 0, SlowerLWMA, 0, MODE_LWMA, PRICE_CLOSE, li_4 - 1);
    l_ima_44 = iMA(NULL, 0, SlowerLWMA, 0, MODE_LWMA, PRICE_CLOSE, li_4);
    l_ima_60 = iMA(NULL, 0, SlowerLWMA, 0, MODE_LWMA, PRICE_CLOSE, li_4 + 1);
    l_ima_76 = iMA(NULL, 0, SlowerLWMA, 0, FasterLWMA, PRICE_CLOSE, li_4 - 1);
    l_ima_84 = iMA(NULL, 0, FasterSidusEMA, 0, MODE_EMA, PRICE_CLOSE, li_4);
    l_ima_92 = iMA(NULL, 0, FasterSidusEMA, 0, MODE_EMA, PRICE_CLOSE, li_4 + 1);
    l_ima_100 = iMA(NULL, 0, FasterSidusEMA, 0, MODE_EMA, PRICE_CLOSE, li_4 - 1);
    l_ima_108 = iMA(NULL, 0, SlowerSidusEMA, 0, MODE_EMA, PRICE_CLOSE, li_4);
    l_ima_116 = iMA(NULL, 0, SlowerSidusEMA, 0, MODE_EMA, PRICE_CLOSE, li_4 + 1);
    l_ima_124 = iMA(NULL, 0, SlowerSidusEMA, 0, MODE_EMA, PRICE_CLOSE, li_4 - 1);
    l_irsi_12 = iRSI(NULL, 0, 21, PRICE_CLOSE, li_4);
    l_irsi_20 = iRSI(NULL, 0, 21, PRICE_CLOSE, li_4 + 1);
    l_icci_28 = iCCI(NULL, 0, 50, PRICE_CLOSE, li_4);
    if (l_ima_84 > l_ima_108 && l_ima_92 <= l_ima_116 && l_ima_100 > l_ima_124) {
    gi_108 = TRUE;
    gi_104 = FALSE;
    g_ibuf_96[li_4] = Low[li_4] - 1.0 * ld_132;
    if (li_4 <= 2 && Alerts && !gi_132 && Tunnel_Alerts) {
    gi_132 = TRUE;
    gi_136 = FALSE;
    Alert(Symbol(), " ", Period(), "M Sidus Tunnel UP ");
    if (Email_Alerts) SendMail("Sidus Tunnel UP " + Symbol(), "");
    }
    }
    if (l_ima_84 < l_ima_108 && l_ima_92 >= l_ima_116 && l_ima_100 < l_ima_124) {
    gi_104 = TRUE;
    gi_108 = FALSE;
    g_ibuf_100[li_4] = High[li_4] + 1.2 * ld_132;
    if (li_4 <= 2 && Alerts && !gi_136 && Tunnel_Alerts) {
    gi_132 = FALSE;
    gi_136 = TRUE;
    Alert(Symbol(), " ", Period(), "M Sidus Tunnel DOWN ");
    if (Email_Alerts) SendMail("Sidus Tunnel DOWN " + Symbol(), "");
    }
    }
    if ((l_ima_36 > l_ima_84 && l_ima_36 > l_ima_108) || (l_ima_44 > l_ima_84 && l_ima_44 > l_ima_108) && l_ima_52 <= l_ima_92 || l_ima_52 <= l_ima_116 && l_ima_60 <= l_ima_92 ||
    l_ima_60 <= l_ima_116 && gi_108) {
    gi_108 = FALSE;
    gi_104 = FALSE;
    gi_unused_112 = TRUE;
    g_ibuf_88[li_4] = Low[li_4] - 1.6 * ld_132;
    if (li_4 <= 2 && Alerts && !gi_132) {
    Alert(Symbol(), " ", Period(), "M Sidus BUY ");
    if (Email_Alerts) SendMail("Sidus BUY " + Symbol(), "");
    gi_132 = TRUE;
    gi_136 = FALSE;
    }
    }
    if ((l_ima_36 < l_ima_84 && l_ima_36 < l_ima_108) || (l_ima_44 < l_ima_84 && l_ima_44 < l_ima_108) && l_ima_52 >= l_ima_92 || l_ima_52 >= l_ima_116 && l_ima_60 >= l_ima_92 ||
    l_ima_60 >= l_ima_116 && gi_104) {
    gi_108 = FALSE;
    gi_104 = FALSE;
    gi_unused_112 = TRUE;
    g_ibuf_92[li_4] = High[li_4] + 1.2 * ld_132;
    if (li_4 <= 2 && Alerts && !gi_136) {
    Alert(Symbol(), " ", Period(), "M Sidus SELL ");
    if (Email_Alerts) SendMail("Sidus SELL " + Symbol(), "");
    gi_136 = TRUE;
    gi_132 = FALSE;
    }
    }
    }
    return (0);
    }


    master coder newbie numpang nanya.dalam spoiler di atas adalah daleman dari sidus cross yang memunculkan 2 signal yang berupa panah dan kotak.saya test pake simulator ternyata panah repaint tapi sepertinya yang berupa tanda kotak tidak.[klo gak salah kotak adalah indikator 3 dan 4].tolong dibantu newbi ini logic dari indikator itu kira2 bagian mana yang memunculkan tanda kotak tersebut.bisakah kalkulasi yang memunculkan tanda panah [indikator 1 dan 2] dihapus tanpa mengganggu kalkulasi munculnya tanda kotak.sekian terima kasih semoga para master berkenan membantu

  2. <a href="http://www.mt5.com/id/forex_humor">Forex Portal MT5</a>
  3. #2
    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,171
    Accumulated bonus
    232.18 USD (What is this?)
    Thanks
    141
    Thanked 955 Times in 475 Posts
    coba aja


    int init() {
    SetIndexStyle(0, DRAW_NONE);
    SetIndexBuffer(0, g_ibuf_88);
    SetIndexStyle(1, DRAW_NONE);
    SetIndexBuffer(1, g_ibuf_92);
    SetIndexStyle(2, DRAW_ARROW, EMPTY);
    SetIndexArrow(2, 167);
    SetIndexBuffer(2, g_ibuf_96);
    SetIndexStyle(3, DRAW_ARROW, EMPTY);
    SetIndexArrow(3, 167);
    SetIndexBuffer(3, g_ibuf_100);
    return (0);
    }

  4. The Following User Says Thank You to pengen-profit For This Useful Post:

    purevenom (02-17-2013)

  5. #3
    Harian
    ----
     
    purevenom is on a distinguished road purevenom's Avatar
    Join Date
    Nov 2010
    Posts
    67
    Accumulated bonus
    11.49 USD (What is this?)
    Thanks
    1
    Thanked 12 Times in 12 Posts
    Quote Originally Posted by pengen-profit View Post
    coba aja


    int init() {
    SetIndexStyle(0, DRAW_NONE);
    SetIndexBuffer(0, g_ibuf_88);
    SetIndexStyle(1, DRAW_NONE);
    SetIndexBuffer(1, g_ibuf_92);
    SetIndexStyle(2, DRAW_ARROW, EMPTY);
    SetIndexArrow(2, 167);
    SetIndexBuffer(2, g_ibuf_96);
    SetIndexStyle(3, DRAW_ARROW, EMPTY);
    SetIndexArrow(3, 167);
    SetIndexBuffer(3, g_ibuf_100);
    return (0);
    }
    TY Master tanda panah sudah hilang.kalo boleh newbi tahu kalo menurut script tersebut indikator apa saja yang masuk dalam kalkulasi untuk memunculkan tanda kotak Master.Biar nubi sedikit tau logic-nya sehingga gak asal pasang indikator tanpa tahu cara kerjanya
    May Pips Be With Us

  6. #4
    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,171
    Accumulated bonus
    232.18 USD (What is this?)
    Thanks
    141
    Thanked 955 Times in 475 Posts
    Quote Originally Posted by purevenom View Post
    TY Master tanda panah sudah hilang.kalo boleh newbi tahu kalo menurut script tersebut indikator apa saja yang masuk dalam kalkulasi untuk memunculkan tanda kotak Master.Biar nubi sedikit tau logic-nya sehingga gak asal pasang indikator tanpa tahu cara kerjanya
    kalo ane lihat sekilas sih.. indi itu kerjanya pake cross MA

    cuma yg kotak lebih ketat parameternya karena pake AND... AND
    if (l_ima_84 > l_ima_108 && l_ima_92 <= l_ima_116 && l_ima_100 > l_ima_124)

    sedangkan yg panah agak longgar. karena pake OR.. AND
    if ((l_ima_36 > l_ima_84 && l_ima_36 > l_ima_108) || (l_ima_44 > l_ima_84 && l_ima_44 > l_ima_108) && l_ima_52 <= l_ima_92 || l_ima_52 <= l_ima_116 && l_ima_60 <= l_ima_92 ||
    l_ima_60 <= l_ima_116 && gi_108)

  7. #5
    Banned
    ----
     
    cc-sub is on a distinguished road cc-sub's Avatar
    Join Date
    Dec 2012
    Posts
    299
    Accumulated bonus
    40.50 USD (What is this?)
    Thanks
    0
    Thanked 20 Times in 17 Posts
    Quote Originally Posted by pengen-profit View Post
    coba aja


    int init() {
    SetIndexStyle(0, DRAW_NONE);
    SetIndexBuffer(0, g_ibuf_88);
    SetIndexStyle(1, DRAW_NONE);
    SetIndexBuffer(1, g_ibuf_92);
    SetIndexStyle(2, DRAW_ARROW, EMPTY);
    SetIndexArrow(2, 167);
    SetIndexBuffer(2, g_ibuf_96);
    SetIndexStyle(3, DRAW_ARROW, EMPTY);
    SetIndexArrow(3, 167);
    SetIndexBuffer(3, g_ibuf_100);
    return (0);
    }
    pokoknya kalau sama master pengin-profit di jamin dah....GPL...
    Gak Pake Lama.....

    lanjut terus sobat........

    salam

  8. #6
    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,171
    Accumulated bonus
    232.18 USD (What is this?)
    Thanks
    141
    Thanked 955 Times in 475 Posts
    Quote Originally Posted by cc-sub View Post
    pokoknya kalau sama master pengin-profit di jamin dah....GPL...
    Gak Pake Lama.....

    lanjut terus sobat........

    salam
    hahaha kebetulan aja habis MC Gan
    jadinya yah rada kejar setoran
    kalo lagi ada modal.. yah jarang jarang morum juga

  9. #7
    Banned
    ----
     
    azzahrah is on a distinguished road azzahrah's Avatar
    Join Date
    Dec 2012
    Posts
    166
    Accumulated bonus
    23.85 USD (What is this?)
    Thanks
    7
    Thanked 10 Times in 10 Posts
    Quote Originally Posted by pengen-profit View Post
    kalo ane lihat sekilas sih.. indi itu kerjanya pake cross MA

    cuma yg kotak lebih ketat parameternya karena pake AND... AND
    if (l_ima_84 > l_ima_108 && l_ima_92 <= l_ima_116 && l_ima_100 > l_ima_124)

    sedangkan yg panah agak longgar. karena pake OR.. AND
    if ((l_ima_36 > l_ima_84 && l_ima_36 > l_ima_108) || (l_ima_44 > l_ima_84 && l_ima_44 > l_ima_108) && l_ima_52 <= l_ima_92 || l_ima_52 <= l_ima_116 && l_ima_60 <= l_ima_92 ||
    l_ima_60 <= l_ima_116 && gi_108)
    berarti analisa signalnya lebih bagus yang signal pakai yang kotak ya master ang lebih akurat di bandingkan dengan yang tanda panah?
    berarti untuk kode AND..AND dan OR..AND buat filter lebih bagus yang AND..AND...?
    thx...

  10. #8
    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,171
    Accumulated bonus
    232.18 USD (What is this?)
    Thanks
    141
    Thanked 955 Times in 475 Posts
    Quote Originally Posted by azzahrah View Post
    berarti analisa signalnya lebih bagus yang signal pakai yang kotak ya master ang lebih akurat di bandingkan dengan yang tanda panah?
    berarti untuk kode AND..AND dan OR..AND buat filter lebih bagus yang AND..AND...?
    thx...
    ane ga bisa ngomong mana yg lebih bagus....

    yg jelas yg kotak lebih lama pindahnya dengan konsekuaensi sinyal telat.. tapi lebih ga repaint
    tinggl pilih yg mana?? yg repaint atau yg telat.. hahahaha bingung dah

  11. #9
    Banned
    ----
     
    azzahrah is on a distinguished road azzahrah's Avatar
    Join Date
    Dec 2012
    Posts
    166
    Accumulated bonus
    23.85 USD (What is this?)
    Thanks
    7
    Thanked 10 Times in 10 Posts
    berarti yg satu memberikan signalnya lambat tapi gak repaint.
    dan yang satunya lagi memberikan signal cepat tapi bisa repaint...
    alangkah bagusnya gan ya kalau bisa di ambil yang "tengah-tengah saja"
    thx.........

  12. lamborghini
  13. #10
    Banned
    ----
     
    cc-sub is on a distinguished road cc-sub's Avatar
    Join Date
    Dec 2012
    Posts
    299
    Accumulated bonus
    40.50 USD (What is this?)
    Thanks
    0
    Thanked 20 Times in 17 Posts
    Quote Originally Posted by pengen-profit View Post
    hahaha kebetulan aja habis MC Gan
    jadinya yah rada kejar setoran
    kalo lagi ada modal.. yah jarang jarang morum juga
    memangnya kena MC kenapa sobat..??
    apa ikut2an kena badai GU juga seperti sobat2 trader yang lain...

    salam

Reply to Thread
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