Swiss Army EA (Automatic order management) - page 26

 

I want to set SL for both position eg. SL=20 pips , i have EURJPY -25 pips , USDCHF +5 pips and now i need this EA closing these 2 position... can this EA close both position at this (20) level of SL ?

When i set SL This EA close me only one position ;/

 

HELP ! can not enter the input screen

Hi

May be someone can help me .

I am frustrated that I can not use this script . I am a beginner ...

I drag the script to the chart ...

I press the right click on the script icon

But nothing happened ...

I see :

execute on chart

modify ... etc

How do I activate the script ?

How van I enter the input screen ?

The expert advisor is activated and the colour is green .

If I double click the scipt icon , the I see for a fraction of the second , some information in the left upper corner

Thank you

David

 

What Time Frame do you trade

Texantx:
@ ryanklefas;

Thanks A Lot for this useful EA.

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

@ztdep;

You can check my simple setting the below screen shots, It works with no problem .I hope it can help to resolve your problem :

Thanks a lot for the ea settings given. my question is 1. "what timeframe do you use the settings on" 2. when i used your settings, i got my tradings closed immediately i enter the trade, what am doing wrong?" please advise me.

 
ranuhook:
Thanks a lot for the ea settings given. my question is 1. "what timeframe do you use the settings on" 2. when i used your settings, i got my tradings closed immediately i enter the trade, what am doing wrong?" please advise me.

1-TF does not matter. EA works with all time frame.

2-Weird. If you write down or add your whole settings screen shots. I can try to figure out what's wrong.

Take Care.

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

just for info I am not using break even at/ slide.(0)

I'm using Simple Trailing stop (6-7) with only for profit.

 

Here is my Seetings

Texantx:
1-TF does not matter. EA works with all time frame.

2-Weird. If you write down or add your whole settings screen shots. I can try to figure out what's wrong.

Take Care.

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

just for info I am not using break even at/ slide.(0)

I'm using Simple Trailing stop (6-7) with only for profit.

Thank you so much for your reply, below is my settings please advise.

*******

id===== Identity Settings ====

Symbol_Specific=0

MagicNum_Specific=0

MagicNumber=9999

SelectiveScan=0

RequireAllConditions=0

cond===== Conditions: General ====

Immediate_Activation=1

Time_Activation=0

Time_Hour=23

Time_Minute=55

Minimum_FreeMargin=0

FreeMargin_LessThan=0

pro_cond===== Conditions: Profit-Based ====

MaxProfit_Dollar=0

MaxProfit_Pip=0

MaxProfit_Percent=25

loss_cond===== Conditions: Loss-Based ====

MaxLoss_Dollar=0

MaxLoss_Pip=0

MaxLoss_Percent=8

action===== Actions: General ====

CloseOrders=1

HedgeOrders=0

mod_action===== Actions: Modify Orders ====

SetTakeProfit=1

SetStoploss=1

RemoveTakeProfit=0

RemoveStoploss=0

input_action===== Action Inputs ====

TakeProfit=100

Stoploss=30

otype===== Order Types: Standard ====

Allow_All_Types=1

Buy_Active=0

Sell_Active=0

Buy_Stop=0

Sell_Stop=0

Buy_Limit=0

Sell_Limit=0

manage===== Stop Management ====

BreakEvenAt=15

BreakEvenSlide=10

TrailingStop=10

OnlyTrailProfits=1

extra===== Extra Settings ====

ExpertName=Swiss Army EA

Disable_Comments=0

Slippage=3

sep==============================

author=Programming: Ryan Klefas

contact=Email: rklefas@inbox.com

web=Website: Forex TSD| Metatrader Indicators and Experts Advisors

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

I get it working with this new setting, but it did not write the tp on the terminal as expected. that is writing the value of my set tp.

here are the new settings

id===== Identity Settings ====

Symbol_Specific=0

MagicNum_Specific=0

MagicNumber=9999

SelectiveScan=0

RequireAllConditions=1

cond===== Conditions: General ====

Immediate_Activation=1

Time_Activation=0

Time_Hour=23

Time_Minute=55

Minimum_FreeMargin=0

FreeMargin_LessThan=0

pro_cond===== Conditions: Profit-Based ====

MaxProfit_Dollar=0

MaxProfit_Pip=0

MaxProfit_Percent=25

loss_cond===== Conditions: Loss-Based ====

MaxLoss_Dollar=0

MaxLoss_Pip=0

MaxLoss_Percent=8

action===== Actions: General ====

CloseOrders=1

HedgeOrders=0

mod_action===== Actions: Modify Orders ====

SetTakeProfit=1

SetStoploss=0

RemoveTakeProfit=0

RemoveStoploss=0

input_action===== Action Inputs ====

TakeProfit=8

Stoploss=0

otype===== Order Types: Standard ====

Allow_All_Types=1

Buy_Active=0

Sell_Active=0

Buy_Stop=0

Sell_Stop=0

Buy_Limit=0

Sell_Limit=0

manage===== Stop Management ====

BreakEvenAt=0

BreakEvenSlide=0

TrailingStop=5

OnlyTrailProfits=1

extra===== Extra Settings ====

ExpertName=Swiss Army EA

Disable_Comments=0

Slippage=3

sep==============================

author=Programming: Ryan Klefas

contact=Email: rklefas@inbox.com

web=Website: www.forex-tsd.com

 

Hello @ranuhook ;

I've checked it .

Some of them are different than my settings:

