تحرير تعليقك
How to edit ea.
عضو منذ Jul 05, 2012
13 المشاركات
Jun 04, 2014 at 13:45
عضو منذ Jul 05, 2012
13 المشاركات
any one who can help or teach me how to modify EA?i want to add trailing stop to EA.Dont know how to write in.
forex_trader_28881
عضو منذ Feb 07, 2011
691 المشاركات
Jun 06, 2014 at 06:16
(تم التعديل Jun 06, 2014 at 06:18)
عضو منذ Feb 07, 2011
691 المشاركات
Here you go, bit of homework for you:
https://www.forexstrategiesresources.com/forex-articles/exit-strategy/expert-advisors-mt4-trailing-stop/
https://www.forexstrategiesresources.com/forex-articles/exit-strategy/expert-advisors-mt4-trailing-stop/
forex_trader_28881
عضو منذ Feb 07, 2011
691 المشاركات
Jun 06, 2014 at 06:18
عضو منذ Feb 07, 2011
691 المشاركات
To modify an Ea if you have the MQL file, right click it and click modify. Then write your code, the link above should have some examples of code.
عضو منذ Jul 05, 2012
13 المشاركات
Jun 06, 2014 at 12:39
عضو منذ Jul 05, 2012
13 المشاركات
totally dont have knowledge on it.i just want to put trailing stop setting on EA.
forex_trader_28881
عضو منذ Feb 07, 2011
691 المشاركات
Jun 07, 2014 at 00:24
عضو منذ Feb 07, 2011
691 المشاركات
Do you have the source code for the EA? If you open the navigator and right click the EA does it ask you if you want to modify it?
If it doesn't then you can't, if it does, then click it and you'll be able to edit it.
If it doesn't then you can't, if it does, then click it and you'll be able to edit it.
عضو منذ Apr 30, 2011
20 المشاركات
Jun 12, 2014 at 13:11
عضو منذ Apr 30, 2011
20 المشاركات
i developed an EA with help of a programmer and it is giving good results now i want to sale this to my clients and how can i give a registraton code to this EA, to work only for some accounts
عضو منذ May 02, 2013
90 المشاركات
Jun 13, 2014 at 02:00
(تم التعديل Jun 13, 2014 at 02:03)
عضو منذ May 02, 2013
90 المشاركات
ydpm posted:
i developed an EA with help of a programmer and it is giving good results now i want to sale this to my clients and how can i give a registraton code to this EA, to work only for some accounts
A crude way, only problem you need to have account number of client you're selling to. Hard code the account number, compile and only release the .ex4 file.
int accountNo = xxxxxx; // client account number
if(AccountNumber() != accountNo) // Checks account number and will only trade if account number matches
Alert("Your account number does not match!");
else
{
Code for EA
}
But if someone really wants your code, then they can hack and decompile it, but still a hassle to do.
Hate your losers more than you like your winners
عضو منذ Feb 12, 2012
62 المشاركات
Jun 17, 2014 at 15:32
عضو منذ Feb 12, 2012
62 المشاركات
I can code it (hardcoded MQL4/5) for you or anybody else who needs this for his EA for a low fee (to be prepaid). If you like, msg me for more details.
k4y
k4y
عضو منذ Jun 09, 2011
183 المشاركات
Jun 18, 2014 at 07:32
عضو منذ Jun 09, 2011
183 المشاركات
Warren, you could try this guide out
https://www.tradingsystemforex.com/mql-programming/56-add-a-trailing-stop.html
https://www.tradingsystemforex.com/mql-programming/56-add-a-trailing-stop.html
http://www.freeforexrebates .info
عضو منذ Oct 01, 2013
4 المشاركات
Jun 21, 2014 at 08:21
عضو منذ Oct 01, 2013
4 المشاركات
What is the best way to learn how to be able to write an EA, can someone recommend a methodical method or know someone they would recommend offering tutorials, thanks to all.
عضو منذ Jun 09, 2011
183 المشاركات
Jun 22, 2014 at 05:00
عضو منذ Jun 09, 2011
183 المشاركات
If you have studied coding before, you will pick it up fairly quickly, probably like 1 week or so, if you have not, then it might take awhile, but it is not impossible. It is incredibly fun.
You can check out the expert advisors here:
https://www.mql5.com/en/code/mt4/experts
Best way to learn from my experience is to, download the source file and view the source code and play around with that, make changes, see what pops. Find out what each code does, after sometime, it will be like second nature to you.
Once you have a template up and running, you just need to change the buy and sell signals and how the trades are managed and closed. Like example, sometimes you just want to set a trade order with a standard tp or you want a trade's tp level to be hidden from your broker and you just have a function that OrderClose when the TP is met, or you could send a hedging trade to hedge off your current losing trade.
Once you have got a new EA fired up, you can then do your own optimization tests or code it to MT5 to take advantage of the multi threaded capabilities.
From there you could move on to more advanced methods like reading off a dll file, that further expands your capabilities to data mine or scrape off data from other reliable data sources.
You can check out the expert advisors here:
https://www.mql5.com/en/code/mt4/experts
Best way to learn from my experience is to, download the source file and view the source code and play around with that, make changes, see what pops. Find out what each code does, after sometime, it will be like second nature to you.
Once you have a template up and running, you just need to change the buy and sell signals and how the trades are managed and closed. Like example, sometimes you just want to set a trade order with a standard tp or you want a trade's tp level to be hidden from your broker and you just have a function that OrderClose when the TP is met, or you could send a hedging trade to hedge off your current losing trade.
Once you have got a new EA fired up, you can then do your own optimization tests or code it to MT5 to take advantage of the multi threaded capabilities.
From there you could move on to more advanced methods like reading off a dll file, that further expands your capabilities to data mine or scrape off data from other reliable data sources.
http://www.freeforexrebates .info
عضو منذ May 02, 2013
90 المشاركات
Jun 22, 2014 at 06:06
عضو منذ May 02, 2013
90 المشاركات
artsedge posted:
What is the best way to learn how to be able to write an EA, can someone recommend a methodical method or know someone they would recommend offering tutorials, thanks to all.
Quoted this in another thread, but I'm sure this will be very helpful.
https://www.youtube.com/user/Jimdandy1958/videos
Hate your losers more than you like your winners
عضو منذ Jun 09, 2011
183 المشاركات
Jun 23, 2014 at 04:32
عضو منذ Jun 09, 2011
183 المشاركات
Donex posted:artsedge posted:
What is the best way to learn how to be able to write an EA, can someone recommend a methodical method or know someone they would recommend offering tutorials, thanks to all.
Quoted this in another thread, but I'm sure this will be very helpful.
https://www.youtube.com/user/Jimdandy1958/videos
Yea those videos are good too. Giving you an immediate view of how to code.
http://www.freeforexrebates .info
عضو منذ Oct 24, 2013
261 المشاركات
Jun 28, 2014 at 01:32
عضو منذ Oct 24, 2013
261 المشاركات
Easiest way is to leave your EA alone and use this. https://www.forex-tsd.com/metatrader-4/7552-swiss-army-ea-automatic-order-management.html
You can't spend open trades.
عضو منذ Jun 09, 2011
183 المشاركات
Jul 14, 2014 at 13:03
عضو منذ Jun 09, 2011
183 المشاركات
Silverthorn posted:
Easiest way is to leave your EA alone and use this. https://www.forex-tsd.com/metatrader-4/7552-swiss-army-ea-automatic-order-management.html
2nd that man, if you're doing manual trading and need a tool to help you automate certain tasks, swiss army ea is the way to go.
http://www.freeforexrebates .info
عضو منذ Sep 22, 2021
1 المشاركات
Jan 13, 2023 at 12:17
عضو منذ Sep 22, 2021
1 المشاركات
TheCyclist posted:
Do you have the source code for the EA? If you open the navigator and right click the EA does it ask you if you want to modify it?
If it doesn't then you can't, if it does, then click it and you'll be able to edit it.
Hi, i have one ea, i would like to edit it, i don't not know coding, can you help?
*لن يتم التسامح مع الاستخدام التجاري والبريد العشوائي، وقد يؤدي ذلك إلى إنهاء الحساب.
نصيحة: نشر رابط صورة أو فيديو من YouTube سيضمّنها تلقائيًا في مشاركتك!
نصيحة: اكتب العلامة @ للإكمال التلقائي لاسم المستخدم المشارك في هذه المناقشة.