Forex Factory
  • Demos4x  (logout)

  • 11:50

  • Search
  • Home

  • Forums

  • Trades

  • Calendar

  • News

  • Market

  • Brokers

  • Home

  • Forums

  • Trades

  • Calendar

  • News

  • Market

  • Brokers

Options

Search

Subscribe to Thread

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Go To

First Unread Last Page
First Post Last Post
Search
Search

Similar Threads

Bearish Gold thread / Bubble implode thread 34 replies

How does a Thread Starter ban someone? 3 replies

Longbar/Berche, my new thread...EA Request 21 replies

Extracted Post (per poster's request) 0 replies

More about the last thread 0 replies

  • Recycle Bin
  • /
  • Reply to Thread
  • 128
  • Next
  • 51
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1
  • Page 1 of 64

Extracted Thread (per thread starter's request)

  • Post# 1
  • Cleanup
  • Quote
  • First Post: Jun 30, 2012 8:40 | Edited Mar 15, 2013 11:23 (27 min ago)
fxtr51's Avatar
fxtr51 fxtr51 is online now
Member
Member Since Jan 2010
575 Posts
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.
Attached Files
File Type: zip DLLs.zip (108 KB, 1801 downloads)
File Type: ex4 Trade ManagerEA_fxtr51 V7.9.ex4 (246 KB, 0 downloads)
  • Post# 2
  • Cleanup
  • Quote
  • Jun 30, 2012 8:42
fxtr51's Avatar
fxtr51 fxtr51 is online now
Member
Member Since Jan 2010
575 Posts
Reserved 2 .
  • Post# 3
  • Cleanup
  • Quote
  • Jun 30, 2012 9:12
fxtr51's Avatar
fxtr51 fxtr51 is online now
Member
Member Since Jan 2010
575 Posts
Reserved 3.
  • Post# 4
  • Cleanup
  • Quote
  • Jul 1, 2012 10:11 | Edited at 10:24
fxtr51's Avatar
fxtr51 fxtr51 is online now
Member
Member Since Jan 2010
575 Posts
I donīt understand why I cannot edit posting#2 and #3.
As threadstarter this should be the case.
Strange.

So I am forced to post new comments, not good.
Admin, why isnīt it possible for the thread starter to edit all of his postings ?

------------------------------------ ---------------------------------

Some explanations how to use the EA.

The EA is designed for intuitive use, explanations are not needed if you just play a little with it in strategy tester or in forward test, but it is nice to see screenshots sometimes and thatīs why Iīll do it this way.

1. Drawing Orderlines on the chart.
The Orderlines do not harm you. They must be activated with a button
to get the EA trading by the orderlines.

Attachment 992265

Result of this action:
Orderlines with predefined distances (in input properties menu of EA)
are drawn.
They show distance in Pips from Entry and you can now move them
with drag and drop on the chart.

Attachment 992266

You see 2 buttons and by clicking the appropriate one you either cancel the lines or activate them.

If you activate the lines, they are hidden from your broker but will trigger
when price touches the Entry-line.

This makes it possible to enter inside the STOPLEVEL of your broker.
A normal pending order would be rejected by the broker if placed too near to market price.
With this stealth tool , you are not limited by the STOPLEVEL anymore.

Attachment 992268
  • Post# 5
  • Cleanup
  • Quote
  • Jul 1, 2012 10:31
fxtr51's Avatar
fxtr51 fxtr51 is online now
Member
Member Since Jan 2010
575 Posts
How to insert a comment manually

Attachment 992269

Then

Attachment 992270

Result:
Background of the field is grey
and what you read there is the
text which the EA will use as OrderComment.

Attachment 992271
  • Post# 6
  • Cleanup
  • Quote
  • Jul 1, 2012 10:50
fxtr51's Avatar
fxtr51 fxtr51 is online now
Member
Member Since Jan 2010
575 Posts
Using the predefined list for OrderComments

Click "Y" button.
Expand the drop-down menu to see the list.

You must click on the comment you wish to have.
Otherwise it will not be taken when you click on OK.

If you move the cursor over the list, a comment will appear automatically
in the upper field, but it means nothing (I cannot avoid it because I have no control over the dll which creates the drop-list).

Just play with it and you will know what I mean.
I cannot make screenshots because Snagit disappears when I expand the drop-list and when I then click on Snagit , the droplist closes.

So much text for such a simple drop-down list.
Forget it and just click in your demo account when market is open ( or
on weekend with the help of a fake-tick sending tool ).

Attachment 992277
  • Post# 7
  • Cleanup
  • Quote
  • Jul 2, 2012 9:32 | Edited at 9:46
fxtr51's Avatar
fxtr51 fxtr51 is online now
Member
Member Since Jan 2010
575 Posts
Instructions for Close Order Management

Attachment 992719

It allows 3 actions:

1. Closing a market or pending order from a drop-down list

2. Closing all market and pending orders

3. Closing market and pending orders of the pair (Symbol) where EA is attached to.

Attachment 992720

Remember: You manage an order by itīs MagicNumber.
The MagicNumber must be unique. If you have 2 or more trades with same MagicNumber, this EA is not designed for that.

If you have a trade with a unique MagicNumber, you can close it
with a separate button which shows the TicketNumber of this trade.

Attachment 992726
zoomed in
Attachment 992728
  • Post# 8
  • Cleanup
  • Quote
  • Jul 2, 2012 10:46
taskin
Commercial Member
Member Since Nov 2007
14 Posts
This EA seems not to tolerate our Copyright. You are not allowed to use mt4gui without permission of Fx1 Inc (fx1.net). We dont recommend you to make this product Commercial or Release. Mt4Gui is property of Fx1 Inc, USA
  • Post# 9
  • Cleanup
  • Quote
  • Jul 2, 2012 10:50
wadera
Member
Member Since May 2012
19 Posts
Nice job. downloading it to test.will inform soon.
thanks
  • Post# 10
  • Cleanup
  • Quote
  • Jul 2, 2012 10:57 | Edited at 11:14
fxtr51's Avatar
fxtr51 fxtr51 is online now
Member
Member Since Jan 2010
575 Posts
Posted by taskin
This EA seems not to tolerate our Copyright. You are not allowed to use mt4gui without permission of Fx1 Inc (fx1.net). We dont recommend you to make this product Commercial or Release. Mt4Gui is property of Fx1 Inc, USA
Post hidden because taskin is on your ignore list.
taskin,
I donīt understand.
You have sold the professional product and you have stopped supporting the free product which I am using.
It cannot be downloaded from your website, I found the package somewhere else where it is shared for free.
We dont maintain MT4GUI anymore. We have sold all rights to another company and not allowed to maintain this product anymore. Fx1 has many other tools for forex developers you may check
https://www.fx1.net/wiki/pmwiki.php/MT4GUI/MT4GUI

If I sell all rights to somebody else and am not allowed to maintain my product anymore, how can I claim a copyright on it ?

You write nothing at all on your website about copyright of the free version which I use, but from reading on your website, one has to conclude that you have sold all rights.

Maybe you should correct the website to clarify that you think you still are owner of the free product ?

Why do you tell me it is not allowed to use a free tool which you offered for free in mql.forum and elsewhere ?

Is it a misunderstanding ?
Please clarify.

I am sharing my EA . It is not commercial anyways.

I would be interested to hear from you.
  • Post# 11
  • Cleanup
  • Quote
  • Jul 2, 2012 12:29
fxpunk2011
Infractions Overload
Member Since May 2011
62 Posts
HI fxtr51 can you make me trailing stop EA pls but the trailing will start from TP toward the current price , what i mean is supposed I buy Eurusd 1.3200 My TP is 1.3250 and my trailing TP is 5 pips , lets say the price went against me it goes down to 1.3195 i want the EA
to move the TP 1.3250 to 1.3200 , when the price goes down again lets say 1.3190 I want the EA again to move the Tp 1.3200 to 1.3195

EA BUY EURUSD @

thisprice 1.3200 .-----> PRICE 1.3200 -----> TP 1.3250 SL1.3100 (SL remain the same)


this price 1.3200 ----->PRICE 1.3195 ----->TP 1.3200 SL1.3100 (SL remain the same)



this price 1.3200 -----> PRICE 1.3190 ----->TP 1.3195 SL1.3100 (SL remain the same)



Note : (TP change when price change)


i i hope you got my idea , thnx
  • Post# 12
  • Cleanup
  • Quote
  • Jul 2, 2012 12:39
fxtr51's Avatar
fxtr51 fxtr51 is online now
Member
Member Since Jan 2010
575 Posts
Posted by fxpunk2011
i i hope you got my idea , thnx
Post hidden because fxpunk2011 is on your ignore list.
Never thought about such a concept of trailing the TP below entry(for Long trade) to get a loss when TP is hit.

So you want 2 things done:

1. Define the TP_Pips_for_TPtrailing
2. Define the trigger like Start_TPtrailing_at_Pips_in Loss

Correct ?
  • Post# 13
  • Cleanup
  • Quote
  • Jul 2, 2012 17:11
dikdikdik
Member
Member Since Apr 2012
16 Posts
Hi fxtr51,

Thank very much your sharing, but I can not run this EA. It has many error like:

Code:
22:59:08 Stealth_TradeManager_fxtr51_V1.1 EURUSD,M15: function 'tbGetText' call from dll 'mt4gui.dll' critical error c0000005 at 00000000.
22:59:08 Stealth_TradeManager_fxtr51_V1.1 EURUSD,M15: function 'tbIsClicked' call from dll 'mt4gui.dll' critical error c0000005 at 00000000.
22:59:08 Stealth_TradeManager_fxtr51_V1.1 EURUSD,M15: function 'tbIsClicked' call from dll 'mt4gui.dll' critical error c0000005 at 00000000.
22:59:08 Stealth_TradeManager_fxtr51_V1.1 EURUSD,M15: function 'tbIsClicked' call from dll 'mt4gui.dll' critical error c0000005 at 00000000.
22:59:08 Stealth_TradeManager_fxtr51_V1.1 EURUSD,M15: function 'tbIsClicked' call from dll 'mt4gui.dll' critical error c0000005 at 00000000.
22:59:08 Stealth_TradeManager_fxtr51_V1.1 EURUSD,M15: function 'tbIsClicked' call from dll 'mt4gui.dll' critical error c0000005 at 00000000.
22:59:08 Stealth_TradeManager_fxtr51_V1.1 EURUSD,M15: function 'tbIsClicked' call from dll 'mt4gui.dll' critical error c0000005 at 00000000.
I'm using win7 64bit. Seem the problem is from mt4gui.dll??? Please take a look at this issue.
  • Post# 14
  • Cleanup
  • Quote
  • Jul 2, 2012 18:03
fxtr51's Avatar
fxtr51 fxtr51 is online now
Member
Member Since Jan 2010
575 Posts
Posted by dikdikdik
Hi fxtr51,

Thank very much your sharing, but I can not run this EA. It has many error like:
Post hidden because dikdikdik is on your ignore list.
It looks like you havenīt installed the 2 dll files.

DLL installation
Mt4 has no real buttons available, thus we need a dll to use Windows real buttons.
The zip-file contains a folder "C WINDOWS system32 folder" where you find
2 DLL files which must be copied into C:\WINDOWS\system32
Have you done this ?

If yes, then I have no idea why it shouldnīt work. Could be your 64bit system.
The dlls work with the Windows API under 32 bit.
If your 64 bit OS is the cause, then you can throw away my EA and the 2 dll.
It will never work on your PC and I can do nothing about it.
I have no idea how Windows works or PCs in general, therefore I cannot help you.

It works on my XP Professional PC , 32 bit. That is all I know.
  • Post# 15
  • Cleanup
  • Quote
  • Jul 3, 2012 1:53
dikdikdik
Member
Member Since Apr 2012
16 Posts
Of course, I copied 2 dll files to system32 folder.

It is unlucky with my computer. Will try to search some work around for 2 dll files. Maybe it will have source code somewhere and then I can recompile it on my machine... Anyway, thank your work very much.
Members must have at least
0 vouchers to post
in this thread. (learn more)
Bookmark Thread
First Page
First Unread
Last Page
Last Post
Thread Tools
Show Printable Version Show Printable Version
Email This Thread Email This Thread
Subscription Subscribe to This Thread
Search this Thread

  • Recycle Bin
  • /
  • Reply to Thread
  • 128
  • Next
  • 51
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1
  • Page 1 of 64
Extracted Thread (per thread starter's request)
3 traders viewing now, 2 are members: Demos4x, mirgi

Đ2013 Forex Factory, Inc. / Terms of Use / Privacy Policy

Forex FactoryŪ is a registered trademark.

Connect

  • Facebook
  • Twitter
  • RSS

Company

  • About FF
  • FF Blog
  • Careers at FF
  • Advertising
  • Contact FF

Products

  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer

Website

  • Homepage
  • Search
  • User Guide
  • Member List
  • Online Now
  • Report a Bug