"CloseOrders","Symbol_Specific","MaxProfit_Percent","MaxLoss_Percent"

(your choice, but I believe that good to have the stop loss just in case. Especially news time it can move to the other way very sharply )

I think "CloseOrders=1" was costing problem.

Here my setting working with no problem; try with demo first and you can find best setting for you :

id===== Identity Settings ====

Symbol_Specific=1

MagicNum_Specific=0

MagicNumber=9999

SelectiveScan=0

RequireAllConditions=0

cond===== Conditions: General ====

Immediate_Activation=1

Time_Activation=0

Time_Hour=23

Time_Minute=55

Minimum_FreeMargin=0

FreeMargin_LessThan=0

pro_cond===== Conditions: Profit-Based ====

MaxProfit_Dollar=0

MaxProfit_Pip=0

MaxProfit_Percent=0

loss_cond===== Conditions: Loss-Based ====

MaxLoss_Dollar=0

MaxLoss_Pip=0

MaxLoss_Percent=0

action===== Actions: General ====

CloseOrders=0

HedgeOrders=0

mod_action===== Actions: Modify Orders ====

SetTakeProfit=1

SetStoploss=1

RemoveTakeProfit=0

RemoveStoploss=0

input_action===== Action Inputs ====

TakeProfit=50

Stoploss=30

otype===== Order Types: Standard ====

Allow_All_Types=1

Buy_Active=0

Sell_Active=0

Buy_Stop=0

Sell_Stop=0

Buy_Limit=0

Sell_Limit=0

manage===== Stop Management ====

BreakEvenAt=0

BreakEvenSlide=0

TrailingStop=7

OnlyTrailProfits=1

extra===== Extra Settings ====

ExpertName=Swiss Army EA

Disable_Comments=0

Slippage=3

sep==============================

author=Programming: Ryan Klefas

contact=Email: rklefas@inbox.com

web=Website: Forex TSD| Metatrader Indicators and Experts Advisors
 

Make Swiss Army a real Manage Take Profit.

@Ryan,

Thump up for you on this great EA.

Today after my last post up, i decided to critically look into your ea, i like the way it operates, far better than others i have seen out there.

Now here is my suggestion:

While testing your ea, i appears to me that the trail stop features does not work ( i monitor the journal log). But the BreakEvenAt works.

Now the Juicy part is the BreakEvenSlide also works, and works better.

Hence, I suggest that you incorporate into the Ea a way whereby, the BESlide becomes dynamic and start Locking profit at Xvalue set into the Ea.

Scenario:

I open a trade U/J and discovered that when price was 45pips in profit, SL was just 1pip above entry price, so I manually tweak the EA and set the Slide to 10 from 1 that i set it to previously, to my surprise, the SL move 10pip meaning it lock in 10pips of the 45pips profit, instead of 1pip as before. then the price came down to 25pips, again i tweak the BESlide to 20, and the SL lock in 20pips profits, then i signal got me out of trade. Note that I set my Trail Stop to 5, then move it to 7, but nothing happen and nothing shows up in the journal that the price movement was being trailed.

So I suggest that you allow the EA Lock in Pips profit by moving BESlide in increament of setting. If 5, 10, 20, then keep lock 5pips, 10pip, 20pip of profits. (it either locks it as profit, or close it as profit and reset SL and TP until it locks another profit according the the BESlide setting)

WITH This set into the EA, my call in post #258 above will be completely taken care of, as the EA will now act as a complete trade assistant, doing everything from executing orders to managing profit taking.

I know it can be done. let us see how this goes.

 

Thanks

@Texantx,

thanks for the prompt response to my problem, i will test the settings and get back to you. my regards

@

Just an afterthought....

Hello Great Minds in the forum,

Sincere Greetings to the originator, maker, and contributors to the two great EAs MTP and Swiss Army.

I am looking at a scenario, and will need help concerning my use and combination of SwissArmy Ea and Manage Take Profit Ea.

I want the MTP1.7/2.4 to attach to each pair that i trade, and SwissArmy1.51 to control the terminal in with I trade.

This is what i mean.

Say I trade E/U, G/U and U/J markets,

I attach MTP1.7 or 2.4 to each chart. (I want to know the best settings for this someone) THEN

I open a chart i will not trade and attach SwissArmy Ea to handle all trading in the terminal.

So when I enter trade,

1. Swiss Army will write the MT4 terminal with my TP and SL.

2. Then MTP will take over by managing the trade to take the profit up to the maximum available.

MY Question Now is;

1. Will MTP work when TP and SL values are written and shown on MT4 station. If yes. WHAT will the SETTINGS be?

2. IF NO, how can I go about it?

3. Will I need to use magic number in this setup, If Yes How?

Thanking you for your anticipated support.

Tasty

@Texantx,

The settings work and this led to my new post below. Thanks a lot.

 

How to set-up a Hedged position

Hello

Just been reading this thread about this monster EA.

I have downladed it and have it running.

Just a quick question or 2.

I would like to use the Hedge option but I am not too sure of it's full

potential.

How can I set it to hedge a position

1. To stay open until the trade comes back and closes the HEDGED side.

2. To set the HEDGED side of the trade to take a profit and close and

not to re-open another HEDGED position

Thanks

Great EA

Roddo

 

Script to check demo/real before running an EA

Hi,

How do I go about checking for whether the account is demo or real and based on this, to execute a different EA.

I am a newbie in this and would appreciate good pointers. Do I just write a script to check and then activate the appropriate EA.

Thanks for helping.

Reason: