Swiss Army EA (Automatic order management) - page 13

 

Repost...Repost...Repost

ElectricSavant:
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
 

Tanks

This EA does not place trades, and never will. It is to be used in conjunction with OTHER EAs or as an assistant for manual traders.[/QUOT

Grazie mille

Romano

 

What am I doing wrong? I have SL set at 30 and a Breakven at 14 but have trades closing -2pips loss, weird ??

Here is my set;

Thanks

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=0

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

MaxLoss_Dollar=0

MaxLoss_Pip=0

MaxLoss_Percent=0

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

CloseOrders=1

HedgeOrders=1

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

SetTakeProfit=0

SetStoploss=1

RemoveTakeProfit=1

RemoveStoploss=1

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

TakeProfit=0

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=14

BreakEvenSlide=1

TrailingStop=0

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

 
duyduy:
Should I attach Swiss Army EA in NEW USD/JPY CHART on TF 15 in order to work?

Any specific time frame is not necessary. For best results, you should put Swiss Army on another instance of the USD-JPY chart.

And i want Close all open positions when Equity is = X% up or down the original balance.

Example: Initial balance = $3.000

Closed trades = $500

Opened positions = -$200

Equity = $3.300

If we had already set the % = 10%, then the EA should close all open trades and the balance & Equity will be $3.300 and we have a fresh start. In this case, the initial balance for the next round should be $3.300.

The same case if the Equity is 10% down the initial balance. I prefer to asume the loss and start again.

What setting should i use?

Attached is the setting file for v1.51

 
matrixebiz:
What am I doing wrong? I have SL set at 30 and a Breakven at 14 but have trades closing -2pips loss, weird ??

It's not that weird:

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

CloseOrders=1

HedgeOrders=1

Set both of these to false, otherwise Swiss Army will attempt to execute them too.

 
ElectricSavant:
Repost...Repost...Repost

To manage trades by the percentage profit column, adjust the MaxProfit_Percent input.

 
ryanklefas:
It's not that weird:
action===== Actions: General ====

CloseOrders=1

HedgeOrders=1
Set both of these to false, otherwise Swiss Army will attempt to execute them too.

Ok, thanks. Got it now

Also, so BreakEvenAt only gets activated once, right? and BreakEvenSlide also once at the same time as BreakEvenAt? or does BreakEvenSlide move like a TrailingStop?

 
ryanklefas:
Any specific time frame is not necessary. For best results, you should put Swiss Army on another instance of the USD-JPY chart. Attached is the setting file for v1.51

Thanks very much, will try it in demo ASAP

 

Close Position(s) when Price hits MA

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

Hello, Sirs

Can the EA close the current position when the price hits a moving average?

Thank you!

 
zhu28ming:
Close Position(s) when Price hits MA

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

Hello, Sirs

Can the EA close the current position when the price hits a moving average?

Thank you!

No, most of the features are based on either price, order, or account statistics. To keep it relatively simple, at no point are indicators checked or considered.

Reason: