fxwealth Posted February 3, 2009 Report Posted February 3, 2009 Hi Can anyone please convert the following ea to trade on 5 digit broker platform. Many thanks Quote
mmohy Posted February 3, 2009 Report Posted February 3, 2009 Re: Need to convert ea to trade 5 digits Hi Can anyone please convert the following ea to trade on 5 digit broker platform. Many thanks What currency and time frame are recommended? Quote
collinsmith Posted February 3, 2009 Report Posted February 3, 2009 Re: Need to convert ea to trade 5 digits Hi Can anyone please convert the following ea to trade on 5 digit broker platform. Many thanks Hello fxwealth, I have made some changes, but I am not sure if it works well. Please test it. Regards, Collin Quote
fxwealth Posted February 3, 2009 Author Report Posted February 3, 2009 Re: Need to convert ea to trade 5 digits Hi Many thanks for attempting. I will try it and let u know if it works. I use it on EURUSD and GBPUSD 15min and GBPJPY 5min Can be quite dangerous if not watched. I use it to open trades and close trades when in profit works well for me. If u have an indicator to show u the trend even better as it makes mega pips in trending market All the best Quote
collinsmith Posted February 4, 2009 Report Posted February 4, 2009 Re: Need to convert ea to trade 5 digits Hi Collin Have tested it but unfortunately it does not place any trades Best rgds Hello fxwealth, I checked the codes and it has the following information: 1. This code only works in demo, not live account (not unless the demo statements are removed). 2. The execution will only start after 12hrs server time (TimeToStartTrade - this value can be changed by user). If your EA starts before 12, I think it will not place any trade. Regards, Collin Quote
fxwealth Posted February 4, 2009 Author Report Posted February 4, 2009 Re: Need to convert ea to trade 5 digits Hi Collin Thank you for your prompt response. I am using it on demo at the moment but will change the start time and see if it trades. Will keep you informed Best rgds Quote
mmohy Posted February 4, 2009 Report Posted February 4, 2009 Re: Need to convert ea to trade 5 digits Could any one modify this expert to work in real account ?? Quote
JamatL Posted February 4, 2009 Report Posted February 4, 2009 Re: Need to convert ea to trade 5 digits try this version 1.unlocked 2.cleaned up the code somewhat to assist with further work and testing 3. five digit accts work; works automatically but can be switched on independent of digits. 4. added magic number for multiple instances. regards, JamatL :mrgreen: Quote
fxwealth Posted February 4, 2009 Author Report Posted February 4, 2009 Re: Need to convert ea to trade 5 digits Many thanks JamatL Very much appreciated Quote
mmohy Posted February 5, 2009 Report Posted February 5, 2009 Re: Need to convert ea to trade 5 digits try this version 1.unlocked 2.cleaned up the code somewhat to assist with further work and testing 3. five digit accts work; works automatically but can be switched on independent of digits. 4. added magic number for multiple instances. regards, JamatL :mrgreen: Thank you very much , should i change the magic number for each currency pair ? and if yes what magic numbers should i enter ?? regards, Quote
JamatL Posted February 5, 2009 Report Posted February 5, 2009 Re: Need to convert ea to trade 5 digits try this version 1.unlocked 2.cleaned up the code somewhat to assist with further work and testing 3. five digit accts work; works automatically but can be switched on independent of digits. 4. added magic number for multiple instances. regards, JamatL :mrgreen: Thank you very much , should i change the magic number for each currency pair ? and if yes what magic numbers should i enter ?? regards, that the whole idea of the magic number, to allow the expert to operate completely separate from any other instances that may be attached to different currency pairs or even the same currency pair. In other words, you can have it attached to separate charts , and running at the same time independently, provided to change its unique magic number for each different chart you attach it to... BTW, any number will do, so long as it is unique. best of luck Quote
drbastem Posted June 6, 2010 Report Posted June 6, 2010 double xPoint=0; int init() { if (Point == 0.00001) xPoint = 0.0001; else { if (Point == 0.001) xPoint = 0.01; else xPoint = Point; } return (0); } // change point -> xPoint; //Normal prıcess OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage, Ask-25*Point, Ask+25*Point, "5 dig", 0, 0, CLR_NONE); // automatic change 4/5 Point OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage, Ask-25*xPoint, Ask+25*xPoint, "5 dig", 0, 0, CLR_NONE); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.