The EA mods Hi! I have a basic skeleton of a grid EA.I am playing with it in the sense of testing different triggers in the basic code. What it does is as usually a grid does,it opens a first order based on a trigger conditions and if the market goes against, it opens further orders(incremental or multiplying the startlot) at a defined pips distance and if there are trigger conditions met trying to recover the position. It has an exit trigger for whole basket of trades that close all orders of the basket even on loss. Also it has an trailing option that trails every order.So, right now the conditions for opening new order are: 1.trigger-based on indicators, 2.distance in pips from first order or previous order-of course beginning from second order 3.a minimum amount of time since the first or previous order was opened. //First order of one basket is opened based on trigger;for further orders,all 3 conditions must be met:trigger/distance/time Because I am an novice coder,being able only to slightly modify the code here and there and to insert new trigger conditions into the code I have some problems with the actual testing stage: 1.I have the entry and exit conditions for buy& sell but I am not able to code them in a single EA because they interfere,so actually it is written in the form of one EA for longs,one for shorts :-).If you will put one of them in BT and you will try to BTest, setting to test both long and short you will see what I mean.So one of the request is to rebuild the triggers in only one EA that will play both Long&Short. 2a.Also what I want to be included is a inhibition(a new condition) on opening new baskets if there are already "x"-(variable) opened baskets on the same currency of one pair(So for example if "x" is set to 2 and we have already opened baskets on EURUSD and EURCAD no further baskets on EURXXX will be opened even if the conditions are met ;This is planned to be played on multiple pairs combining these currencies: "AUD","GBP","JPY","USD","CAD","EUR","CHF","NZD") //Basically,before opening new first order of a basket in a pair of currencies it will have to check if those currencies are not already traded for more than "x"times 2b.Or if its not to heavy to be made,not trade a currency in the same direction for more than X times,meaning If EURUSD and EURCAD are in trade both on shorts no more EURXXX shorts baskets will be opened, 3.In the code is a trailing option that trails every order with the pips entered in externals: if set to 20 it trails from 20 to 20 so on. It is ok but what I don't like at it is that if the price returns from 20 pips after trailing is activated,sometimes close on 0 or slightly -; here I want to close before 0 with say 5 pips.Basically I want to set the starting point of trailing and the amount of pips to be trailed separately, basically to have in externals both variables the point of start trailing and the amount of pips to be trailed(example start trailing at 20 pips and trailing with 15 pips,this way closing at minimum 5 pips gain) 4.Correct some order send errors that appear in backtest 5.Add maxspread,maxslippage conditions in externals I want a quote for these mods,after that we will discuss further and I will provide the code. Thanks! masterPlan