Jump to content

newbee1713006039

Members
  • Posts

    201
  • Joined

  • Last visited

Posts posted by newbee1713006039

  1. Hello guys,

    The EA openes a trade and when the trend goes goes against it, it still opens the same kind of trades, even when the trend goes into the opposite direction.

     

    Maybe someone can change the trading method a bid, that it does not continue, trading against the trend

     

    h**p://[email protected]/file/pJOTgOX8/Enterprice_EA.html

    The EA is already decompiled.

  2. Here my idea, works rather good manually but need to be coded, because it does scalp:

     

    In this case, we have 2 pips spread

    lets say, we open a "buy order" with 0.01 lots at 1.0017, tp 3 pips but only fo the first order.

     

    when the trend goes against our buy order, we open a "sell order", which is calculated (pips spread + 5 pips below "buy order", which in this case is 2+5=7)

    So we open a "sell order" at 1.0010 with 0.02 lots

     

    And then we wait for a profit and close all orders.

     

    If the trend again goes against our last "sell order", we ADD another "buy order" as soon as we reach 1.0017 again, with 0.03 lots

    And wait for our profit to close all orders.

     

    The EA should open the order type which was opened at last, to go with the trend.

     

    You see we use some kind of martingale, but this is a different one.

     

    Normally we have a martingale like this

    1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024

     

    But we use

    1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 (you see, we just summate the last to values, like 3 + 5= 8 or 21 + 34 =55)

    But I do not believe that we need all the steps

     

    which in our case is

    0.01 buy at 1.0017

    0.02 sell at 1.0010

    0.03 buy at 1.0017 add to existing buy order

    0.05 sell at 1.0010 add to existing sell order

    0.08 buy at 1.0017 add to existing buy order

    0.13 sell at 1.0010 add to existing sell order

    0.21 buy at 1.0017 add to existing buy order

    0.34 sell at 1.0010 add to existing sell order

    0.55 buy at 1.0017 add to existing buy order

    0.89 sell at 1.0010 add to existing sell order

    1.44 buy at 1.0017 add to existing buy order

     

     

    This EA should only have a timefilter for friday, until what hour we want to trade.

    Should be usable on all timeframes and all pairs, because we always calculate our sell order price by pip spread + 5 pips below buy order = sell order

    We could use a MM

    Should be tradedable at 4 and 5 digit broker

    If possible, it should be able recognize and trade automatically, pairs and their suffix like (EURUSDm, EURUSDus, EURUSDjfx)

     

    Are you also able to code this for MT5?

     

    regards

    newbee

  3. 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.

     

    Hello birt,

    I tried it and it again, but it does not work on my platform. Do not know what the problem is.

    I will reinstall it and see what happens.

    thx a lot for your answer, that it works on your platform.

     

    newbee

     

    -- 22 Mar 2010, 21:54 --

     

    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.

     

     

    Hello birt, after new installation of MT4, it works on my plattform as well.

    Thx a lot for your help ;-)

    Gave you kudos on all your posts here.

     

    newbee

  4. Re: [REQ] Problem with this code

     

    Well, starting another thread may not be the best way to solve the same problem. But oh well.

    If your first part of the code does not work, your changes will not work as well...

     

    The first code was working before I changed it and added the extern string.

     

    I would suggest not to work with "adding" suffices but rather "remove" them and focus on the pair itself in your code.

    Also see here: http://docs.mql4.com/strings/StringSubstr

     

    So:

     

    Symbol1 = Symbol();
    Symbol1 = StringSubStr(Symbol1, 0,6);
    

    Do I only have to add the code or do I have to enter this for another one?

    And does this solve the problem with pairs like GBPUSD*, GBPUSD** and GBPUSD***?

     

    -- 21 Mar 2010, 18:54 --

     

    Is there any coding expert, who can help me to get this EA to work on any pairs, even those with GBPUSDm or GBPUSDjfx at the end?

    Would be great.

     

    -- 22 Mar 2010, 21:56 --

     

    Problem is solved, many thx to birt in another thread ;-)

  5. Hello,

    I have changed the following code from

     

    if (StringLen(Symbol())== 7 )
      {
         Symbol1 = Symbol1 + "b";
         Symbol2 = Symbol2 + "b";
         Bollinger_Symbol = Bollinger_Symbol + "b";
         USD = USD + "b";
      }
    
      if (StringLen(Symbol())== 9 )
      {
         Symbol1 = Symbol1 + "jfx";
         Symbol2 = Symbol2 + "jfx";
         Bollinger_Symbol = Bollinger_Symbol + "jfx";
         USD = USD + "jfx";
      }
    

     

    to

     

    if (StringLen(Symbol())== 7 )
      {
         Symbol1 = Symbol1 + Appendix1;
         Symbol2 = Symbol2 + Appendix1;
         Bollinger_Symbol = Bollinger_Symbol + Appendix1;
         USD = USD + Appendix1;
      }
    
      if (StringLen(Symbol())== 9 )
      {
         Symbol1 = Symbol1 + Appendix3;
         Symbol2 = Symbol2 + Appendix3;
         Bollinger_Symbol = Bollinger_Symbol + "Appendix3;
         USD = USD + Appendix3;
      }

     

    And have added the following extern strings:

    extern string     Appendix1           = "b";
    extern string     Appendix3           = "jfx";

     

    And now I do always get the message "Please enable all pairs on Market Watch Window"!

    What have I done wrong, because before I changed it the code it worked well.

    But with an extern string it is easier to change the appendix of pairs.

     

    Hope someone has a hint ;-)

     

    The complete EA is here:

    http://depositfiles.com/files/k8siu9o49

     

    And I have tried it with BeamFX

    http://www.beamfx.com/metatrader/BeamFXMT4.exe

     

    thx in advance

    newbee

  6. 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);

    .

     

    This code does not solve the problem. Still get the message: "Please enable all pairs on Market Watch Window".

  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.

     

    Sorry but the problem is not the BuyPair1 and BuyPair2, this works well.

    I only have the problem after I have added the Appendix1 and Appendix3 strings

     

    Newbee

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

     

    Can you describe the exact failure and what's needed to fix it?

     

    The more info the faster we can work.

    Perhaps it's a good idea to include the original code, and tell us what you were trying to achieve with adding new code to it. There might just be a simpler and better way....

     

    When I add the EA to the chart of BeamFX, I always get the message: "Please enable all pairs on Market Watch Window".

    But all needed pairs are shown.

    Beamforex uses "b" after pairs, like GBPJPYb.

     

    Do not know what I have done wrong here.

     

    Newbee

  9. Hello,

    I have an EA here and everything is working fine, except the "PairAppendix1" and "PairAppendix3" I have added.

    Tried it with BeamFX

    http://www.beamfx.com/metatrader/BeamFXMT4.exe

    which has the "b" added to the pairs and it does not work.

    Could someone please have a look what I have done wrong?

     

    EA is here:

    http://depositfiles.com/files/k8siu9o49

     

    Thx in advance!

     

    regards

    Newbee

  10. Re: [REQ] Hedge EA v6.6 for 5 digit brokers

     

    There is a comand line for autoprofit:

     

    if (AutoProfit) ProfitTarget = NormalizeDouble(((OrderLots1 * PipCost(Symbol1) + OrderLots2 * PipCost(Symbol2))/2) * Risk,0);

     

    Is it possible to create a "extern double", where you can manually change the number after / inside comand above?

    In this case the number is 2, but when you use another number it will change the size of the autotakeprofit.

    And that would be great, if that could be handled via an "extern double".

     

    thx

     

    newbee

  11. Re: [REQ] Hedge EA v6.6 for 5 digit brokers

     

    It can be used 4 and 5 digit brokers no problem, why you planning to package it or something ;) Its all good. Anyway could you share your setting for this, i love hedging ea's since i have an fxcm account collecting dust, I've been dreaming of getting my hand on a decent hedging ea. So share please.

     

    Great work!

    I try to test it with a few brokers that have positive reviews on forexpeacearmy.

    But some have 4 other 5 digits and I always got zero devide with the 5 digit brokers.

    So now I am able to test it there too.

    And for the chart information, I do really like it to see my own account and brokerinformation.

    Makes me feel like a real trader :D

     

    Of course, I will post settings that end up in positive trading results.

     

    thx

    newbee

  12. Re: [REQ] Hedge EA v6.6 for 5 digit brokers

     

    http://depositfiles.com/files/24ckg86c3

    Here you go everything added, everything works. Give me kudos.

    Could you also share your settings and some info regarding this, it looks like an interesting ea.

     

    Kudos from me ;-)

    Thank you for your quick help!

     

    Can this EA be used with 4 digits and 5 digit brokers or only 5 digits?

     

    newbee

  13. Hello,

    can anybody configure the code for Hedge EA v6.6 that it also can be used with 5 digit brokers?

    It would also be great, when I can get the information, what had to be changed to make it possible to trade with 5 digit brokers, because I would like to understand the programming.

     

    Hedge EA v6.6 can be downloaded here

     

    Would also be great if someone could at some account informations to be displayed on the chart:

    Broker, account holder, account number and broker time.

     

    thanks a lot.

     

    newbee

×
×
  • Create New...