Lavoro terminato
Specifiche
Hello,
I want an Chang in EA and want a new EA develop.
In existing EA should only Magic numbers which EA should not handle
EA Jorgi does handle orders from other EAs or manual orders in the Terminal.
I want to input magics which orders (magic EA) EA Jorgi should not handel.
NEW EA description
I want an EA which is opening after installation an buy and sell order with (defined lot calculation depends on equity). Lots calculation - for each equity amount of xEuro (50) trade 0.01 lot.
TP and SL can be inputted as pips
Shown in Chart:
Actual traded lots should be shown in the chart.
Last opening of buy and sell order (only when they opened together)
If no order is in Terminal open for xSeconds EA should open again a buy and sell order with the lots calculated by equity.
If one of the buy or sell order is closed - the order should reopen after xpips better direct as pending.
Example:
The buy and sell order is in the market:
Buy with 1.2020
Sell with 1.2021
Buy order is executed with TP
Reactivation is 2 pips better - so pending buy order with limit 1.2020 must be placed when price 1.2017 is reached.
Sell order is just the other way
Parameter:
//double Start_Lot_BUY = 0.1;
extern double Equity_BUY=50; Amount can be changed
extern double LotPerEquity_BUY=0.01; Lot can be changed
extern int Takeprofit = 4;
extern int PlaceTPSec = 10;
extern int CheckTPSec = 120; double Check again if TP is placed
input int Slippage=300;
input long MaxSpread=60;
input double StopLoss=100;
extern bool Pending = true; placing after reactivation a Pending - If false order goes market
extern bool Reactivate = true; If true order will be placed after reactivation to the original opening price as market (when reached the level) or as pending
extern int ReactivationPips = 5;
extern int PendingPlaceTPSec = 10;
extern int PendingCheckTPSec = 120; Check if Pending order is placed
Reopening of boath orders xseconds - If in terminal is no open order for xseconds - EA should place as beginning the buy and sell order market.
input int MagicNrEA=123;
input bool UseComment1=true;
input string Comment1="Comment1";
extern on_off Display_information = On;
extern int Textsize = 10;//---->Textsize
extern string FontName_Info = "Tahoma";//---->FontName_Info
extern color BackGroundColor = clrBlack;//---->BackGroundColor
extern color TextColor = Gold;//---->TextColor
extern int TextXAnchor = 20;//---->TextXAnchor
extern int TextYAnchor = 15;//---->TextYAnchor
extern int TextYFirst = 20;//---->TextYFirst
extern int BackGround_Width = 250;//---->BackGround_Width