e-fisher





//+------------------------------------------------------------------+
//|                                                       fisher.mq4 |
//|                                                       favoritefx |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "favoritefx"
#property link      "http://www.metaquotes.net"

//---- input parameters

extern int    TakeProfit=50;
extern int    StopLoss=30;
extern double Lots=0.1;



//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+


int init()
  {
//----

//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----

//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----
  double price;
  double stop;
  double profit;
  double RSI;
  double MARSI_Fast;
  double MARSI_Slow;

   if (AccountFreeMargin() < 1200 * Lots)
      return (0);

   //----
   if (( (OrdersTotal() == 0)))
   {
      RSI = iCustom(Symbol(),0,"TrendRSI_v1",13,8,55,0,1); //0 áóôåð

      MARSI_Fast = iCustom(Symbol(),0,"TrendRSI_v1",13,8,55,1,1); //1 áóôåð

      MARSI_Slow = iCustom(Symbol(),0,"TrendRSI_v1",13,8,55,2,1); //2 áóôåð


      if (RSI<MARSI_Slow )
      {

         stop   = NormalizeDouble(Ask - StopLoss   * Point, Digits);
         profit = NormalizeDouble(Ask + TakeProfit * Point, Digits);
         OrderSend(Symbol(), OP_BUY, Lots, Ask, 3, stop, profit, NULL, 0, 0, Green);
      }
        if (RSI>MARSI_Slow)
      {

         stop   = NormalizeDouble(Bid + StopLoss   * Point, Digits);
         profit = NormalizeDouble(Bid - TakeProfit * Point, Digits);
         OrderSend(Symbol(),OP_SELL,Lots,Bid,3,stop,profit,NULL,0,0,Green);
         //Print(AccountBalance());
      }
   }
//----
   return(0);
  }
//+------------------------------------------------------------------+



Sample





Analysis



Market Information Used:



Indicator Curves created:


Indicators Used:




Custom Indicators Used:
TrendRSI_v1

Order Management characteristics:
Checks for the total of open orders
It automatically opens orders when conditions are reached

Other Features:


BackTest : USDJPY on H1

From 2009-11-01 to 2009-11-30 Profit Factor:0.00 Total Net Profit:0.00

BackTest : USDCHF on H1

From 2009-12-01 to 2010-01-01 Profit Factor:0.00 Total Net Profit:0.00

BackTest : EURUSD on H1

From 2009-12-01 to 2010-01-17 Profit Factor:0.00 Total Net Profit:0.00

BackTest : USDCAD on H1

From 2009-12-01 to 2010-01-01 Profit Factor:0.00 Total Net Profit:0.00

BackTest : EURUSD on H1

From 2009-08-01 to 2009-10-01 Profit Factor:0.93 Total Net Profit:-1144.43

BackTest : GBPUSD on H1

From 2010-01-01 to 2010-02-27 Profit Factor:0.00 Total Net Profit:0.00

BackTest : EURUSD on H1

From 2010-04-01 to 2010-04-30 Profit Factor:0.00 Total Net Profit:0.00

BackTest : EURUSD on H1

From 2010-05-01 to 2010-05-31 Profit Factor:0.00 Total Net Profit:0.00

BackTest : EURUSD on H1

From 2010-06-01 to 2010-06-30 Profit Factor:0.00 Total Net Profit:0.00

Request Backtest for e-fisher


From : (yyyy/mm/dd) To: (yyyy/mm/dd)

Pair: Period: