My First Experts

 

my first expert.

i am using rsi(14) and macd in EurUsd M1 period.

my platform name is Interbank Fx

mt test date 1999.01.01 - 2008.09.06

first balance is 10.000 last balance is 42 900 000 USd.

i have a litle english

Files:
strategytester.rar  1820 kb
 
Mehmet:

my first expert.

i am using rsi(14) and macd in EurUsd M1 period.

my platform name is Interbank Fx

mt test date 1999.01.01 - 2008.09.06

first balance is 10.000 last balance is 42 900 000 USd.

i have a litle english


 
Mehmet wrote >>

Scalping expert on M1?

Look at your modelling quality : 25%. For sure just launch your EA live and you'll loose you capital.

Dam.

 
no code to share?
 
doshur:
no code to share?

NEXT 5 DAYS

 
today is the day, but still no source available
 
solomun:
today is the day, but still no source available

the expert is very sample.

indicators is buy you sell ..

//+------------------------------------------------------------------+
//|                                                  Bastem_Macd.mq4 |
//|                           Copyright © 2008, Haskaya Yazılım A.Ş. |
//|                                         http://www.Bastem.Com.Tr |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2008, Haskaya Yazılım A.Ş."
#property link      "http://www.Bastem.Com.Tr"
 
extern double Lots = 0.01; // First Lots
extern double Lotsinc = 0.01; // Lots++
extern double   BstTake =10; // TakeProfit
extern double   BstStop=25; //  Stoplost
int      barCount;   // Candlest Count
double   Hort3; 
int      ticket; 
double   rsi14,macd1,macd2,macd3;
double  Maxlots;
//+------------------------------------------------------------------+
 
 
 
 
 
int init()
{
      Maxlots=MarketInfo(Symbol(),MODE_MAXLOT);
      barCount = Bars;
      return(0);
}
 
 
int start()
{
if (AccountFreeMargin()<1500 ) return;
  int totalOrder = OrdersTotal();
   if (barCount == Bars && Bars < 120)  // new Candlestick
      return;
   
   barCount = Bars;       //cubuk sayisini update edelim...
   
      if (totalOrder>0) return;
   rsi14 =iRSI(NULL,0,14,PRICE_CLOSE,0);
  Hort3 = iMA(NULL, 0, 3, 0, MODE_SMA, PRICE_CLOSE, 0);
  macd1=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0);
  macd2=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0);
  macd3=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0);
  if ((macd1>0) && (macd2>0) && (macd3>0) && (Ask>Hort3) && (rsi14>55))
   {
//      ticket=OrderSend(Symbol(), OP_BUY, Lots,Ask,  3, Ask-BstStop*Point, Ask+BstTake*Point, "HaskayaFxBuy", 0, 0, Blue);
      OrderSend(Symbol(), OP_SELL, Lots,Bid,  3, Bid+BstStop*Point,Bid-BstTake*Point,  "HaskayaFxSell", 0, 0, Red);
      // Bunu Ben ekledim...
  // ticket=OrderSend(Symbol(), OP_BUY, Lots,Ask,  3, Ask-BstStop*Point, Ask+BstTake*Point, "HaskayaFxBuy", 0, 0, Blue);
      
      //
      Lots=Lots+Lotsinc;
      if (Lots>Maxlots) Lots=Maxlots;
//      ticket=OrderSend(Symbol(), OP_BUY, Lots,Ask,  3, 0, 0, "HaskayaFxBuy", 0, 0, Blue);
     // Print("Buy Rsi=",rsi14," Bilet No=",OrderTicket());
      //if (ticket<0) Print("Buy=",Ask," stop ", (Ask-BstStop)," kar=" Ask+BstTake," hata=",GetLastError());
      return; 
   } 
   
    if ((macd1<0) && (macd2<0) && (macd3<0) && (Ask<Hort3) &&  (rsi14<45))
      //Satış yapılıyor.
      {
      ticket=OrderSend(Symbol(), OP_BUY, Lots,Ask,  3, Ask-BstStop*Point, Ask+BstTake*Point, "HaskayaFxBuy", 0, 0, Blue);
//bunu ben ekledim..
//      OrderSend(Symbol(), OP_SELL, Lots,Bid,  3, Bid+BstStop*Point,Bid-BstTake*Point,  "HaskayaFxSell", 0, 0, Red);
 
//
      Lots=Lots+Lotsinc;
      if (Lots>Maxlots) Lots=Maxlots;
//      OrderSend(Symbol(), OP_SELL, Lots,Bid,  3, Bid+BstStop*Point,Bid-BstTake*Point,  "HaskayaFxSell", 0, 0, Red);
//      OrderSend(Symbol(), OP_SELL, Lots,Bid,  3, 0,0,  "HaskayaFxSell", 0, 0, Red);
   //   Print("Sell Rsi=",rsi14," Bilet No=",OrderTicket());
 
      return; 
       }   
      return(0);
}
 
//+------------------------------------------------------------------+
 

thx

i tested it and the graph is pointing down. that means its not profitable (see the profitable factor in the result)


the indicators

macd1,macd2,macd3;

are equal. its pointles to compare them all.

 
macd1=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0);
  macd2=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,1);
  macd3=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,2)
 
damtoul wrote >>

Scalping expert on M1?

Look at your modelling quality : 25%. For sure just launch your EA live and you'll loose you capital.

Dam.

Hi damtoul,

what's do you mean with that ?

Which is the different between a demo account and a real one ?

Thanks

Fabio