Swiss Army EA (Automatic order management) - page 41

 
ivanyong:
I'm using FxPro that quote at 5 decimal 0.1234x. / 0.123x / 0.12 / 0.1234 four type of pricing. If i place SL 200, the 2 / 4 decimal is ok but the 3 / 5 will be act as 20 only. How to solve this problem? Thanks.

use this code:

double dXPoint=1;

//+------------------------------------------------------------------+

//| expert initialization function |

//+------------------------------------------------------------------+

int init()

{

if (Digits==3||Digits==5)

{

dXPoint=10;

}

if (Digits==3||Digits==5)

{

dXPoint=10;

int SLIPPAGE=SLIPPAGE*dXPoint;

}

return(0);

}
 

Improved new version for Swiss Army under work

Thanks for the author for this nice code! Although this trade manager has a lot of features, in my opinion some key features were missing, like:

- 5 digit broker option

- trailing stop step (trail updated on set increments, not on every tick)

- trailing stop start level (starts trailing only when set profit reached)

- ability to use TP and trailing stop same time and update both values

...

- also some parameters in the code are not working

I am adding to it all of the above and also a feature to opt for exit on selected indicator trigger (Pivots, RSI, Stochs, BB-MACD...). No MQ4 was provided by author, so had to decompile and rename variables, so new version will take some time.

Let me know if anyone is interested on this one, I will not post here as this version is not yet finished and not approved by the original programmer.

 

I have a scalping system that works really well but I can not seem to lock in the profits that i have made. Could anyone help me with the right Trailing stop and break even setting?

My scalping EA made a eurusd BUY at 0.90256, The price move to 0.90304

What will be the right settings to lock in the profits? i should get around 0.50 profit but I only get around 0.01 - 0.03 profits from the settings using 0.01 lotsize.

At the moment I have

trailing stop of 3

break even at 2

brake even slide 1

stop lost 1

takeprofit 5

any help I would be grateful.

 

Swiss Army under work

BigSlick:
Thanks for the author for this nice code! Although this trade manager has a lot of features, in my opinion some key features were missing, like:

- 5 digit broker option

- trailing stop step (trail updated on set increments, not on every tick)

- trailing stop start level (starts trailing only when set profit reached)

- ability to use TP and trailing stop same time and update both values

...

- also some parameters in the code are not working

I am adding to it all of the above and also a feature to opt for exit on selected indicator trigger (Pivots, RSI, Stochs, BB-MACD...). No MQ4 was provided by author, so had to decompile and rename variables, so new version will take some time.

Let me know if anyone is interested on this one, I will not post here as this version is not yet finished and not approved by the original programmer.

Hi Bigslick,

I've PM'd you on this.

Cheers

 

Help Require

Hello its my 1st post.

and i really like this EA.. I decided to use it on my live account with n other commercial EA.

every thing is mention here but i want to clear my self because im going to use it on my live account ..

so my question is..

when my commercial EA. open any order.

swiss army ea have to set tp and sl at the entry position just thats it..

so to get this setting what do i have to change ..in swiss army

please write in detail as its going to implemented on my live account.

also if there is any diff between any 4 or 5 digit broker ?

rite now im going to use swiss army ea on 4 digit broker

Thankyou..

 

Magic Number

Hi. This is my 1st post.

I am using Swiss Army - Wonderful.

My problem, Magic number doesn't work.

Don,t you need some kind of Script to attach it to the Order?

I have no such Script.

Is this right? And if so, Where do I get this Script?

Thanks - anyone?

 

Do you have the MagicNum_Specific parameter set to true?

If not, set it to true - it should work

charts08:
Hi. This is my 1st post.

I am using Swiss Army - Wonderful.

My problem, Magic number doesn't work.

Don,t you need some kind of Script to attach it to the Order?

I have no such Script.

Is this right? And if so, Where do I get this Script?

Thanks - anyone?
 

Hi Mladen.

Yes, that is on. The EA says it is managing the orders with the Magic Number XXX.

The problem is, the Order doesn't pick up, or get this number.

I read where you have to have a Script running that does this.

I can't find anywhere where I can find out about this script?

Any thoughts?

 

need modification of ea

Hello, I would like to ask if any of MQL gurus would be able to make a slight modification to this EA? This is great EA for managing manual trades, but I would like an additional feature to be implemented.

Instead of the second stop loss move there should be a trailing stop based on previous price bars. Field can be called "Number of trail bars" which can be from 1 to n . In case of buy position hitting second stop target and number of bars set to 4, trailing stop would move to the lowest price (including wicks) of 4th bar and EA would keep moving SL to the 4th bar after every new bar is formed.

Could someone help with that? Please?

Files:
 

Excellent, excellent tool!

One question though: Is it possible for the EA to NOT control one specific order?

I only trade e/u and I let it control all my orders. The only thing is, I don't want the breakeven to follow one specific trade.

Appreciate any and all responses. Thanks.

Reason: