Jump to content

copycat

Members
  • Posts

    103
  • Joined

  • Last visited

Posts posted by copycat

  1. Here you go.. But I'm too lazy to upload the file. so just copy and paste below.

     

    /*

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

    Website: http://purebeam.biz

    E-mail : [email protected]

    */

    #property copyright "Copyright ?2010, Silvio Invernici"

    #property link "http://www.trading-team.it"

     

    #property indicator_chart_window

     

    extern int X = 25;

    extern int Y = 350;

    int gi_84 = 1;

    int gi_88 = 8;

    string gs_arial_92 = "Arial";

    extern bool Credits = TRUE;

    string gsa_104[] = {"USD", "EUR", "GBP", "JPY", "CHF", "CAD", "NZD", "AUD"};

    int gia_108[] = {16777215, 15570276, 13688896, 5275647, 13353215, 10025880, 13850042, 55295};

    string gsa_112[] = {"EURUSD", "GBPUSD", "AUDUSD", "USDJPY", "USDCHF", "USDCAD", "EURAUD", "EURCAD", "EURCHF", "EURGBP", "EURJPY", "GBPJPY", "GBPCHF", "NZDUSD", "AUDCAD", "AUDJPY", "CHFJPY", "AUDNZD", "NZDJPY", "NZDCAD", "NZDCHF", "GBPNZD", "EURNZD", "GBPCAD", "GBPAUD", "AUDCHF", "CADCHF", "CADJPY"};

    string gs_116 = "";

    string gs_124;

     

    int init() {

    gs_124 = WindowExpertName();

    return (0);

    }

     

    int deinit() {

    for (int l_index_0 = 0; l_index_0 <= ArraySize(gsa_104) * 2; l_index_0++) {

    ObjectDelete(gsa_104[l_index_0] + "_pos");

    ObjectDelete(gsa_104[l_index_0] + "_nom");

    ObjectDelete(gsa_104[l_index_0] + "_val");

    }

    ObjectDelete("credits");

    return (0);

    }

     

    int start() {

    int l_ind_counted_0 = IndicatorCounted();

    displayMeter();

    return (0);

    }

     

    void displayMeter() {

    double lda_0[8][2];

    int lia_4[8][2];

    int li_12;

    lda_0[0][0] = currency_strength(gsa_104[0]);

    lda_0[1][0] = currency_strength(gsa_104[1]);

    lda_0[2][0] = currency_strength(gsa_104[2]);

    lda_0[3][0] = currency_strength(gsa_104[3]);

    lda_0[4][0] = currency_strength(gsa_104[4]);

    lda_0[5][0] = currency_strength(gsa_104[5]);

    lda_0[6][0] = currency_strength(gsa_104[6]);

    lda_0[7][0] = currency_strength(gsa_104[7]);

    lda_0[0][1] = 0;

    lda_0[1][1] = 1;

    lda_0[2][1] = 2;

    lda_0[3][1] = 3;

    lda_0[4][1] = 4;

    lda_0[5][1] = 5;

    lda_0[6][1] = 6;

    lda_0[7][1] = 7;

    ArraySort(lda_0, WHOLE_ARRAY, 0, MODE_DESCEND);

    int li_8 = WindowFind(gs_124);

    int li_16 = Y;

    for (int l_index_20 = 0; l_index_20 < 8; l_index_20++) {

    li_12 = lda_0[l_index_20][1];

    objectCreate(gsa_104[li_12] + "_pos", gi_84, X + 50, li_16, 0, (l_index_20 + 1) + ". ", gi_88, gs_arial_92, Silver);

    objectCreate(gsa_104[li_12] + "_nom", gi_84, X + 30, li_16, 0, gsa_104[li_12], gi_88, gs_arial_92, gia_108[li_12]);

    objectCreate(gsa_104[li_12] + "_val", gi_84, X, li_16, 0, DoubleToStr(lda_0[l_index_20][0], 2), gi_88, gs_arial_92, symcolor(lda_0[l_index_20][0]));

    li_16 += 12;

    }

    if (Credits) objectCreate("credits", gi_84, X - 5, Y + 4, 90, "www.trading-team.it", gi_88, gs_arial_92, DimGray);

    }

     

    int symcolor(double ad_0) {

    int li_ret_8;

    if (ad_0 <= 2.0) li_ret_8 = 3937500;

    if (ad_0 > 2.0) li_ret_8 = 16777215;

    if (ad_0 >= 7.0) li_ret_8 = 65280;

    return (li_ret_8);

    }

     

    double currency_strength(string as_0) {

    int li_8;

    string ls_12;

    double ld_20;

    double ld_28;

    double ld_ret_36 = 0;

    int l_count_44 = 0;

    for (int l_index_48 = 0; l_index_48 < ArraySize(gsa_112); l_index_48++) {

    li_8 = 0;

    ls_12 = gsa_112[l_index_48];

    if (as_0 == StringSubstr(ls_12, 0, 3) || as_0 == StringSubstr(ls_12, 3, 3)) {

    ls_12 = ls_12 + gs_116;

    ld_20 = (MarketInfo(ls_12, MODE_HIGH) - MarketInfo(ls_12, MODE_LOW)) * MarketInfo(ls_12, MODE_POINT);

    if (ld_20 != 0.0) {

    ld_28 = 100.0 * ((MarketInfo(ls_12, MODE_BID) - MarketInfo(ls_12, MODE_LOW)) / ld_20 * MarketInfo(ls_12, MODE_POINT));

    if (ld_28 > 3.0) li_8 = 1;

    if (ld_28 > 10.0) li_8 = 2;

    if (ld_28 > 25.0) li_8 = 3;

    if (ld_28 > 40.0) li_8 = 4;

    if (ld_28 > 50.0) li_8 = 5;

    if (ld_28 > 60.0) li_8 = 6;

    if (ld_28 > 75.0) li_8 = 7;

    if (ld_28 > 90.0) li_8 = 8;

    if (ld_28 > 97.0) li_8 = 9;

    l_count_44++;

    if (as_0 == StringSubstr(ls_12, 3, 3)) li_8 = 9 - li_8;

    ld_ret_36 += li_8;

    }

    }

    }

    ld_ret_36 /= l_count_44;

    return (ld_ret_36);

    }

     

    void objectCreate(string a_name_0, int a_corner_8, int a_x_12, int a_y_16, int a_angle_20, string a_text_24 = "-", int a_fontsize_32 = 42, string a_fontname_36 = "Arial", color a_color_44 = -1) {

    if (ObjectFind(a_name_0) != 0) {

    ObjectCreate(a_name_0, OBJ_LABEL, 0, 0, 0);

    ObjectSet(a_name_0, OBJPROP_CORNER, a_corner_8);

    ObjectSet(a_name_0, OBJPROP_COLOR, a_color_44);

    ObjectSet(a_name_0, OBJPROP_XDISTANCE, a_x_12);

    ObjectSet(a_name_0, OBJPROP_YDISTANCE, a_y_16);

    ObjectSet(a_name_0, OBJPROP_ANGLE, a_angle_20);

    ObjectSetText(a_name_0, a_text_24, a_fontsize_32, a_fontname_36, a_color_44);

    return;

    }

    ObjectSet(a_name_0, OBJPROP_CORNER, a_corner_8);

    ObjectSet(a_name_0, OBJPROP_COLOR, a_color_44);

    ObjectSet(a_name_0, OBJPROP_XDISTANCE, a_x_12);

    ObjectSet(a_name_0, OBJPROP_YDISTANCE, a_y_16);

    ObjectSet(a_name_0, OBJPROP_ANGLE, a_angle_20);

    ObjectSetText(a_name_0, a_text_24, a_fontsize_32, a_fontname_36, a_color_44);

    }

  2. Hi Manu,

     

    Thanks for sharing your new 2s-1b strategy. After reading them few times, i think that I now understand how they works

    both (2b/2s and 2s/1b).

     

     

    Please note that I found there are few typo errors both in the 2b-2s and 2s-1b strategy which I hope you can correct them to avoid confusing

    other readers.

     

     

    In 2s-2b strategy

    ================

    Quote:

     

    at 3625 ---

     

    Status:

    Booked Loss -50 pips (from two Buys at 1.3650) [closed]

    we also have profits form sells But Floating right now.

     

    newOrders

     

    b1- 1.3625 stop: 1.3650 tp: 1.3675 ==> stop should be 1.3600

    b2- 1.3625 stop: 1.3650 tp: 1.3675 ==> stop should be 1.3600

     

    s1- 1.3625 stop: 1.3650 tp: 1.3575

    s2- 1.3625 stop: 1.3650 tp: none

     

    End Quote

     

    In 2s-1b strategy

    ===============

    Quote:

     

    at 3480

     

    s1 : 1.3480 stop: 1.3500 tp: None

    s2 : 1.3480 stop: 1.3500 tp: 1.3460

    B : 1.3480 stop: 1.3460 tp: 1.3560 ==> tp should be 1.3540 (every 60 pips)

     

    End Quote.

     

     

    Also, it will help if you use lower case s1,s2, b1 and b2 to refer actual orders while using upper case B1 and S1 to refer actions of buying and selling order for consistency. For instance,

     

    Quote:

    As soon as price went to 3440, (the moment s1,and B of 3460 were closed) we had put pending orders of

    1B-1S (please note its 1b-1s now) once again to 1.3460.while 1 S was still Running from that level.

    and same number of peninds 1s-1b we add at 1.3480 too.

     

    End quote

     

    I think it should be easier for readers to understand that it was actually s2 and b1 were closed. s1's t/p was set to none and would remain running with floating profit.

     

    Base on my current understanding, I think 2s/1b strategy requires a stable down trend environment. If market lose its stem and start to consolidate or trying to reverse, ie

    fluctuate within 60 pips range then the system won't work. At 20 pips grid level, it requires 3 levels of retracement just to get b/e. 4 levels will make us some money. By narrowing the spacing to 10 pips will help, but the spread will sting. Say typical EUR/USD spread is 1.5 pips, each level of 2s/1b will cause us 4.5 pips. The cost adds up after few levels of orders. So I think finding a appropriate spacing is important during the range bound days.

     

    On the other hand, I think the 2b/2s strategy works almost on all market conditions. It only requires 2 levels of movement of either direction to make money.

     

    But one thing I don't understand is that the 2s has no t/p set but both 1b/2b's t/p are set to 50. The idea of not having fixed t/p for 2s is to let the profit run. It should work well in down trend. But in uptrend, shouldn't we reverse it. ie set 1s/2s with tp of 50 and 1b with 50 and 2b with none?

     

    Finally, I would be much appreciate if you can share your 6b-4s strategy as well. Thanks...

  3. Hi Manu,

     

    I'm very interested in your Grid trading method. However, I'm yet to fully understand how you manage the loss trades. Can you kindly point me to some further readings to clear up my mind? Some diagrams or videos will certainly help.

     

    One more question about placing the trades. Say we are using 2b/2s method. As we are trying to place pending orders for both buy and sell at the same level say 1.3650. How do you handle the situations that price goes up from below to say (Bid/Ask 1.3648/1.3650) and then immediately pulls back and falls below 1.3625? Would you end up with 2 buys positions at 1.3650 but no sell positions for that level?

  4. Had a quick glimpse of this guy's web site. What a joke. What on earth would anyone want to submit his/her precious MQl4/EX4 in order to get it scrambled? It contradicts to the original intention of protecting the source code. His guarantee means absolutely nothing!
  5. Thanks t2g, that means you are using MQ history data instead of FXDDs. MQ history data is same as the Alpari UK which GMT+1 in winter and GMT+2 in summer whereas FXDD is GMT+2 in winter and GMT+3 in summer, so they are not compatible. Just in case you don't know, you can download the official FXDD M1 history data from link below..

     

    hxxp://global.fxdd.c0m/en/mt1m-data.html

     

    But I having some issues with it as I described in my previous post.

  6. Hi, t2g, can you please kindly share your FXDD M1 history data. I know I can download from their web site. But seems their data is somewhat corrupted. Every tick back tests with EURUSD, USDJPY, USDCHF with any EA such as default MACD sample will cause "premature stop" somewhere between 2009 September or 2009 October even though I didn't specify the range (it should run through 2005-01 to 2010-03). Interestingly, if I only specify 2009-09 to 2010-03, it will run through without trouble nor if I choose Control Points instead of Every tick. I have export the M1 data into csv file and examined them, nothing suspicious to be found, imported back in with csv but problem still exists.

     

    In the same FXDD MT4 platform, I tested with MQ history data by pressing the download button in History centre, no premature stopping problem experienced with that.

     

    I also tried import the FXDD data into GoMarkets platform and tested, it also stopped prematurely. I can only assume it is their data are corrupted.

     

    Thanks..

  7. Re: [REQ] What do you think about EA KAIN?

     

    fxknight - is this new version 1.04? Is there no auto GMT setting so I can test over long period.

     

     

    No, this is probably version v1.01 or earlier. Because since v1.02, the main strategy s0 uses donchian channels as indicators, and s1 and s2 strategies (rippsed from MDPro which are posted in fxknight's dll free editions are disabled by default. You need to turn on aggressive in order to use them.

  8. Re: (REQ) EuroX3 EA

     

    Anyone please share EuroX3 or EuroX2 EA?

    It is from :

    http://forexsoft.us/catalog.htm

     

     

    The EuroX3 is absoutely crap... With merely 174 lines of code use no more than the MACD indicator and charge of $149 for it X-( Run a quick back test on 2008 or even just 2010, you will know why the seller only shows 2009 back test results. =))

  9. Re: [REQ] What do you think about EA KAIN?

     

    The problem with this ea is that it trades right during rollover period and thats when spreads get widened and it becomes impossible for this ea to perform, so all this ea is, is a great back and forward test tool which will fails on a real broker with real money, or at least won't perform as well...

     

     

    I agree with you. In fact too many scalping EAs are trading under this 1 hour rollover period, (MDPro,EuropeWave,Forex Shocker, just name a few). So it is rather crowded and spread are generally much higher than normal.

  10. Re: [REQ] What do you think about EA KAIN?

     

    I read on another forum version 1.04 just released.

    Being released so soon after 1.03 makes you wonder if there was a problem with 1.03.

     

    I have analyzed the code, indeed there is a bug. It won't trade the s2 strategy at all even you turn on the aggressive. The bug is in the S2 function.

     

    if (SetParamS2() != 0)

    {

    blah blah (S2 strategy....)

    }

     

     

    However, the SetParamS2() function never return anything but 0. So it won't execute anything below.

     

    On another note, there is only Sell signals for S1 strategy. So, with v1.03, you can only trade with S0 buy/Sell (default) and S1(Sell) if Aggressive is on. S2 will never get run.

  11. Re: Metatrader Connection Speed

     

    logic tells us that a client with 1ms ping speed to a metatrader server is much faster than another client with 75ms. However, I've been testing this theory out for the past few weeks and I've NOT seen any difference whatsover between the fast and slow speed. I have a machine at home with 75ms ping speed to the JadeFX server and another machine with 1ms speed, they both use the same exact EAs and configurations/settings. Yet, every trade is identical.

     

    So my question to those who may have the answer is: Does the speed to the mt4 server matters under 100ms? Or is there no advantages at all for having a faster ping speed?

     

    Thank you and I appologize if this topic has been touched on before.

     

     

    I think it depends on what kind of EAs you are using. If you are using scalping EAs, fast connection to your broker server can be make or break especially for those EAs which don't set fixed TP on opened positions but rather close out the position once a pre-defined number of pips are made.

     

    For example, that's say the price has moved 3 pips in favor of your trade, and EA intends to close it, if your connection is slow, instead of netting 3 pips, you might end up with nothing or even minor losses if market moves very fast.

  12. Re: Metatrader 5 Available

     

    If one is not making any money in Forex trading, one can consider lease out its spare CPU cores for others to perform back testing. Read this:

     

    MetaQuotes will also launch a service on the MQL5 community website where computer power for remote agents will be sold. Everyone will be able to sell it, for example, you can sell your quad core cpu power from 1 to 6 AM. You can also buy the computer power direct form the MQL5 website. For it's services, MetaQuotes will take a small fee from the money which go to the seller.

     

    :))

  13. Re: Backtest with a Mini Account

     

    Hello,

    i have a Mini Account by Interbank FX.

     

    But how can i make long (two years or more) Backtest's with this MINI-Account?

     

    I can't download the History-Files with this Mini-Account.

     

    Please help me, thanks in Advance.

    halobungie

     

     

    Download the 1M history data from FXDD. FXDD is also GMT 0 broker like IBFX. So their history data should be compatible with IBFX in theory. :)

    download link is here . http://global.fxdd.com/en/mt1m-data.html

     

    Once you have the 1M history data, simply import them into the History centre of your IBFX mini a/c and then you need to run the period_converter scripts on M1 charts to generate data for other time frames such as 5,15,60,240,1440 etc..

     

    Hope this helps.

  14. Re: Europewave

     

    Hi

     

    Can please someone share a version of this EA that works at 2010? I receive always the error message:"Your EA license has expired. Please renew your copy."

     

    Or can please someone debug the dll file and place here an upload link? Kudos for you!

     

    Thanks,

    megainvest

     

    Just get yourself a copy of Forex Shocker 2.0. I have inspected the code of both EAs. Pretty much the same thing, both derived from free EA !rdb_ThunderAWD. The main difference is that Forex Shocker developer actually bothered to re-write the code using the same logic and indicators and with added support pairs. You can get Forex Shocker 2.0 from here.

     

    http://indo-investasi.com/viewtopic.php?f=6&t=3048&start=280

  15. Re: [REQ] Forex Harvester

     

    Just back tested EUR/USD 1999-2010 90%model. The result is okay. No single loss trade since 2006. (A series of big losses in year 2005 though) Also my backtest shows that this EA is quite spread tolerant (at least for EUR/USD. Tested it with 1.5 pip Spread as well as 3 pip Spread, getting same result)

     

    Since it only open trades on Monday so it can be used along side of other quality scalpers which usually don't trade on Monday to avoid volatility/gaps.

  16. Re: Fusion v1.1a

     

     

    No. Unfortunately, I no longer have the time to write there, it takes 8-10 hours per article and I am simply too busy nowadays.

     

     

    Hi birt, I was hooked as much as enjoyed to all of your unbiased and thoroughly done reviews and have been regularly checking your web site for updates. Little bit sad to know that we won't see any more top quality reviews from you any more.... Anyway, just like to show my appreciation for your hard work. You have been contributing so much to us and I believe many forum members like me are really really grateful to what you have contributed .....Thanks again! ^:)^

  17. Re: POST YOUR EX4 HERE !!!! ( PART 2) :D

     

    ea no 1can you decompile this file Money-Grid_V4_Non_Hedge_301696.ex4 for the mq4 please.

     

    the link http://[email protected]/38097

     

    i have buy this ea, and that a fibo grid, very well done, but i can`t test what i want to test.

    the setting of this expert advisor is set to only sell grid or only buy grid,

     

    ea no 2 http://[email protected]/88043 (this file is a ea that close all, when a profit is reached mq4 doc)

    don`t need the mq4, that just for sharing all the package here.

     

    if someone can create a new ea like this with the no1 and no 2,

     

    put the sell grid that work alone with his magic number, and in other part the buy grid with his magic number, inside the same ea, each side work separately, in the same time, some time, have different target depending of the market, the second thing ad a parameter for a profit target for theses magics numbers together, when this profit will be hit that`s will close all open order of the two magic order and the pending too. after that`s i will be able to test the history... with this strategy.. that already work, you can see this http://insider2.mt4live.com/

     

    that is my fist post, and english is not my first language, wish all will be ok for the dowload, first time too..

     

    best regards

     

    insider007

     

     

    Here is your decompiled version.

     

    http://www.forexsharing.com/603811

×
×
  • Create New...