![](https://indo-investasi.com/uploads/set_resources_16/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
newbee1713006039
-
Posts
201 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by newbee1713006039
-
-
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.
-
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
-
string My_Symbol = StringSubstr(Symbol(),0,6);
Thx, dude ;-)
-
Please try HEDGE ROCKS EA you can get it free from some forex forum websites
I am using it on Lite forex
Hi kishorejoga,
still using Hedge Rocks with Liteforex?
What results did you get so far?
regards
newbee
-
hello,
is anybody able to give me a code, that allows an EA to recognise automatically any suffix, that is added to a pair and is able to trade it.
thx in advance
newbee
-
Ask yourself a question, would you really sell an EA making 2800% a month with starting price 1$ on ebay?
-
extern string Symbol1 = "GBPJPY";
extern string Symbol2 = "CHFJPY";
Simply type in th eproper curency symbol for the broker
Pheniox
Ok, did what you wrote, entered
extern string Symbol1 = "GBPJPYb";
extern string Symbol2 = "CHFJPYb";
but still the same error message.
-
Sorry, does not work. Tried it with BeamFX and get the message:" Please enable all pairs on Market Watch Window" although no pairs are hidden. BeamFX has e.g. EURUSDb as pairs.
-
Hello,
hre is an EA that only trades for pairs like EURUSD.
But it should also be able to trade pairs like EURUSDx, EURUSDxx or EURUSDxxx
EA download is here:
http://depositfiles.com/files/6xsxwl7nj
thx in advanc
newbee
-
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
-
Re: [REQ] Can someone correct this Code?
Sorry guys, all you suggestions did not work.
-
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 ;-)
-
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
-
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".
-
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
-
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
-
Re: [REQ] Can someone correct this Code?
Would be great if someone could check my failure with "Appendix1" and "Appendix3" inside the code - fix it and reupload it to http://depositfiles.com.
EA is here:
http://depositfiles.com/files/k8siu9o49
Would be great.
Thx in advance ;-)
Newbee
-
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
-
Re: [REQ] Hedge EA v6.6 for 5 digit brokers
Sorry posted something wrong here.
-
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
-
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
-
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
-
Re: [REQ] Hedge EA v6.6 for 5 digit brokers
Can you please upload it to dep(0)sitfiles.com or any other share engine. Thank you.Here it is:
newbee
-
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
swb grid 4 modified
in MetaTrader Expert Advisors
Posted