Jump to content

birt

⭐ V.I.P.
  • Posts

    296
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by birt

  1. Thanks Birt. Wondering if you still read this forum. :-)

     

    I still read II, but very rarely. Usually I do it just to try to get a feeling of what everyone thinks of EAs that I might want to review; for example, I read the whole TulipFX thread before writing the Kangaroo article. Anyway, since I run an affiliate site now, I can no longer get involved with educated EAs.

  2. There is no good protectiol

    n for a fast running EA. The slower ones could get away with web server access similar to EA copier above but the time lapse is to great for these EAs.

    There are company like code guard you may with to check out. They do a pretty good job however if someone really wants to crack your ea they will..

    randy

     

    Yes and no. For most EAs, I'd say a good 99%, one can identify parts that have to be run at given time intervals (worst case 1 minute, seeing that indicators are typically used with shift 1) and put only these parts in a script on a server. The drawback is that if you let the users backtest, it'll be slow as hell and it'll eat major bandwidth. Granted, this is probably not a good solution for the original poster given the necessity of a server. Same goes for protection companies, they'd charge more than the $200 that he lacks.

     

    My advice is to put parts of the EA in a DLL, grab a demo copy of Oreans Themida and use it on the DLL. There's not an abundance of people who can work around that.

  3. But how do you explain that I've made backtest for the last 5 years ?

     

    Simply because we're not in the future. If the date would've been 18.06.2010, it wouldn't have worked at all. Feel free to use which version you want, but keep in mind that the one with the DLL will expire on that date.

  4. Re: [REQ] Can someone correct this Code?

     

    I downloaded the BeamFX terminal, installed it, copied your EA, commented out the return(0); I mentioned above and guess what? It works. My conclusion is that you're either someone who doesn't really want to be helped or you're simply not very good at following instructions and don't want to admit it. I am done trying to help you, my patience supply has run out.

  5. Re: [REQ] Can someone correct this Code?

     

    First of all, that Print thing wasn't supposed to solve the problem, but to help you figure out what the problem was.

     

    Second, are you even reading what I'm writing? In my previous post I described how that extra return (0); at the beginning of the init() function is most likely what makes it not work. Did you try removing that?

  6. Re: [REQ] Can someone correct this Code?

     

    In your init function, you have the following piece of code:

     

    {
         CloseBuyOrders(MagicNumber);
         CloseSellOrders(MagicNumber);
         return(0);
      }
    

     

    You're aware that return(0) will prevent further execution of the init function, thus it won't even reach the part of the code where you're adding the appendix to the pair, right?

     

    Are you also aware that you would've been able to quickly figure out the problem if you bothered trying what I said with the prints?

  7. Re: [REQ] Can someone correct this Code?

     

    It looks ok at the first sight. If I'm not mistaken, having both BuyPair1 and BuyPair2 set to false (which is the default) will result in the same error so you might want to check those.

     

    If at least one of them is set to true, temporarily add a "debug" print at the end of the init routine such as:

     

    Print ("Pair1 is " + Pair1 + " while Pair2 is " + Pair2);

     

    When you did that, run it and check the experts log, see if the Pair variables have the expected values. If they don't have the correct values, add similar Print lines everywhere and use them for debugging.

  8. Re: [REQ] Can someone correct this Code?

     

    What exactly is not working? What error do you get?

     

    Just in case it helps you, here's some code that I wrote a while ago to properly figure out the prefix, join elements (if any) and suffix for a currency pair:

     

      string currencies[] = { "EUR", "USD", "CHF", "GBP", "JPY", "AUD", "CAD", "NZD", "HKD", "DKK", "NOK", "SEK", "SGD", "RUB", "RUR", "ZAR", "UAH", "RON", "MXN", "TRY", "PLN", "HUF", "PHP", "MTL", "HRK", "LVL", "CZK", "ILS", "LTL", "XAU", "XAG" };
      string prefix = "";
      string join = "";
      string suffix = "";
      string baseCurrency, quoteCurrency;
      string symbol = Symbol();
      for (int j = 0; j < StringLen(symbol); j++) {
         for (int i = 0; i < ArraySize(currencies); i++) {
            int idx = StringFind(symbol, currencies[i], 0);
            if (idx >= 0 && idx <= j) {
               if (idx > 0) {
                  prefix = StringSubstr(symbol, 0, idx);
               }
               baseCurrency = StringSubstr(symbol, idx, 3);
               break;
            }
         }
         if (StringLen(baseCurrency) > 0) {
            break;
         }
      }
      for (i = 0; i < ArraySize(currencies); i++) {
         int idx2 = StringFind(symbol, currencies[i], idx + 3);
         if (idx2 >= 0) {
            if (idx2 > idx + 3) {
               join = StringSubstr(symbol, idx + 3, idx2 - (idx + 3));
            }
            quoteCurrency = StringSubstr(symbol, idx2, 3);
            suffix = StringSubstr(symbol, idx2 + 3);
            break;
         }
      }
    

     

    If you run the above code on your broker's EURUSD and the pair is wickedly named "booEUR-USDeww", after you run the above code, your prefix variable will contain "boo", your join variable will contain "-" and your suffix variable will contain "eww", while baseCurrency will be set to "EUR" and quoteCurrency to "USD". If you wanted to construct the most probable GBPUSD pair from there, you'd write myGBPUSDpair = prefix + "GBP" + join + "USD" + suffix;

  9. Re: astrotrader price & time wheel

     

    To be entirely honest, I don't particularly care whether you are a CFA charter holder or not and it doesn't impress me at all. However, I'm sure me and the other readers of this thread would be very much impressed if you could produce a statement of a live account where you profitably & consistently trade using approaches developed by the so-called gurus, together with enlightening the audience about the particulars of some of the trades.

     

    Moreover, back to the topic of astrotrader, why would you even need it if you already "know well when to invest & in which company"? I mean, seriously, you claim to be this successful pro trader that somehow knows astrotrader is an exceptional piece of software yet you won't cough up the $48 for it because you might eventually find it using a "different search engine"? That sounds a bit far fetched to me.

  10. Re: astrotrader price & time wheel

     

    ok i will prove but this forum has not any option to upload chart or image???

    or tell me you email.

     

    "diamonds & stones are same for blind man" :)

     

    If you're about to upload something like 3 chart images with instances of such a method working, you probably shouldn't bother. Given any random trading method, it's possible to find lots of times where it would have worked. Just look at any manual method available for sale that doesn't work (there's tons of them) and you will see many such awesome chart setups advertised on their first page. Does that make them profitable or prove anything about them? Certainly not. When they're asking for proof, they probably mean a live account statement where such a method was consistently traded for a long enough period of time. I'm afraid any number of chart images are not particularly conclusive when it comes to a system's profitability.

     

    On a different note, if this thing is worth that much to you, why don't you go ahead and pay the $48 for it? If all is as you say it is, then it will surely earn that money for you in no time, right?

  11. Re: EA: Forex Derivative 2.0

     

    Unfortunately, the keygen created from our light "birt", will expired at 15 / 05/2010, birt, is possible to extend this expiration?

    Or just wait that it expires and then try to create another time the key?

    Please Teach us...

     

    P.s. You are amazing...

     

    The expiration date is not in the keygen, it's in the EA and it's trivial to remove, it's in the MQL code. Anyway, before that date a new version will most likely be released and the keygen might still work. In any case, if you're still using the EA at that time and a new version didn't come out, I'm sure someone here will remove the expiration limit.

  12. Re: EA: Forex Derivative 2.0

     

    :| Birt: I do not understand how the fd20kg script can produce a key for Derivative Pro. Can the same thing be done for other ea's?

     

    For some it can be done, for some not. Some of them connect to a server to verify the key - for that kind it's pretty much impossible. For some others, it's too much of a hassle to write a keygen, while modifying them is a lot easier. Don't worry about understanding how it works if you have no programming knowledge.

  13. Re: EA: Forex Derivative 2.0

     

    Fire up metaeditor (hit F4 in your MT4), go to file -> new -> choose script -> click next -> name it "fd20kg" -> click finish, you get a new file with some code in it, select all of it, delete it, replace it with the one I posted, hit F5 to compile it, hit F4 to go back to your MT4 client and you will find your newly created script under scripts, below the expert advisors. Open any chart and double click it.

  14. Re: EA: Forex Derivative 2.0

     

    To generate a key for your account for the pro version, put this in a script and run it on any chart:

     

    int start()
     {
      string acc = DoubleToStr(AccountNumber(), 0);
      int j = 1;
      for (int i = StringLen(acc); i < 8; i++) {
         acc = acc + DoubleToStr(j, 0);
         j++;
      }
      string scramble = "";
      scramble = scramble + StringSubstr(acc, 1, 1);
      scramble = scramble + StringSubstr(acc, 7, 1);
      scramble = scramble + StringSubstr(acc, 4, 1);
      scramble = scramble + StringSubstr(acc, 6, 1);
      scramble = scramble + StringSubstr(acc, 0, 1);
      scramble = scramble + StringSubstr(acc, 3, 1);
      scramble = scramble + StringSubstr(acc, 2, 1);
      scramble = scramble + StringSubstr(acc, 5, 1);
      string salt = "73215362";
      string key = "";
      int r;
      for (i = 0; i < 8; i++) {
         int a1 = StrToDouble(StringSubstr(scramble, i, 1));
         int a2 = StrToDouble(StringSubstr(salt, i, 1));
         r = (a1 + a2) % 10;
         key = key + DoubleToStr(r, 0);
      }
      string out = "Your Forex Derivative Pro key is: " + key;
      Alert(out);
      Print(out);
      Comment(out);
      return(0);
     }
    

  15. Re: (Req) Martin EA

     

    I Told Everyone that I got Emails from FX-Persia.com about Reversal tradings.

     

    If you want to pretend you're a customer, why post here using the same name as the one displayed in the contact section of the first page on the fx-persia dot com website?

     

    As for the reverse positions, all I can say is lol. If you don't want your EAs (actually, wait, I mean the EAs you took from this forum, modified and renamed) posted on II, all you have to do is contact one of the EA section mods; there's no need to come up with stuff like that which we both know is not true.

×
×
  • Create New...