Swiss Army EA v1.5 Features
Swiss Army EA v1.5 Features
Swiss Army EA v1.5 Features
#include <stdlib.mqh>
extern int MaxProfit_Dollar=0; // Actions occur if maximum profit (in dollars) is reached
extern int MaxProfit_Pip=0; // Actions occur if maximum profit (in pips) is reached
extern int MaxProfit_Percent=0; // Actions occur if maximum profit (in percentage) is reached
extern int MaxLoss_Dollar=0; // Actions occur if maximum loss (in dollars) is reached
extern int MaxLoss_Pip=0; // Actions occur if maximum loss (in pips) is reached
extern int MaxLoss_Percent=0; // Actions occur if maximum loss (in percentage) is reached
Page 1/18
extern bool RemoveTakeProfit=false; // TakeProfits will be removed from orders
extern bool RemoveStoploss=false; // Stoplosses will be removed from orders
extern bool Allow_All_Types=false; // If true, actions will execute on all order types;
// this will over-ride the following options
extern bool Buy_Active=false; // Actions will execute on active buy orders
extern bool Sell_Active=false; // Actions will execute on active sell orders
extern bool Buy_Stop=false; // Actions will execute on buy stop orders
extern bool Sell_Stop=false; // Actions will execute on sell stop orders
extern bool Buy_Limit=false; // Actions will execute on buy limit orders
extern bool Sell_Limit=false; // Actions will execute on sell limit orders
Page 2/18