Important:
This thread has been deleted because people did not respect the most simple rules.
Here are the rules for posting in my thread.
If you donīt like the rules, please quit. If you break the rules, you will be banned.
Rule 1:
I am not here to teach newbies how to attach an EA or how to use the strategy tester of Mt4.
There are instructions for newbies all over the Internet. Use google to find them and educate yourself.
Rule 2 :
If you have questions about the parameters, first try to understand them by yourself.
The EA is very simple and intuitive.
If I find time, I will make a PDF where all parameters are explained.
Until then, you can understand them by looking at them and testing them.
Use a demo account, place trades there - it will not cost you money or harm you - and
test all the parameters you think you would need.
Use the strategy tester of Mt4.
The EA is designed to be used in strategy tester.
Only after you tried everything, tested everything and still you think the EA doesnīt do what
you want it to do, post your question in the thread.
Rule 3 :
Provide enough information when you ask something.
If you see errors , make a screenshot, explain when it happened and what you did.
Tell me what error-messages you find in the experts tab or in the journal of Mt4.
Provide info about the OS you use (Windows XP, Win7, Win8 ? )
Where did you install Mt4 ?
Did you check all the necessary things like "Allow dll calls" , "Allow live trading" etc.
Did you use Mt4TickSender tool or not ?
What are your settings ?
What did you expect and what happened instead ?
I donīt have a crystall ball.
I cannot read your mind.
I cannot see into your PC or Laptop.
I am not a remote viewer who sees what you did and where you made mistakes.
I need enough info in order to analyze your problem and to find a solution.
If somebody does not provide all the info, I will ignore his post and ban him immediately.
He will not be able to post again.
Rule 4 :
If I answer you, I expect proper feedback from you.
I donīt expect praise and flattering.
Only thing I expect is feedback like "I did everything you said, but still the TP-line doesnīt appear
on the chart"
or
"I checked the "Allow Dll-calls" and now the buttons appear on the chart. Thank you."
or
"after I installed Mt4 on the C: drive on my Win7 PC, the EA works as it should. Thank you."
That is all I want and all I require.
People who donīt answer my questions I asked them, will be banned.
People who donīt give proper feedback will be banned.
If you think the rules are too harsh, I am telling you this:
I spent hundreds of hours developing this EA and you get my work for free.
Now it is up to you to educate yourself if you are a newbie instead of requesting more of
my time, expecting that I should teach you the basics.
It is up to you to learn the parameters by testing on a demo and on strategy tester instead
of expecting that I should teach you everything.
The main purpose of this thread is the elimination of bugs.
If you find a bug, report it with all necessary info and if I can reproduce the bug, I will fix it
and upload a new version.
Another purpose is to add new features, but only those which I need myself for my trading
or those which I think are interesting and usefull.
I hate a parameter list which is so long you have to scroll half an hour to get to the end.
The EA already has a long parameter list, for my taste much too long. Therefore I will be
very hesitant to add new features.
------------------------------------ ------------------------------------ ------------------------------------ --
Inspired by sangmaneīs Mt4 Order Plugin , I developed this EA and share it
with those who are interested.
Attachment 1022043
The EA is designed for managing 1 single order by itīs unique MagicNumber.
If you need 2 orders managed by it, you need to open 2 charts and attach
the EA to each with a different MagicNumber.
Features:
1. a) Hidden TP,SL and BE . Move TP,SL and BE with drag and drop.
b) Normal TP,SL . Move lines with drag and drop
2. Partial Close at BE, TP1, TP2 and TP3.
3. Trailing Stop options:
a) immediate trailing
b) trailing after breakeven
c) trailing after x Pips in Profit
c) jumping stop after breakeven
d) immediate jumping stop
e) jumping stop after x Pips in Profit
f) MA-trailing immediately
g) MA-trailing after Breakeven
h) Exit when MACD-line crosses zero
4. Insert OrderComment from a drop-list or manually.
5. a)Quickstart trading buttons: Market order long or short for scalpers.
b) Place Pending Orders
6. Close management:
a) Close orders by ticketnumber from a drop-list
b) Close all orders of the pair the EA is attached to
c) Close all orders, regardless of pair
d) Close active Order(or delete Pending) by MagicNumber
e) Emergency SL for HiddenSL-option
7. Real buttons on the chart, not emulated (fake) buttons.
8. Risk based Lotsize : Distance of Entry to StopLoss defines lot-size
You move the SL-line and see the lot-size in EA comment display.
You can select automatic MM or manual lot-size
9. Option to make screenshot when an order is opened.
Screenshots are stored in experts/files folder in Mt4.
10. Automatic detection of chart background color ( for white and black chart) and adaption of comment and orderlines-colors
11. Option to run the EA independent from ticks
Attention: Because of limitations of Mt4-platform, please read explanations about this option.
Explanation here: www.forexfactory.com/showthread.php?p=5980956#post598095 6
12. OCO feature ( One Cancels the Other )
13. REVERSE feature ( Close active order and open market order in opposite direction )
More explanations will follow.
Update March-15-2013: Version 7.9 uploaded
Version 7.9 : For Market orders the orderlines are taken as they are
Version 7.8 : A few bugs eliminated
Version 7.7 : MarketOrder Button for Pending Order added
EmergencyStopLoss modified
Version 7.6 has improved comments feature
Version 7.5 has Reverse Button
Active Order is closed and market order in opposite direction is opened
Attachment 1132211
In properties menu you choose if you want to confirm the reverse order or not,
default: Confirm_Reverse_Order = true
Version 7.4 has OCO feature
Description here: www.forexfactory.com/showthread.php?p=6410892#post641089 2
since Version 7 there is the automatic MagicNumber option.
What is is ?
Read here for explanation:
www.forexfactory.com/showthread.php?p=6313283#post631328 3
Please use only the latest version
This EA is still in development.
Disclaimer:
The EA must not be used in live-accounts. I take no responsibility for losses or damages. By using this EA, you agree to this disclaimer.
Installation of DLLīs :
mt4gui.dll ----> experts/libraries
mt4gui2.dll ----> C:\Programs\YourMetaTraderplatform (root folder of your Mt4 where you see terminal.exe and MetaEditor.exe etc.)
Please ignore instructions for dll installation in post#2, I am only allowed to edit
post#1 in my thread.
A few hints for those who are not familiar with EAs (which have DLL calls ):
Make sure you have checked the expert advisors options in Mt4 like this:
Attachment 1115210
For Windows 7 and Vista users, please
read this article :
4xtrader.net/how-to-run-metatrader-on-windows-7-or-vista/
It explains why you should install Metatrader outside of the programs folder.
Same rules apply for Windows 8 .
Install your Mt4 on C: drive , not into the default installation folder Program files (86) .
------------------------------------ ------------------------------------ ---------------------
Entering manual comments for getting OrderComments :
a) you can insert a comment manually
b) you can select a comment from a checklist .
Attachment 1137621
This list must be built by yourself in the GlobalVariables of Mt4.
Instructions for creating your own list of order comments:
www.forexfactory.com/showthread.php?p=6452083#post645208 3
------------------------------------ ------------------------------------ ----------------------
It is recommended to use a fake tick sending tool for this EA.
Download this tool and start it:
https://www.fx1.net/wiki/pmwiki.php/MT4Ticker/MT4Ticker
It sends ticks to all Mt4 platforms which are active.
(There are other fake tick sending tools available, if you donīt like to use mt4Ticker, do a
search in ForexFactory and you will find them )
It makes drag & drop of orderlines faster.
If you want to attach the EA to a chart on weekends, when markets are closed,
you definitely need a tick sending tool, otherwise there will be no buttons on the chart.
------------------------------------ ------------------------------------ -------------------------
Sometimes users wonder why the EA doesnīt draw the TP-line and SL-line at the distance they
inserted into
Default_SL_Pips and
Default_TP_Pips .
There is a parameter
Use_Flexible_SL_TP = true (default)
It is there because in M1 or M5 you cannot see the TP and SL lines on the chart if they are too far away
from entry. You have to squeeze the chart.
On higher timeframes , the lines are too close to each other and it is hard to mark them in order to move them further away from each other.
If Use_Flexible_SL_TP = true
is set, the EA places the lines in different distances from the entry for each timeframe.
on M1, Default SL = 5 Pips
on M5, Default SL = 10 Pips
on M15 , Default SL = 15 Pips
you get the idea ?
If you want the EA to place TP and SL at a distance which you define,
then you need to set
Use_Flexible_SL_TP = false
The EA will then use Default_SL_Pips and
Default_TP_Pips regardless of the timeframe you attached the EA to.
This thread has been deleted because people did not respect the most simple rules.
Here are the rules for posting in my thread.
If you donīt like the rules, please quit. If you break the rules, you will be banned.
Rule 1:
I am not here to teach newbies how to attach an EA or how to use the strategy tester of Mt4.
There are instructions for newbies all over the Internet. Use google to find them and educate yourself.
Rule 2 :
If you have questions about the parameters, first try to understand them by yourself.
The EA is very simple and intuitive.
If I find time, I will make a PDF where all parameters are explained.
Until then, you can understand them by looking at them and testing them.
Use a demo account, place trades there - it will not cost you money or harm you - and
test all the parameters you think you would need.
Use the strategy tester of Mt4.
The EA is designed to be used in strategy tester.
Only after you tried everything, tested everything and still you think the EA doesnīt do what
you want it to do, post your question in the thread.
Rule 3 :
Provide enough information when you ask something.
If you see errors , make a screenshot, explain when it happened and what you did.
Tell me what error-messages you find in the experts tab or in the journal of Mt4.
Provide info about the OS you use (Windows XP, Win7, Win8 ? )
Where did you install Mt4 ?
Did you check all the necessary things like "Allow dll calls" , "Allow live trading" etc.
Did you use Mt4TickSender tool or not ?
What are your settings ?
What did you expect and what happened instead ?
I donīt have a crystall ball.
I cannot read your mind.
I cannot see into your PC or Laptop.
I am not a remote viewer who sees what you did and where you made mistakes.
I need enough info in order to analyze your problem and to find a solution.
If somebody does not provide all the info, I will ignore his post and ban him immediately.
He will not be able to post again.
Rule 4 :
If I answer you, I expect proper feedback from you.
I donīt expect praise and flattering.
Only thing I expect is feedback like "I did everything you said, but still the TP-line doesnīt appear
on the chart"
or
"I checked the "Allow Dll-calls" and now the buttons appear on the chart. Thank you."
or
"after I installed Mt4 on the C: drive on my Win7 PC, the EA works as it should. Thank you."
That is all I want and all I require.
People who donīt answer my questions I asked them, will be banned.
People who donīt give proper feedback will be banned.
If you think the rules are too harsh, I am telling you this:
I spent hundreds of hours developing this EA and you get my work for free.
Now it is up to you to educate yourself if you are a newbie instead of requesting more of
my time, expecting that I should teach you the basics.
It is up to you to learn the parameters by testing on a demo and on strategy tester instead
of expecting that I should teach you everything.
The main purpose of this thread is the elimination of bugs.
If you find a bug, report it with all necessary info and if I can reproduce the bug, I will fix it
and upload a new version.
Another purpose is to add new features, but only those which I need myself for my trading
or those which I think are interesting and usefull.
I hate a parameter list which is so long you have to scroll half an hour to get to the end.
The EA already has a long parameter list, for my taste much too long. Therefore I will be
very hesitant to add new features.
------------------------------------ ------------------------------------ ------------------------------------ --
Inspired by sangmaneīs Mt4 Order Plugin , I developed this EA and share it
with those who are interested.
Attachment 1022043
The EA is designed for managing 1 single order by itīs unique MagicNumber.
If you need 2 orders managed by it, you need to open 2 charts and attach
the EA to each with a different MagicNumber.
Features:
1. a) Hidden TP,SL and BE . Move TP,SL and BE with drag and drop.
b) Normal TP,SL . Move lines with drag and drop
2. Partial Close at BE, TP1, TP2 and TP3.
3. Trailing Stop options:
a) immediate trailing
b) trailing after breakeven
c) trailing after x Pips in Profit
c) jumping stop after breakeven
d) immediate jumping stop
e) jumping stop after x Pips in Profit
f) MA-trailing immediately
g) MA-trailing after Breakeven
h) Exit when MACD-line crosses zero
4. Insert OrderComment from a drop-list or manually.
5. a)Quickstart trading buttons: Market order long or short for scalpers.
b) Place Pending Orders
6. Close management:
a) Close orders by ticketnumber from a drop-list
b) Close all orders of the pair the EA is attached to
c) Close all orders, regardless of pair
d) Close active Order(or delete Pending) by MagicNumber
e) Emergency SL for HiddenSL-option
7. Real buttons on the chart, not emulated (fake) buttons.
8. Risk based Lotsize : Distance of Entry to StopLoss defines lot-size
You move the SL-line and see the lot-size in EA comment display.
You can select automatic MM or manual lot-size
9. Option to make screenshot when an order is opened.
Screenshots are stored in experts/files folder in Mt4.
10. Automatic detection of chart background color ( for white and black chart) and adaption of comment and orderlines-colors
11. Option to run the EA independent from ticks
Attention: Because of limitations of Mt4-platform, please read explanations about this option.
Explanation here: www.forexfactory.com/showthread.php?p=5980956#post598095 6
12. OCO feature ( One Cancels the Other )
13. REVERSE feature ( Close active order and open market order in opposite direction )
More explanations will follow.
Update March-15-2013: Version 7.9 uploaded
Version 7.9 : For Market orders the orderlines are taken as they are
Version 7.8 : A few bugs eliminated
Version 7.7 : MarketOrder Button for Pending Order added
EmergencyStopLoss modified
Version 7.6 has improved comments feature
Version 7.5 has Reverse Button
Active Order is closed and market order in opposite direction is opened
Attachment 1132211
In properties menu you choose if you want to confirm the reverse order or not,
default: Confirm_Reverse_Order = true
Version 7.4 has OCO feature
Description here: www.forexfactory.com/showthread.php?p=6410892#post641089 2
since Version 7 there is the automatic MagicNumber option.
What is is ?
Read here for explanation:
www.forexfactory.com/showthread.php?p=6313283#post631328 3
Please use only the latest version
This EA is still in development.
Disclaimer:
The EA must not be used in live-accounts. I take no responsibility for losses or damages. By using this EA, you agree to this disclaimer.
Installation of DLLīs :
mt4gui.dll ----> experts/libraries
mt4gui2.dll ----> C:\Programs\YourMetaTraderplatform (root folder of your Mt4 where you see terminal.exe and MetaEditor.exe etc.)
Please ignore instructions for dll installation in post#2, I am only allowed to edit
post#1 in my thread.
A few hints for those who are not familiar with EAs (which have DLL calls ):
Make sure you have checked the expert advisors options in Mt4 like this:
Attachment 1115210
For Windows 7 and Vista users, please
read this article :
4xtrader.net/how-to-run-metatrader-on-windows-7-or-vista/
It explains why you should install Metatrader outside of the programs folder.
Same rules apply for Windows 8 .
Install your Mt4 on C: drive , not into the default installation folder Program files (86) .
------------------------------------ ------------------------------------ ---------------------
Entering manual comments for getting OrderComments :
a) you can insert a comment manually
b) you can select a comment from a checklist .
Attachment 1137621
This list must be built by yourself in the GlobalVariables of Mt4.
Instructions for creating your own list of order comments:
www.forexfactory.com/showthread.php?p=6452083#post645208 3
------------------------------------ ------------------------------------ ----------------------
It is recommended to use a fake tick sending tool for this EA.
Download this tool and start it:
https://www.fx1.net/wiki/pmwiki.php/MT4Ticker/MT4Ticker
It sends ticks to all Mt4 platforms which are active.
(There are other fake tick sending tools available, if you donīt like to use mt4Ticker, do a
search in ForexFactory and you will find them )
It makes drag & drop of orderlines faster.
If you want to attach the EA to a chart on weekends, when markets are closed,
you definitely need a tick sending tool, otherwise there will be no buttons on the chart.
------------------------------------ ------------------------------------ -------------------------
Sometimes users wonder why the EA doesnīt draw the TP-line and SL-line at the distance they
inserted into
Default_SL_Pips and
Default_TP_Pips .
There is a parameter
Use_Flexible_SL_TP = true (default)
It is there because in M1 or M5 you cannot see the TP and SL lines on the chart if they are too far away
from entry. You have to squeeze the chart.
On higher timeframes , the lines are too close to each other and it is hard to mark them in order to move them further away from each other.
If Use_Flexible_SL_TP = true
is set, the EA places the lines in different distances from the entry for each timeframe.
on M1, Default SL = 5 Pips
on M5, Default SL = 10 Pips
on M15 , Default SL = 15 Pips
you get the idea ?
If you want the EA to place TP and SL at a distance which you define,
then you need to set
Use_Flexible_SL_TP = false
The EA will then use Default_SL_Pips and
Default_TP_Pips regardless of the timeframe you attached the EA to.