Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
Hello experienced EA programmer,
I think "Forex Crocodile" gives nice signals to open and close positions. I found it and installed it from here: http://forexwinners.ru/forex/forex-crocodile-system/
I would like to have an advanced Expert Advisor which can trade "Forex Crocodile". Like in forex-crocodile-EURUSD,M1.png attached.
There are two possibities in my mind:
1. the EA has got features like the attached EA_template.mq4:
Money Management: The
size of your trades is calculated as a percentage of the balance in
your trading account. (see file attached):
extern string moneymanagement="Money Management";
extern double lots=0.1; // lots size
extern bool lotsoptimized=false; // enable risk management
extern double risk=1; // risk in percentage of the account
extern bool martingale=false; // enable the martingale
extern double multiplier=2.0; // multiplier used for the martingale
extern double minlot=0.01; // minimum lot allowed by the expert
extern double maxlot=10; // maximum lot allowed by the expert
extern double lotdigits=2; // 1 for minilot, 2 for microlot
extern bool basketpercent=false; // enable the basket percent
extern double profit=10; // close all orders if a profit of 10 percents has been reached
extern double loss=30; // close all orders if a loss of 30 percents has been reached
extern string ordersmanagement="Order Management";
extern bool oppositeclose=false; // close the orders on an opposite signal
extern bool reversesignals=false; // reverse the signals, long if short, short if long
extern int maxtrades=1; // maximum trades allowed by the traders
extern int tradesperbar=100; // maximum trades per bar allowed by the expert
extern bool hidestop=false; // hide stop loss
extern bool hidetarget=false; // hide take profit
extern double buystop=55; // buy stop loss
extern double buytarget=4; // buy take profit
extern double sellstop=45; // sell stop loss
extern double selltarget=4; // buy take profit
extern double trailingstart=16; // profit in pips required to enable the trailing stop
extern double trailingstop=5; // trailing stop
extern double trailingstep=1; // margin allowed to the market to enable the trailing stop
extern double breakevengain=0; // gain in pips required to enable the break even
extern double breakeven=0; // break even
int expiration=225; // expiration in minutes for pending orders
extern double slippage=2; // maximum difference in pips between signal and order
extern double maxspread=3; // maximum spread allowed by the expert
Stop Loss orders are automatically placed to protect every trade.
Trailing stops are set automatically.
Trading schedule: For each Symbol there should be a posibility to define trading time like: EurChf: 16:00 to 24:00 GMT (One example in the code is enough. I will add all other myself)
2. Take a good advanced EA of your choice (with at leased the features I mentioned in 1.) and let it place my desired orders.
I would like to be able to modify the EA I get from my by myself. I have got programming experiance in 3 Languages but not yet mq4. Please Comment the source code very extensive :-)
Send my your test results with a Metatrader Demo Account.