İş tamamlandı
Şartname
Please read carefully before bid: I need to make ea with my strategies below:
Expert Advisor Development Instruaction:
Strategies :
1.- Multiply the Opening price of previous 1 bar by 1.0** . Value will be named B-point(for buy Signal) .
2. - Divide the Opening price of previous 1 bar by 1.0**. Value will be named S-point (for Sell Signal )
Example EUR/USD Opening price on previous 1 bar = 1.30 . Ie 1.30x1.0**= B-point. 1.30/1.0**= S-point .
3. Buy Rule : Buy if Opening 0 bar>B-point ( Maximum Difference in pips from B-point to entry = (variable) use 6pips on default and 0 for unlimited) .
4. Close Buy if Opening 0 bar < S-point .
5. Sell Rule : Sell if Opening 0 bar <S-point (Maximum Difference in pips from S-point to entry = (variable) use 6pips on default and 0 for unlimited)
6. Close Sell if Opening 0 bar > B-point .
Use Stop Loss Take Profit, =Variable.
Work on Instant and Market Executions
Automatic 4-5 digits quote conversion
Work on All pairs and Time Frames
Option for fixed lot sizes and option to use money management =example use this code for automatci loting option for money management: Code=
extern int MagicNumber=10001;
extern double Lots =0.1;
extern double LotsPercent =0.01;
extern double StopLoss=250;
extern double TakeProfit=500;
extern int TrailingStop=0;
extern int Slippage=3;
//+------------------------------------------------------------------+
// expert start function
//+------------------------------------------------------------------+
int start()
{
double LotSize = Lots;
if(LotsPercent>0)LotSize = LotsPercent*0.01*AccountBalance();
double MinLot = MarketInfo(Symbol(),MODE_MINLOT);
double MaxLot = MarketInfo(Symbol(),MODE_MAXLOT);
double StopLevel = MarketInfo(Symbol(),MODE_STOPLEVEL)*Point;
double FreezeLevel = MarketInfo(Symbol(),MODE_FREEZELEVEL)*Point;
double MaxLevel = MathMax(StopLevel, FreezeLevel);
LotSize=MathMax(LotSize,MinLot);
LotSize=MathMin(LotSize,MaxLot);
int normKoef = 3;
if(MinLot>=0.01)normKoef=2;
if(MinLot>=0.10)normKoef=1;
int k=1;
if(Digits==3 || Digits==5)k=10;
double TheStopLoss=0;
double TheTakeProfit=0;
if( TotalOrdersCount()==0 )