please someone here edit this script... this is ilan EA.... it will open trade base on previouse candle.. if previouse candle is bullish, this ea will buy, same goes to sell..
i want it open trade using my system and manage the trade like ilan...
my syste is :
1- open base on SMA (simple moving everage) make it extern, so we can change to test it..
2- open buy when pips value is more than 30pips from the SMA...
3 - open sell when the price goes below the SMA for certain pips...
this the code...
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxx
extern double LotExponent = 1.59;
extern double slip = 3.0;
extern double Lots = 0.01;
extern int lotdecimal = 2;
extern double TakeProfit = 10.0;
extern double Stoploss = 500.0;
extern double TrailStart = 10.0;
extern double TrailStop = 10.0;
extern double PipStep = 30.0;
extern int MaxTrades = 10;
extern bool UseEquityStop = FALSE;
extern double TotalEquityRisk = 20.0;
extern bool UseTrailingStop = FALSE;
extern bool UseTimeOut = FALSE;
extern double MaxTradeOpenHours = 48.0;
i want it open trade using my system and manage the trade like ilan...
my syste is :
1- open base on SMA (simple moving everage) make it extern, so we can change to test it..
2- open buy when pips value is more than 30pips from the SMA...
3 - open sell when the price goes below the SMA for certain pips...
this the code...
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxx
extern double LotExponent = 1.59;
extern double slip = 3.0;
extern double Lots = 0.01;
extern int lotdecimal = 2;
extern double TakeProfit = 10.0;
extern double Stoploss = 500.0;
extern double TrailStart = 10.0;
extern double TrailStop = 10.0;
extern double PipStep = 30.0;
extern int MaxTrades = 10;
extern bool UseEquityStop = FALSE;
extern double TotalEquityRisk = 20.0;
extern bool UseTrailingStop = FALSE;
extern bool UseTimeOut = FALSE;
extern double MaxTradeOpenHours = 48.0;
sharpshooter.......