Swiss Army EA (Automatic order management) - page 11

 

question

Hi,

I just want the EA to : move s/l to BE when up +10 pips. What settings do I need to change or place for this to happen? I have tried already, but I still have not figured it out.

 
jtre:
Hi, I just want the EA to : move s/l to BE when up +10 pips. What settings do I need to change or place for this to happen? I have tried already, but I still have not figured it out.

Set "BreakevenAt" to 10.

 

thanks,

It's already began to work.

 

Delete Specific Pending Order?

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

HI

Do you know how to code this. I have 4 pending orders

BUYSTOP EUR

BUYLIMIT EUR

BUYSTOP CFH

BUYLIMIT CFH

If either side of each pair gets triggered first, delete that other specific pending order only not all together

example

BUYSTOP EUR gets triggered, DELETE the BUYLIMIT only, but keep the others still pending until triggered

COuld someone post code for this

 

Thanks

Ryan,

Just wanted to say thanks for the great EA.

I know it's a lot of effort on your part and it's appreciated.

 

ryanklefas, how can I monitor profit on 2 trades? I have 2 trades open manually, and want to monitor the profit on just those two trades. The are two different currencies and donot have magic number. Any suggestions?

I cannot use MaxProfit_Dollar becaus ethen it monitors all trades, including ones that I donot want the EA to monitor. Unless I can somehow setup the MaxProfit_Dollar to be based on the 2 trades.

 
KillerKhan:
ryanklefas, how can I monitor profit on 2 trades? I have 2 trades open manually, and want to monitor the profit on just those two trades. The are two different currencies and donot have magic number. Any suggestions? I cannot use MaxProfit_Dollar becaus ethen it monitors all trades, including ones that I donot want the EA to monitor. Unless I can somehow setup the MaxProfit_Dollar to be based on the 2 trades.

Unfortunately, if you have other trades open that you don't want to monitor, then the latest version of Swiss Army can't help you, otherwise you'd be able to set it to monitor all trades in the terminal.

 

This EA seems to be able to do everything.

Here is what I want to use it for...

Say I have a basket of four instruments/charts trading my favorite EA. Can I open a fifth unique instrument/chart just to put Swiss Army on and manage the profit column? (which is reflecting the condition of my basket) and "close all" in my specified PERCENT of my balance?....and if my balance changes during the trip Swiss Army will recalculate until it executes and brings everything flat.

Can someone post the set file? Please?...I would be very greatful.

ES

 

hi

ryanklefas:
What it is:

Below, you'll find my Swiss Army EA. I've designed it so that it can manage orders in your MT4 terminal using a large variety of methods. Features includes breakevens, trailing stops, setting/removing for takeprofits and stoplosses, and many close-out conditions; you also have ability to tell the EA which orders it can manage. This EA is an attempt to do away with little scripts for deleting orders and whatnot and just put ALL that crap in one nice package. I figure this EA should be useful for manual traders, and may also to augment EAs that are skimpy on their features, although I cannot guarantee that it will be fully compatible with all EAs.

How to use it:

Apply it to a chart. The orders that it is allowed to manage can be changed by changing the "Specific" options. It will perform trailing stops, breakevens, or closing of orders (as specified by user) for whatever orders it is allowed to manage (also specified by user). For example, if Swiss Army EA is allowed to manage all orders and you enable the trailing stops to 30, it will apply a trailing stop of 30 to all orders in your terminal. The EA will print to the screen what it is allowed to do, so that should help you along in figuring out what it is doing. Each instance of Swiss Army can only hold a certain number of settings without causing conflict within itself. If you require many different management features to be enabled, you may have to run another instance of Swiss Army to do everything that you want. Remember: You need one CONDITION, one ACTION, and one ORDER TYPE, at least.

What I need from you, the user:

If you want to use the EA, but don't know how to get it to what you want, post and ask me about it. I'll be able to provide you with a list of settings to use if the EA currently supports it. Please leave feedback and tell me what kind of management options you'd like to see in future versions; feel free to post any scripts, code, or functions that you believe would be useful.

SWISS ARMY EA:

It does everything but place its own orders!

* * * * * * * * * * * * * * * * * * * * * * * * * * * *

New Features for Version 1.51 (June 26, 2007):IMPROVED: The actions that appear under ths "Modify Orders" section can now modify pending orders

IMPROVED: TakeProfits and Stoplosses, when set, will be applied to any hedge orders that are opened by Swiss Army

CHANGED: TakeProfits and Stoplosses, when set, will be in relation to the order's open price, NOT the current price (as in v1.5)

NEW FEATURE: RequireAllConditions when selected, will require that all selected conditions be met before actions will occur. For example, if a drawdown of 1% and Time_Activation at 12:30 are selected, actions will occur if at 12:30, if there is a drawdown of 1% or more.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

KNOWN BUGS for v1.51:

"Largest Recorded" statistics are not calculated.

Actions not fully executing for some conditions (due to time lag)

WISH LIST (whenever I get around to them):

Day of Week selectable for Time_Activation

Specific Orders selectable as an "Order Type"

Margin Statistics on screen

just open this thread and find useful swiss army EA ..thanks...maybe you have jack the ripper EA ? just kiddin

===================

Forex Indicators Collection

 

Will this EA close orders at a certian loss

I set the close at loss at 4. and set the ea to monitor all trades. It never closed any of the orders after they reached -4.https://www.mql5.com/en/forum

Reason: