Jump to content

drbastem

Members
  • Posts

    159
  • Joined

  • Last visited

Posts posted by drbastem

  1. /*

    Generated by EX4-TO-MQ4 decompiler V4.0.224.1h []

    Website: http://purebeam.biz

    E-mail : [email protected]

    */

     

    #property indicator_separate_window

    #property indicator_minimum -100.0

    #property indicator_maximum 100.0

    #property indicator_levelcolor SlateGray

    #property indicator_levelstyle 1

    #property indicator_buffers 8

    #property indicator_color1 Lime

    #property indicator_color2 Red

    #property indicator_color3 Black

    #property indicator_color4 Black

    #property indicator_color5 Black

    #property indicator_color6 Black

    #property indicator_color7 Black

    #property indicator_color8 Black

    #property indicator_width1 1

    #property indicator_level1 60.0

    #property indicator_width2 1

    #property indicator_level2 53.0

    #property indicator_level3 -50.0

    #property indicator_level4 -60.0

     

    extern int WavePeriod = 10;

    extern int AvgPeriod = 21;

    extern bool SoundAlert = True;

    extern bool EmailAlert = FALSE;

    double g_ibuf_92[];

    double g_ibuf_96[];

    double g_ibuf_100[];

    double g_ibuf_104[];

    double g_ibuf_108[];

    double g_ibuf_112[];

    double g_ibuf_116[];

    double g_ibuf_120[];

    int gi_124 = -50;

    int gi_128 = 53;

    int gi_132;

    int gi_136 = 7006344;

     

    int init() {

    IndicatorShortName("TrendWave v1.23");

    SetIndexBuffer(0, g_ibuf_100);

    SetIndexLabel(0, "ESA");

    SetIndexStyle(0, DRAW_NONE);

    SetIndexDrawBegin(0, 0);

    SetIndexBuffer(1, g_ibuf_112);

    SetIndexLabel(1, "DD Values");

    SetIndexStyle(1, DRAW_NONE);

    SetIndexDrawBegin(1, 0);

    SetIndexBuffer(2, g_ibuf_104);

    SetIndexLabel(2, "DD");

    SetIndexStyle(2, DRAW_NONE);

    SetIndexDrawBegin(2, 0);

    SetIndexBuffer(3, g_ibuf_108);

    SetIndexLabel(3, "CI");

    SetIndexStyle(3, DRAW_NONE);

    SetIndexDrawBegin(3, 0);

    SetIndexBuffer(4, g_ibuf_92);

    SetIndexLabel(4, "Bull 23");

    SetIndexStyle(4, DRAW_LINE, STYLE_SOLID, 1, Lime);

    SetIndexDrawBegin(4, 0);

    SetIndexBuffer(5, g_ibuf_96);

    SetIndexLabel(5, "Bear 23");

    SetIndexStyle(5, DRAW_LINE, STYLE_SOLID, 1, Red);

    SetIndexDrawBegin(5, 0);

    SetIndexBuffer(6, g_ibuf_116);

    SetIndexLabel(6, "Buy Dot 23");

    SetIndexStyle(6, DRAW_ARROW, STYLE_SOLID, 2, Aqua);

    SetIndexArrow(6, 108);

    SetIndexDrawBegin(6, 0);

    SetIndexBuffer(7, g_ibuf_120);

    SetIndexLabel(7, "Sell Dot 23");

    SetIndexStyle(7, DRAW_ARROW, STYLE_SOLID, 2, Yellow);

    SetIndexArrow(7, 108);

    SetIndexDrawBegin(7, 0);

    return (0);

    }

     

    int start() {

    double l_ima_on_arr_0;

    /* if (gi_136 != AccountNumber()) {

    Comment("Trade on account :" + AccountNumber() + " is FORBIDDEN!");

    return (0);

    }

    Comment("");

    */

    int li_12 = IndicatorCounted();

    if (li_12 < 0) return (-1);

    if (li_12 > 0) li_12--;

    int l_bars_8 = Bars;

    for (int l_bars_16 = l_bars_8; l_bars_16 > 0; l_bars_16--) {

    g_ibuf_100[l_bars_16] = iMA(NULL, 0, WavePeriod, 0, MODE_EMA, PRICE_TYPICAL, l_bars_16);

    ArraySetAsSeries(g_ibuf_100, TRUE);

    }

    for (l_bars_16 = l_bars_8; l_bars_16 > 0; l_bars_16--) {

    g_ibuf_112[l_bars_16] = MathAbs((iHigh(NULL, 0, l_bars_16) + iClose(NULL, 0, l_bars_16) + iLow(NULL, 0, l_bars_16)) / 3.0 - g_ibuf_100[l_bars_16]);

    ArraySetAsSeries(g_ibuf_112, TRUE);

    }

    for (l_bars_16 = l_bars_8; l_bars_16 > 0; l_bars_16--) {

    l_ima_on_arr_0 = iMAOnArray(g_ibuf_112, 0, WavePeriod, 0, MODE_EMA, l_bars_16);

    g_ibuf_104[l_bars_16] = l_ima_on_arr_0;

    ArraySetAsSeries(g_ibuf_104, TRUE);

    }

    for (l_bars_16 = l_bars_8; l_bars_16 > 0; l_bars_16--) {

    if (g_ibuf_104[l_bars_16] > 0.0) g_ibuf_108[l_bars_16] = ((iHigh(NULL, 0, l_bars_16) + iClose(NULL, 0, l_bars_16) + iLow(NULL, 0, l_bars_16)) / 3.0 - g_ibuf_100[l_bars_16]) / (0.015 * g_ibuf_104[l_bars_16]);

    else g_ibuf_108[l_bars_16] = 0;

    ArraySetAsSeries(g_ibuf_108, TRUE);

    }

    for (l_bars_16 = l_bars_8; l_bars_16 > 0; l_bars_16--) {

    l_ima_on_arr_0 = iMAOnArray(g_ibuf_108, 0, AvgPeriod, 0, MODE_EMA, l_bars_16);

    g_ibuf_92[l_bars_16] = l_ima_on_arr_0;

    ArraySetAsSeries(g_ibuf_92, TRUE);

    }

    for (l_bars_16 = l_bars_8; l_bars_16 > 0; l_bars_16--) {

    l_ima_on_arr_0 = iMAOnArray(g_ibuf_92, 0, 4, 0, MODE_SMA, l_bars_16);

    g_ibuf_96[l_bars_16] = l_ima_on_arr_0;

    ArraySetAsSeries(g_ibuf_96, TRUE);

    }

    for (l_bars_16 = l_bars_8; l_bars_16 > 0; l_bars_16--) {

    if (g_ibuf_92[l_bars_16] >= g_ibuf_96[l_bars_16] && g_ibuf_92[l_bars_16 + 1] <= g_ibuf_96[l_bars_16 + 1] && g_ibuf_92[l_bars_16] < gi_124) {

    g_ibuf_116[l_bars_16] = g_ibuf_92[l_bars_16];

    if (l_bars_16 == 1) SendAlert("buy");

    } else g_ibuf_116[l_bars_16] = -1000;

    if (g_ibuf_92[l_bars_16] <= g_ibuf_96[l_bars_16] && g_ibuf_92[l_bars_16 + 1] >= g_ibuf_96[l_bars_16 + 1] && g_ibuf_92[l_bars_16] > gi_128) {

    g_ibuf_120[l_bars_16] = g_ibuf_96[l_bars_16];

    if (l_bars_16 != 1) continue;

    SendAlert("sell");

    continue;

    }

    g_ibuf_120[l_bars_16] = -1000;

    }

    return (0);

    }

     

    void SendAlert(string as_0) {

    if (Time[1] != gi_132) {

    if (SoundAlert) {

    if (as_0 == "buy") Alert(Symbol() + " => TF: " + Period() + "M => " + TimeToStr(TimeCurrent()) + " buy");

    if (as_0 == "sell") Alert(Symbol() + " => TF: " + Period() + "M => " + TimeToStr(TimeCurrent()) + " sell");

    }

    if (EmailAlert) {

    if (as_0 == "buy") SendMail("TrendWave Alert", Symbol() + " => TF: " + Period() + "M => " + TimeToStr(TimeCurrent()) + " buy");

    if (as_0 == "sell") SendMail("TrendWave Alert", Symbol() + " => TF: " + Period() + "M => " + TimeToStr(TimeCurrent()) + " sell");

    }

    gi_132 = Time[1];

    }

    }

  2. Hi,

     

    Since some of you still believe in "MDP", I have created and would like to share the "AudUsd", "UsdChf" & "GbpUsd" versions to fulfill your " MILLION DOLLAR " Dream..:)

     

    As usual, please save the "ex" files into the expert folder and the "Russian Roullete" dll file into " Library" folder.

     

    You can test on the external parameters with different values but my advice is not to risk more than 0.5% on a trade and I strongly recommend to use "Safe" Mode!

     

    Personally, I do not use this EA and please use them with your own risk..:)

     

    Download Links:

    https://rapidshare.com/files/3330281178/MillionDollarPipsGBPUSD_1.1.0.ex4

    https://rapidshare.com/files/1112267175/MillionDollarPipsAUDUSD_1.1.0.ex4

    https://rapidshare.com/files/533942469/MillionDollarPipsUSDCHF_1.1.0.ex4

    https://rapidshare.com/files/3154681404/Russian_Roulette.dll

     

    Enjoy! :)

     

    link not work. please share

  3. Metatrader MAM Account. No Multiterminal. MAM account is a Metatrader. One MAM a ccount is no limit account. Only Process MAM account. another account is closed. Please information Metatrader MAM Account (No Metatrader MultiTerminal) information your Company. Migbank brokers is have a MAM account. MAM account is very simple . example your a buy order eurusd 10 lots. Automatic replace another sub account. the rate of capital distribution is automatically. the rate of capital distribution is automatically when your close buy MAM account.All functions are available.MAM open other sub-account can be closed only accountlar. Transactions should only accountta MAM
  4. the indicators is %100 repaint.

     

     

    #property indicator_chart_window

    #property indicator_buffers 4

    #property indicator_color1 Black

    #property indicator_color2 Black

    #property indicator_color3 Yellow

    #property indicator_color4 Yellow

    #property indicator_width4 5

    #property indicator_width3 5

    extern bool Alarm=true;

    string SonSinyal="";

    extern int FastEMA = 25;

    extern int SlowEMA = 170;

    extern int RSIPeriod = 14;

    extern bool Alerts = true;

    double g_ibuf_92[];

    double g_ibuf_96[];

    double g_ibuf_100[];

    double g_ibuf_104[];

    int gi_108 = 0;

    int gi_112 = 0;

    double gd_116 = 0.0;

    double gd_unused_124 = 0.0;

     

    int init() {

    SetIndexStyle(0, DRAW_NONE);

    SetIndexBuffer(0, g_ibuf_92);

    SetIndexStyle(1, DRAW_NONE);

    SetIndexBuffer(1, g_ibuf_96);

    SetIndexStyle(2, DRAW_ARROW, STYLE_DASH, 3);

    SetIndexArrow(2, 233);

    SetIndexBuffer(2, g_ibuf_100);

    SetIndexEmptyValue(2, 0.0);

    SetIndexStyle(3, DRAW_ARROW, STYLE_DASH, 3);

    SetIndexArrow(3, 234);

    SetIndexBuffer(3, g_ibuf_104);

    SetIndexEmptyValue(3, 0.0);

    return (0);

    }

     

    int deinit() {

    return (0);

    }

     

    int start() {

    int li_4 = IndicatorCounted();

    double l_irsi_8 = 0;

    bool li_16 = FALSE;

    double l_price_20 = 0;

    if (li_4 < 0) return (-1);

    if (li_4 > 0) li_4--;

    int li_0 = Bars - li_4;

    for (int li_28 = 0; li_28 < li_0; li_28++) {

    g_ibuf_92[li_28] = iMA(NULL, 0, FastEMA, 0, MODE_EMA, PRICE_CLOSE, li_28);

    g_ibuf_96[li_28] = iMA(NULL, 0, SlowEMA, 0, MODE_EMA, PRICE_CLOSE, li_28);

    l_irsi_8 = iRSI(NULL, 0, RSIPeriod, PRICE_CLOSE, li_28);

    gd_116 = g_ibuf_92[li_28] - g_ibuf_96[li_28];

    // Comment("pipdiffCurrent = " + gd_116 + " ");

    if (gd_116 > 0.0 && l_irsi_8 > 50.0) gi_108 = 1;

    else

    if (gd_116 < 0.0 && l_irsi_8 < 50.0) gi_108 = 2;

    if (gi_108 == 1 && gi_112 == 2) {

    g_ibuf_104[li_28 - 1] = High[li_28 - 1] - 5.0 * Point;

    li_16 = TRUE;

    l_price_20 = Ask;

    } else {

    if (gi_108 == 2 && gi_112 == 1) {

    g_ibuf_100[li_28 - 1] = Low[li_28 - 1] - 5.0 * Point;

    li_16 = TRUE;

    l_price_20 = Bid;

    }

    }

    gi_112 = gi_108;

    gd_unused_124 = gd_116;

    }

    // Comment(gi_112," SonSinyal ",SonSinyal);

    if (Alerts && li_16) {

    //PlaySound("alert.wav");Alert(Symbol()," HaskayafxSafe Sinyal");

    if (gi_112 == 1) MessageBox("Entry point: buy at " + l_price_20 + "!!", "Entry Point", 0);

    else

    if (gi_112 == 2) MessageBox("Entry point: sell at " + l_price_20 + "!!", "Entry Point", 0);

    li_16 = FALSE;

    }

    // if (gi_112 == 1 && Alarm && SonSinyal!="BUY") {SonSinyal="BUY";Alert(Symbol()," Haskayafx Safe Bizim BUY");}

    //MessageBox("Entry point: buy at " + l_price_20 + "!!", "Entry Point", 0);

     

    // if (gi_112 == 2 && Alarm && SonSinyal!="SELL"){SonSinyal="SELL";Alert(Symbol()," Haskayafx Safe Bizim SELL");}

     

    // if (Alarm && SonSinyal!="BUY" && g_ibuf_100[0]>g_ibuf_104[0]){SonSinyal="BUY";Alert(Symbol()," Haskayafx Safe Bizim BUY");}

    // if (Alarm && SonSinyal!="SELL" && g_ibuf_104[0]>g_ibuf_100[0]){SonSinyal="SELL";Alert(Symbol()," Haskayafx Safe Bizim SELL");}

     

     

    //PlaySound("alert.wav");Alert(Symbol()," HaskayafxSafe Sinyal");

     

     

    RefreshRates();

    // if (gi_112 == 1 && SonSinyal!="BUY" ) {SonSinyal="BUY";Alert(Symbol()," Haskayafx Safe BUY " + l_price_20 );}

     

    // if (gi_112 == 2 && SonSinyal!="SELL") {SonSinyal="SELL";Alert(Symbol()," Haskayafx Safe SELL " + l_price_20);}

     

    return (0);

    }

×
×
  • Create New...