Tokyo:

Meta Trader

MQL 5 community

MQL 4 community


Technical Analysis Library



Meta Traderが使える有名な証券会社:

フォレックス・ドットコムMT4
↑ まずは Meta Trader口座を開設。 今なら5650円キャッシュバック中(初回入金10万+取引)。 特徴:1000通貨取引。 スプレッド:USD/JPY:1-3 pips, EURO/JPY:2-4pips


↑ まずは Robot FX の口座を開設 (初回入金5万円以上)。
スプレッド: USD/JPY 1〜3, EUR/JPY 2〜4, EUR/USD 1〜3など



↑ CFDもアリ



↑ EA Generatorで簡単に独自のプログラムが作成可能


すべてのサービスが業界最高水準の「Spot Board」
↑ まずは口座開設。 MJ MetaTrader PLANEX1(β版)でMetaTraderがチャートして利用可。



↑ Metatraderで作成したプログラムをJavaに変換して、使用できるようになっています。





↑ Metatrader は使えませんが、 MT4と同様にDDE接続し、データをリアルタイムで入手し、 Excel VBAでプログラムできます。 詳しくは、こちらへ



Economic Indicators

お薦めBLOG:

しろふくろうFXテクニカル分析研究所

しろふくろうのメタトレーダーでFXシステムトレード

しろふくろうの海外FXでもメタトレーダー

Toyolab FX - 手ぶらで為替取引

基礎から学ぶシステムトレード(豊嶋久道さん)

とあるMetaTraderの備忘秘録

『Expert adviser』は、おもしろい!

【FX】システムトレードするならMetaTraderでしょ

FXデイトレード投資法

MT4(MetaTrader4)でデイトレード

Duck-butt tiger's FX trading soliloquy

MetaTraderでFX自動売買ブログ

お嬢さん、FXはおよしなさい

運に頼らないEAの運用方法について考えていく!

MT4自動売買&ポイントサイトで生活するぞ!

くーちゃんさん(GodSpeedで有名)

FXシステムトレード研究ノート〜上級者用〜

FXで1億稼ぐ!初心者マサキの自動売買ブログ

MetaTrader 4 で永久に稼ぐ!

気ままにMT4: MetaTrader4/メタトレーダー4

ボブとメタバイザーによる、メタトレーダーアカデミア

FXテクニカル分析&業者比較Blog

FinanceMap - MT4,Metatrader,FX,為替でシステムトレード

Automation Finance

◆ Clockwork FX ◆

あほすけのFX売買記録

ヘパイストスの錬金ロボット!

ちょびちょびFX

Volatily Scalp

シストレラボ

クララの自動売買でFX

ドリームゲートFXは詐欺なのか?! 61日間の検証と評価から学んだ ドリームゲートFXで負けない「7つのルール」

お薦めHP:

MT4インディケーター

MT4 インジケーターと自動売買EA

MT4インジケーター

MT4(MetaTrader4) インディケータ置き場

MetaTrader4 Indicators Collection

Forex TSD

FX自動売買研究所

為替・FX大好き主婦の楽ちんシステムトレード(^▽^)

ZuluTrade

FX外為カフェ

MetaSys-Seeker.net

MetaTraderLibrary

MTAW MetaTrader Autotrader World

FXトレードサポーター MT4売買履歴解析

MetaTraderでFX自動売買.net

システムトレード研究所 〜FXで完全自動売買〜

MetaTraderでFX自動売買研究所

MT4LIVE.COM

FX自動売買ソフト検証:

FX自動売買ソフトで楽に稼ぐ事は出来るのか?!

FX情報商材で稼ぐためにあなたが一番知りたいこと

無料のFX自動売買ソフト|FX自動売買 検証 評価 比較 ブログ

FXで夢をかなえるゾウ

FX情報商材検証レビューブログ masa!!

FX情報商材レビューブログの決定版!(FX情報商材レビュー・勝率検証&評価ブログ)

FX情報商材・自動売買を徹底検証!【FXマイスターよしゆきのブログ】

定年退職後に一から始めるFX奮闘日記

MetaTraderで自動売買!

ご注意:

無登録で金融商品取引業を行う者の名称等について(金融庁)

自動売買ソフトの販売・レンタル業者にご注意!(北海道財務局)

【SOURCE FILE】Stop Hunter.mq4

【解説】
Stop Lossをしたものをひらうプログラム。

【定義】
Stop Hunting Definition (investopedia.com)

【定義】
Stop Hunting with the Big Players (investopedia.com)


【結果】
 MQL 4 communityで人気のあるEA。 ストップロスを拾うものなので、取引回数は少ないですが、 こういうものがあっても良いと思うEA。

//+------------------------------------------------------------------+
//|                 This has been coded by MT-Coder                  |
//|                                                                  |
//|                     Email: mt-coder@hotmail.com                  |
//|                      Website: mt-coder.110mb.com                 |
//|                                                                  |
//|          I can code for you any strategy you have in mind        |
//|           into EA, I can code any indicator you have in mind     |
//|                                                                  |
//|                     For any programming idea                     |
//|          Don't hesitate to contact me at mt-coder@hotmail.com    |
//+------------------------------------------------------------------+


//+------------------------------------------------------------------+
//|                                                                  |
//|             __________Stop Hunter__________                      |
//|                 Copyright ゥ 2010 MT-Coder                        |
//|                                                                  |
//|          This EA is based on the strategy :                      |
//|                                                                  |
//|          "Stop Hunting with the big players"                     |         
//|          ___________________________________                     |
//|                                                                  |
//| It sends BuyStop and SellStop orders at the given distance from  |
//|   the round price target.                                        |
//| Stop Hunter uses hiden TakeProfit and StopLoss, this way you can |
//| hide them from your broker, and you get to set small values near |
//| spread.                                                          |
//|              ___________Testing___________                       |
//|  The reports you may see on my website are made with virtual     |
//|  conditions of Spread=0.                                         |
//|                                                                  |
//|              ___________Settings__________                       |
//|      Zeroes: how many zeroes to the right of the price.          |
//|      Distance: how far from the round price target should the    |
//|                order be placed.                                  |
//|                                                                  |
//|      The other settings are usual.                               |
//|                                                                  |
//|              ___________ Update __________                       |
//|                Latest: Oct 02 2010                               |
//| Oct 02 2010: Loop problem seem to be fixed, thanks to ApacheD    |
//|            * Magical number problem fixed, may be attached to    |
//|              several charts at once.                             |
//| Sep 18 2010: Now fixed even more problems.                       |
//| Sep 09 2010: Now fixed many problems.                            |
//| Sep 06 2010: Now fixed the problem regarding Zeroes input.       |
//+------------------------------------------------------------------+


#property copyright "Copyright ゥ 2010 MT-Coder "
#property link      "http://mt-coder.110mb.com/"


extern int Zeroes = 2;//

extern int UniValue = 15;

/*
extern int Distance = 15;
extern int TakeProfit       = 15;
extern int StopLoss        = 15;
*/
extern bool LongOrders = TRUE;
extern bool ShortOrders = TRUE;

extern double  Risk_percent   = 5;
extern double minLots           = 0.1;
extern double maxLots           = 30;
extern int        MaxBuyPos           = 1;//maximum Buy positions at once
extern int        MaxSellPos           = 1;//maximum Sell positions at once
extern int        magic = 3265;


//----
int     POS_n_BUY;
int     POS_n_SELL;
int     POS_n_BUYSTOP;
int     POS_n_SELLSTOP;
int     POS_n_total;
double   Lots;
double   NewLots;
//----
double OrderLevelB;
double OrderLevelS;

   //----
   int TP2= 0;
   int SL2= 0;
   bool SecondTrade = FALSE;
   //----
string name = "Stop_Hunter";
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
int init()
{
//-----Up target
CreateObjects("up", STYLE_SOLID, Blue);
CreateObjects("upup", STYLE_DOT, Blue);
CreateObjects("updn", STYLE_DOT, Blue);

//-----Dn target
CreateObjects("dn", STYLE_SOLID, Red);
CreateObjects("dnup", STYLE_DOT, Red);
CreateObjects("dndn", STYLE_DOT, Red);

//-----
return(0);
}
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
int deinit()
{
//-------delete the remaining positions
DeleteBuyStop();
DeleteSellStop();
//-------delete the lines
DeleteObjects();
//-----
return(0);
}
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
int start()
  {
  


  int Distance = UniValue;
int TakeProfit       = UniValue;
int StopLoss        = UniValue;

   int cnt, total;
   int ticketB, ticketS, ticketC;
   int MaxOpenPos = MaxBuyPos + MaxSellPos;
   int digits = MarketInfo(Symbol(), MODE_DIGITS);

   string DisplayText;
   string LongStat; 
   string ShortStat;
   //---
   string BidString ;
   int    Len;

   //---
   if(LongOrders) LongStat = "YES"; else LongStat = "NO";
   if(ShortOrders) ShortStat = "YES"; else ShortStat = "NO";
   //---
    //-----
    count_position();  
    //-----
    
   RefreshRates();
   
   BidString = DoubleToStr(Bid,digits);
   Len = StringLen(BidString)-1;
   
   double LevelB = MathCeil(Bid / (Point* MathPow(10,Zeroes))) * Point* MathPow(10,Zeroes);
   if(LevelB - Distance*Point <= Ask) {LevelB = LevelB + MathPow(10,Zeroes)*Point;}
//   if(LevelB - Distance*Point > OrderLevelB + Distance*Point && OrderLevelB != 0){ DeleteBuyStop(); }
if( (LevelB  > getGlobal("LevelB") || Ask < getGlobal("LevelB")-MathPow(10,Zeroes)*Point-Distance*50*Point)&& getGlobal("LevelB")!=0){ DeleteBuyStop(); }

   
   double LevelS = LevelB - MathPow(10,Zeroes)*Point;
   if(LevelS + Distance*Point >= Bid) {LevelS = LevelS - MathPow(10,Zeroes)*Point; }
 //  if(LevelS + Distance*Point < OrderLevelS - Distance*Point && OrderLevelS != 0){ DeleteSellStop(); }
 if( (LevelS < getGlobal("LevelS") || Bid > getGlobal("LevelS")+MathPow(10,Zeroes)*Point+Distance*50*Point) && getGlobal("LevelS")!=0){ DeleteSellStop(); }

   
   
   //-------Check settings 
   if(Zeroes >= Len || Zeroes <= 0)
   {   
   DisplayText = "\n" + "______ Stop Hunter ______\n" + 
   "Coded By: MT-Coder\n" + 
   "** MT-Coder@hotmail.com **\n" + 
   "http://MT-Coder.110mb.com\n\n" 
   + "Wrong settings\n" + "Zeroes should be smaller than " + Len + " and bigger than 0";
   
   Comment(DisplayText);
   return(0);
   }
   else
   DisplayText = "\n" +  "______ Stop Hunter ______\n" + 
   "Coded By: MT-Coder\n" + 
   "** MT-Coder@hotmail.com **\n" + 
   "http://MT-Coder.110mb.com\n\n" + 
   "Up Target: " + DoubleToStr(LevelB,digits) + "| Long Orders " + LongStat + "\n" + 
   "Dn Target: " + DoubleToStr(LevelS,digits) + "| Short Orders " + ShortStat;
   
   Comment(DisplayText);
    
    //-----------Draw lines
      //lines for up target
    DrawObjects("up",LevelB);
    DrawObjects("upup",LevelB + Distance*Point);
    DrawObjects("updn",LevelB - Distance*Point);
      //lines for down target
    DrawObjects("dn",LevelS);
    DrawObjects("dnup",LevelS + Distance*Point);
    DrawObjects("dndn",LevelS - Distance*Point);
    

   
   if(POS_n_total < MaxOpenPos) 
     {

      // 
      if(AccountFreeMargin()<(1000*Lots))
        {
         Print("We have no money. Free Margin = ", AccountFreeMargin());
         return(0);  
        }
        
        Call_MM();
        
      // BUY
   if(LongOrders && POS_n_BUYSTOP + POS_n_BUY < MaxBuyPos && POS_n_SELL == 0) 
     {
     
         ticketB=OrderSend(Symbol(),OP_BUYSTOP,Lots,LevelB-Distance*Point,1,0,0,"Stop Hunter",magic,0,Green);
         if(ticketB>0)
           {
            if(OrderSelect(ticketB,SELECT_BY_TICKET,MODE_TRADES)) Print("BUY Stop order sent : ",OrderOpenPrice());
            setGlobal("LevelB",LevelB);
           }
         else {
         Print("Error sending BUY Stop order : ",GetLastError()); 
         return(0); 
         }
         return(0); 
      }
      // END BUY
      
      // SELL
      
   if(ShortOrders && POS_n_SELLSTOP + POS_n_SELL < MaxSellPos && POS_n_BUY == 0) 
   {

         ticketS=OrderSend(Symbol(),OP_SELLSTOP,Lots,LevelS+Distance*Point,1,0,0,"Stop Hunter",magic,0,Red);
         if(ticketS>0)
           {
            if(OrderSelect(ticketS,SELECT_BY_TICKET,MODE_TRADES)) Print("SELL Stop order sent : ",OrderOpenPrice());
            setGlobal("LevelS",LevelS);
           }
         else {
         Print("Error sending SELL Stop order : ",GetLastError()); 
         return(0); 
        }
      return(0);
      }
      // END SELL
}

//-------

   total=OrdersTotal();


  for(cnt=total-1;cnt>=0;cnt--)
     {
       OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
       if(OrderMagicNumber() != magic) break;
      // delete the useless positions
       if(OrderType()==OP_BUYSTOP && POS_n_SELL != 0  && OrderSymbol() == Symbol())
         {
         OrderDelete(OrderTicket());
         }
         
       if(OrderType()==OP_SELLSTOP && POS_n_BUY != 0 && OrderSymbol() == Symbol())
         {
         OrderDelete(OrderTicket());
         }
      //achieve the hidden TakeProfit and StopLoss
       RefreshRates();
       
         if(OrderType()==OP_BUY  && OrderSymbol() == Symbol())
         {
         if(Bid  >= OrderOpenPrice() + (TakeProfit+TP2)*Point || Ask  <= OrderOpenPrice() - (StopLoss+SL2)*Point)
         {
         
         if(!SecondTrade && Bid  >= OrderOpenPrice() + (TakeProfit+TP2)*Point) 
         {
         NewLots = NormalizeDouble(OrderLots()/2,2);
         
            ticketC = OrderClose(OrderTicket(),NewLots,Bid,3,Violet);
            if(ticketC > 0)
            {
               if(OrderSelect(ticketC,SELECT_BY_TICKET,MODE_TRADES)) Print("Order closed : ",OrderProfit());
               TP2 = TakeProfit;
               SL2 = StopLoss;
               SecondTrade = TRUE;
            }
            else {
            Print("Error closing order : ",GetLastError()); 
            if(GetLastError() == 131) 
                                    
                  ticketC = OrderClose(OrderTicket(),0.1,Ask,3,Violet);
                  }
         }
         else 
         {
            ticketC = OrderClose(OrderTicket(),OrderLots(),Bid,3,Violet);
            if(ticketC > 0)
           {
            if(OrderSelect(ticketC,SELECT_BY_TICKET,MODE_TRADES)) Print("Order closed : ",OrderProfit());
            SecondTrade = FALSE;
           }
            else {Print("Error closing order : ",GetLastError());}
         
         }
                  
         }
         }
         
       RefreshRates();

         if(OrderType()==OP_SELL && OrderSymbol() == Symbol())
         {
            if(Ask <= OrderOpenPrice() - (TakeProfit+TP2)*Point || Bid >= OrderOpenPrice() + (StopLoss+SL2)*Point)
             {
               if(!SecondTrade && Ask <= OrderOpenPrice() - (TakeProfit+TP2)*Point) 
                  {
                  NewLots = NormalizeDouble(OrderLots()/2,2);
               
                  ticketC = OrderClose(OrderTicket(),NewLots,Ask,3,Violet);
                     if(ticketC > 0)
                     {
                    
                        if(OrderSelect(ticketC,SELECT_BY_TICKET,MODE_TRADES)) Print("Order closed : ",OrderProfit());
                        TP2 = TakeProfit;
                        SL2 = StopLoss;
                        SecondTrade = TRUE;
                     }
                     else {Print("Error closing order : ",GetLastError());
                     if(GetLastError() == 131) 
                     
               
                  ticketC = OrderClose(OrderTicket(),0.1,Ask,3,Violet);}
                  }
               else 
                  {
                  ticketC = OrderClose(OrderTicket(),OrderLots(),Ask,3,Violet);  
                     if(ticketC > 0)
                     {
                        if(OrderSelect(ticketC,SELECT_BY_TICKET,MODE_TRADES)) Print("Order closed : ",OrderProfit());
                        SecondTrade = FALSE;
                     }
                     else {Print("Error closing order : ",GetLastError());}
                  }
             }
         }
         
      }      
//-------

   return(0);
}
//----------------
void Call_MM()
{

   Lots=AccountFreeMargin()/100000*Risk_percent; 
   
   
   Lots=MathMin(maxLots,MathMax(minLots,Lots));
   if(minLots<0.1) 
     Lots=NormalizeDouble(Lots,2);
   else
     {
     if(minLots<1) Lots=NormalizeDouble(Lots,1);
     else          Lots=NormalizeDouble(Lots,0);
     }


   return(0);
   
   }

//-------
void DeleteBuyStop()
{
int cnt, total;
total=OrdersTotal();
  for(cnt=total-1;cnt>=0;cnt--)
     {
       OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
       if(OrderMagicNumber() != magic || OrderType()!=OP_BUYSTOP) break;
      
      if( OrderSymbol() == Symbol())  OrderDelete(OrderTicket());
      
     }
}
//-------
void DeleteSellStop()
{
int cnt, total;
total=OrdersTotal();
  for(cnt=total-1;cnt>=0;cnt--)
     {
       OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
       if(OrderMagicNumber() != magic || OrderType()!=OP_SELLSTOP) break;
      
if( OrderSymbol() == Symbol())  OrderDelete(OrderTicket());      
     }
}
//--------
void count_position()
{
    POS_n_BUY  = 0;
    POS_n_SELL = 0;
    
    POS_n_BUYSTOP = 0;
    POS_n_SELLSTOP = 0;
    
    for( int i = 0 ; i < OrdersTotal() ; i++ ){
        if( OrderSelect( i, SELECT_BY_POS, MODE_TRADES ) == false || OrderMagicNumber() != magic){
            break;
        }
        /*
        if( OrderSymbol() != Symbol() ){
            continue;
        }
        */
        if( OrderType() == OP_BUY  && OrderSymbol() == Symbol() && OrderMagicNumber()==magic){
            POS_n_BUY++;
        }
        else if( OrderType() == OP_SELL  && OrderSymbol() == Symbol() && OrderMagicNumber()==magic){
            POS_n_SELL++;
        }
        
        else if( OrderType() == OP_BUYSTOP  && OrderSymbol() == Symbol() && OrderMagicNumber()==magic){
            POS_n_BUYSTOP++;
            OrderLevelB = OrderOpenPrice();
        }
        else if( OrderType() == OP_SELLSTOP  && OrderSymbol() == Symbol() && OrderMagicNumber()==magic){
            POS_n_SELLSTOP++;
            OrderLevelS = OrderOpenPrice();
        }
        
    }
    POS_n_total = POS_n_BUY + POS_n_SELL + POS_n_BUYSTOP + POS_n_SELLSTOP;
}
//------------- 
void CreateObjects(string no, double style, color col) {

  ObjectCreate(no, OBJ_HLINE, 0,0,0);
  ObjectSet(no, OBJPROP_STYLE, style);
  ObjectSet(no, OBJPROP_COLOR, col);
  ObjectSet(no, OBJPROP_BACK, True);
}
//-------------
void DrawObjects(string no, double price) {

  ObjectSet(no, OBJPROP_PRICE1, price);

}
//-------------
void DeleteObjects() {
  ObjectDelete("up");
  ObjectDelete("upup");
  ObjectDelete("updn");
  ObjectDelete("dn");
  ObjectDelete("dnup");
  ObjectDelete("dndn");
  }
//----------------
void setGlobal(string key, double value){
   GlobalVariableSet(name + magic + "_" + key, value);
}

double getGlobal(string key){
   return(GlobalVariableGet(name + magic + "_" + key));
}
//-----------
// the end.


【バックテスト】
Strategy Tester: Stop Hunter
Strategy Tester Report
Stop Hunter
FOREX.comJapan-Demo(I) (Build 229)

通貨ペアEURUSDfxf. (Euro vs US Dollar)
期間15分足(M15) 2011.03.04 15:00 - 2011.04.01 20:45 (2010.12.01 - 2011.04.02)
モデルEvery tick (the most precise method based on all available least timeframes)
パラメーターZeroes=2; UniValue=15; LongOrders=true; ShortOrders=true; Risk_percent=5; minLots=0.1; maxLots=30; MaxBuyPos=1; MaxSellPos=1; magic=3265;
Bars in test2048Ticks modelled336379Modelling quality50.63%
Mismatched charts errors0
Initial deposit10000.00
Total net profit180.50Gross profit3231.50Gross loss-3051.00
Profit factor1.06Expected payoff3.06
Absolute drawdown501.00Maximal drawdown863.50 (8.33%)Relative drawdown8.33% (863.50)
Total trades59Short positions (won %)27 (66.67%)Long positions (won %)32 (68.75%)
Profit trades (% of total)40 (67.80%)Loss trades (% of total)19 (32.20%)
Largestprofit trade202.50loss trade-225.00
Averageprofit trade80.79loss trade-160.58
Maximumconsecutive wins (profit in money)8 (606.50)consecutive losses (loss in money)3 (-495.00)
Maximalconsecutive profit (count of wins)606.50 (8)consecutive loss (count of losses)-495.00 (3)
Averageconsecutive wins4consecutive losses2
Graph
#時間取引種別注文番号数量PriceS/L:決済逆指値T/P:決済指値損益Balance
12011.03.04 15:00buy stop10.501.40850.00000.0000
22011.03.04 15:00sell stop20.501.39150.00000.0000
32011.03.08 10:10sell20.501.39150.00000.0000
42011.03.08 10:10delete10.501.40850.00000.0000
52011.03.08 10:15close20.501.39330.00000.0000-90.009910.00
62011.03.08 10:15buy stop30.501.39850.00000.0000
72011.03.08 10:15sell stop40.501.39150.00000.0000
82011.03.08 11:06sell40.501.39150.00000.0000
92011.03.08 11:06delete30.501.39850.00000.0000
102011.03.08 11:35close40.501.39330.00000.0000-90.009820.00
112011.03.08 11:35buy stop50.501.39850.00000.0000
122011.03.08 11:35sell stop60.501.39150.00000.0000
132011.03.08 12:10sell60.501.39150.00000.0000
142011.03.08 12:10delete50.501.39850.00000.0000
152011.03.08 12:59close60.251.39000.00000.000037.509857.50
162011.03.08 12:59sell70.251.39150.00000.0000
172011.03.08 14:10close70.251.38850.00000.000075.009932.50
182011.03.08 14:10buy stop80.501.39850.00000.0000
192011.03.08 14:10sell stop90.501.38150.00000.0000
202011.03.10 07:13sell90.501.38150.00000.0000
212011.03.10 07:13delete80.501.39850.00000.0000
222011.03.10 10:06close90.501.38480.00000.0000-165.009767.50
232011.03.10 10:06buy stop100.501.38850.00000.0000
242011.03.10 10:06sell stop110.501.38150.00000.0000
252011.03.10 13:12sell110.501.38150.00000.0000
262011.03.10 13:12delete100.501.38850.00000.0000
272011.03.10 20:07close110.251.37850.00000.000075.009842.50
282011.03.10 20:07sell120.251.38150.00000.0000
292011.03.10 20:07close120.251.37840.00000.000077.509920.00
302011.03.10 20:07buy stop130.501.38850.00000.0000
312011.03.10 20:07sell stop140.501.37150.00000.0000
322011.03.11 17:17buy130.501.38850.00000.0000
332011.03.11 17:17delete140.501.37150.00000.0000
342011.03.13 21:00close130.251.39650.00000.0000200.0010120.00
352011.03.13 21:00buy150.251.38850.00000.0000
362011.03.13 21:00close150.251.39660.00000.0000202.5010322.50
372011.03.13 21:00buy stop160.501.39850.00000.0000
382011.03.13 21:01sell stop170.501.39150.00000.0000
392011.03.14 08:16sell170.501.39150.00000.0000
402011.03.14 08:16delete160.501.39850.00000.0000
412011.03.14 09:26close170.501.39480.00000.0000-165.0010157.50
422011.03.14 09:26buy stop180.501.39850.00000.0000
432011.03.14 09:26sell stop190.501.39150.00000.0000
442011.03.14 16:01buy180.501.39850.00000.0000
452011.03.14 16:01delete190.501.39150.00000.0000
462011.03.15 02:27close180.501.39520.00000.0000-164.509993.00
472011.03.15 02:27buy stop200.501.39850.00000.0000
482011.03.15 02:27sell stop210.501.39150.00000.0000
492011.03.15 04:00sell210.501.39150.00000.0000
502011.03.15 04:00delete200.501.39850.00000.0000
512011.03.15 06:52close210.501.39480.00000.0000-165.009828.00
522011.03.15 06:52buy stop220.501.39850.00000.0000
532011.03.15 06:52sell stop230.501.39150.00000.0000
542011.03.15 07:08sell230.501.39150.00000.0000
552011.03.15 07:08delete220.501.39850.00000.0000
562011.03.15 09:23close230.251.38850.00000.000075.009903.00
572011.03.15 09:23sell240.251.39150.00000.0000
582011.03.15 09:23close240.251.38840.00000.000077.509980.50
592011.03.15 09:23buy stop250.501.38850.00000.0000
602011.03.15 09:23sell stop260.501.38150.00000.0000
612011.03.15 09:23buy250.501.38850.00000.0000
622011.03.15 09:23delete260.501.38150.00000.0000
632011.03.15 13:40close250.251.39150.00000.000075.0010055.50
642011.03.15 13:40buy270.251.38850.00000.0000
652011.03.15 13:40close270.251.39150.00000.000075.0010130.50
662011.03.15 13:40buy stop280.501.39850.00000.0000
672011.03.15 13:40sell stop290.501.38150.00000.0000
682011.03.15 16:10buy280.501.39850.00000.0000
692011.03.15 16:10delete290.501.38150.00000.0000
702011.03.16 09:37close280.501.39520.00000.0000-164.509966.00
712011.03.16 09:37buy stop300.501.39850.00000.0000
722011.03.16 09:37sell stop310.501.39150.00000.0000
732011.03.16 13:42sell310.501.39150.00000.0000
742011.03.16 13:42delete300.501.39850.00000.0000
752011.03.16 14:48close310.501.39480.00000.0000-165.009801.00
762011.03.16 14:48buy stop320.501.39850.00000.0000
772011.03.16 14:48sell stop330.501.39150.00000.0000
782011.03.16 15:02sell330.501.39150.00000.0000
792011.03.16 15:02delete320.501.39850.00000.0000
802011.03.16 17:33close330.251.38850.00000.000075.009876.00
812011.03.16 17:33sell340.251.39150.00000.0000
822011.03.16 17:33close340.251.38840.00000.000077.509953.50
832011.03.16 17:33buy stop350.501.39850.00000.0000
842011.03.16 17:33sell stop360.501.38150.00000.0000
852011.03.17 08:43buy350.501.39850.00000.0000
862011.03.17 08:43delete360.501.38150.00000.0000
872011.03.17 09:42close350.251.40150.00000.000075.0010028.50
882011.03.17 09:42buy370.251.39850.00000.0000
892011.03.17 09:42close370.251.40150.00000.000075.0010103.50
902011.03.17 09:42buy stop380.501.40850.00000.0000
912011.03.17 09:42sell stop390.501.39150.00000.0000
922011.03.18 03:32buy380.501.40850.00000.0000
932011.03.18 03:32delete390.501.39150.00000.0000
942011.03.18 07:56close380.501.40520.00000.0000-165.009938.50
952011.03.18 07:56buy stop400.501.40850.00000.0000
962011.03.18 07:56sell stop410.501.40150.00000.0000
972011.03.18 08:02buy400.501.40850.00000.0000
982011.03.18 08:02delete410.501.40150.00000.0000
992011.03.18 08:58close400.501.40520.00000.0000-165.009773.50
1002011.03.18 08:58buy stop420.501.40850.00000.0000
1012011.03.18 08:58sell stop430.501.40150.00000.0000
1022011.03.18 10:00buy420.501.40850.00000.0000
1032011.03.18 10:00delete430.501.40150.00000.0000
1042011.03.18 10:57close420.251.41150.00000.000075.009848.50
1052011.03.18 10:57buy440.251.40850.00000.0000
1062011.03.18 10:57close440.251.41150.00000.000075.009923.50
1072011.03.18 10:57buy stop450.501.41850.00000.0000
1082011.03.18 10:57sell stop460.501.40150.00000.0000
1092011.03.18 17:05buy450.501.41850.00000.0000
1102011.03.18 17:05delete460.501.40150.00000.0000
1112011.03.21 08:57close450.501.41520.00000.0000-164.509759.00
1122011.03.21 08:57buy stop470.501.41850.00000.0000
1132011.03.21 08:57sell stop480.501.41150.00000.0000
1142011.03.21 12:23buy470.501.41850.00000.0000
1152011.03.21 12:23delete480.501.41150.00000.0000
1162011.03.21 13:32close470.501.41520.00000.0000-165.009594.00
1172011.03.21 13:32buy stop490.501.41850.00000.0000
1182011.03.21 13:32sell stop500.501.41150.00000.0000
1192011.03.21 14:05buy490.501.41850.00000.0000
1202011.03.21 14:05delete500.501.41150.00000.0000
1212011.03.21 16:25close490.251.42150.00000.000075.009669.00
1222011.03.21 16:25buy510.251.41850.00000.0000
1232011.03.21 16:25close510.251.42160.00000.000077.509746.50
1242011.03.21 16:25buy stop520.501.42850.00000.0000
1252011.03.21 16:25sell stop530.501.42150.00000.0000
1262011.03.21 16:25sell530.501.42150.00000.0000
1272011.03.21 16:25delete520.501.42850.00000.0000
1282011.03.22 08:48close530.501.42480.00000.0000-172.509574.00
1292011.03.22 08:48buy stop540.501.42850.00000.0000
1302011.03.22 08:48sell stop550.501.42150.00000.0000
1312011.03.22 12:56sell550.501.42150.00000.0000
1322011.03.22 12:56delete540.501.42850.00000.0000
1332011.03.22 13:53close550.251.41850.00000.000075.009649.00
1342011.03.22 13:53sell560.251.42150.00000.0000
1352011.03.22 13:53close560.251.41850.00000.000075.009724.00
1362011.03.22 13:53buy stop570.501.41850.00000.0000
1372011.03.22 13:53buy570.501.41850.00000.0000
1382011.03.22 15:50close570.251.42150.00000.000075.009799.00
1392011.03.22 15:50buy580.251.41850.00000.0000
1402011.03.22 15:50close580.251.42150.00000.000075.009874.00
1412011.03.22 15:50buy stop590.501.42850.00000.0000
1422011.03.22 15:50sell stop600.501.41150.00000.0000
1432011.03.23 13:25sell600.501.41150.00000.0000
1442011.03.23 13:25delete590.501.42850.00000.0000
1452011.03.23 14:30close600.501.41480.00000.0000-165.009709.00
1462011.03.23 14:30buy stop610.501.41850.00000.0000
1472011.03.23 14:30sell stop620.501.41150.00000.0000
1482011.03.23 16:03sell620.501.41150.00000.0000
1492011.03.23 16:03delete610.501.41850.00000.0000
1502011.03.23 21:03close620.251.40850.00000.000075.009784.00
1512011.03.23 21:03sell630.251.41150.00000.0000
1522011.03.23 21:03close630.251.40840.00000.000077.509861.50
1532011.03.23 21:03buy stop640.501.40850.00000.0000
1542011.03.23 21:03sell stop650.501.40150.00000.0000
1552011.03.23 21:03buy640.501.40850.00000.0000
1562011.03.23 21:03delete650.501.40150.00000.0000
1572011.03.24 09:40close640.251.41150.00000.000075.759937.25
1582011.03.24 09:40buy660.251.40850.00000.0000
1592011.03.24 09:40close660.251.41150.00000.000075.7510013.00
1602011.03.24 09:40buy stop670.501.41850.00000.0000
1612011.03.24 09:40sell stop680.501.40150.00000.0000
1622011.03.24 14:52buy670.501.41850.00000.0000
1632011.03.24 14:52delete680.501.40150.00000.0000
1642011.03.24 16:32close670.251.42150.00000.000075.0010088.00
1652011.03.24 16:32buy690.251.41850.00000.0000
1662011.03.24 16:32close690.251.42160.00000.000077.5010165.50
1672011.03.24 16:32buy stop700.501.42850.00000.0000
1682011.03.24 16:32sell stop710.501.42150.00000.0000
1692011.03.24 16:32sell710.501.42150.00000.0000
1702011.03.24 16:32delete700.501.42850.00000.0000
1712011.03.24 16:52close710.251.41850.00000.000075.0010240.50
1722011.03.24 16:52sell720.251.42150.00000.0000
1732011.03.24 16:52close720.251.41850.00000.000075.0010315.50
1742011.03.24 16:52buy stop730.501.41850.00000.0000
1752011.03.24 16:52sell stop740.501.41150.00000.0000
1762011.03.24 16:54buy730.501.41850.00000.0000
1772011.03.24 16:54delete740.501.41150.00000.0000
1782011.03.24 23:28close730.501.41520.00000.0000-165.0010150.50
1792011.03.24 23:28buy stop750.501.41850.00000.0000
1802011.03.24 23:28sell stop760.501.41150.00000.0000
1812011.03.25 06:40buy750.501.41850.00000.0000
1822011.03.25 06:40delete760.501.41150.00000.0000
1832011.03.25 08:32close750.501.41520.00000.0000-165.009985.50
1842011.03.25 08:32buy stop770.501.41850.00000.0000
1852011.03.25 08:32sell stop780.501.41150.00000.0000
1862011.03.25 13:00sell780.501.41150.00000.0000
1872011.03.25 13:00delete770.501.41850.00000.0000
1882011.03.25 14:57close780.501.41480.00000.0000-165.009820.50
1892011.03.25 14:57buy stop790.501.41850.00000.0000
1902011.03.25 14:57sell stop800.501.41150.00000.0000
1912011.03.25 16:17sell800.501.41150.00000.0000
1922011.03.25 16:17delete790.501.41850.00000.0000
1932011.03.25 16:31close800.251.40850.00000.000075.009895.50
1942011.03.25 16:31sell810.251.41150.00000.0000
1952011.03.25 16:31close810.251.40850.00000.000075.009970.50
1962011.03.25 16:31buy stop820.501.40850.00000.0000
1972011.03.25 16:31buy820.501.40850.00000.0000
1982011.03.27 21:00close820.501.40400.00000.0000-225.009745.50
1992011.03.27 21:00buy stop830.501.40850.00000.0000
2002011.03.27 21:00sell stop840.501.40150.00000.0000
2012011.03.28 08:07buy830.501.40850.00000.0000
2022011.03.28 08:07delete840.501.40150.00000.0000
2032011.03.28 09:38close830.501.40520.00000.0000-165.009580.50
2042011.03.28 09:38buy stop850.501.40850.00000.0000
2052011.03.28 09:38sell stop860.501.40150.00000.0000
2062011.03.28 13:41buy850.501.40850.00000.0000
2072011.03.28 13:41delete860.501.40150.00000.0000
2082011.03.28 14:45close850.251.41150.00000.000075.009655.50
2092011.03.28 14:45buy870.251.40850.00000.0000
2102011.03.28 14:45close870.251.41150.00000.000075.009730.50
2112011.03.28 14:45buy stop880.501.41850.00000.0000
2122011.03.28 14:45sell stop890.501.40150.00000.0000
2132011.03.31 07:18buy880.501.41850.00000.0000
2142011.03.31 07:18delete890.501.40150.00000.0000
2152011.03.31 09:00close880.251.42150.00000.000075.009805.50
2162011.03.31 09:00buy900.251.41850.00000.0000
2172011.03.31 09:00close900.251.42150.00000.000075.009880.50
2182011.03.31 09:00buy stop910.501.42850.00000.0000
2192011.03.31 09:00sell stop920.501.41150.00000.0000
2202011.04.01 12:30sell920.501.41150.00000.0000
2212011.04.01 12:30delete910.501.42850.00000.0000
2222011.04.01 13:45close920.251.40850.00000.000075.009955.50
2232011.04.01 13:45sell930.251.41150.00000.0000
2242011.04.01 13:45close930.251.40850.00000.000075.0010030.50
2252011.04.01 13:45buy stop940.501.41850.00000.0000
2262011.04.01 13:45sell stop950.501.40150.00000.0000
2272011.04.01 15:15buy940.501.41850.00000.0000
2282011.04.01 15:15delete950.501.40150.00000.0000
2292011.04.01 15:55close940.251.42150.00000.000075.0010105.50
2302011.04.01 15:55buy960.251.41850.00000.0000
2312011.04.01 15:55close960.251.42150.00000.000075.0010180.50
2322011.04.01 15:55buy stop970.501.42850.00000.0000
2332011.04.01 15:55sell stop980.501.41150.00000.0000
2342011.04.01 20:59delete980.501.41150.00000.0000


Back to Meta Trader

Google
解説本:


【初級編】 基本的な事項からプログラムの仕方まで解説

【中級編】 独自のテクニカル分析をするためのプログラミングについての解説



【初級編】 基本的な事項から筆者のトレード手法も公開している

【初級編】 しろふくろうさんによるメタトレーダーの使い方が少し書かれている


【初級編】 基本的な事項からメタトレーダーのExpert Advisorを使って、自動売買システムの作り方が書かれている.


【初級編】 EAが4つついており、なおかつジェネレーターを使った自動売買プログラム(EA)の作り方を解説


【初級編】 FXの必勝法を説いた本。その中でメタトレーダー4の活用法も紹介


【中級編】 自動売買システムの構築に必要な、MQL言語の知識をこの1冊に集約しています。 サンプルコードも豊富に用意されており、サンプルコードで個々の機能を実際に確認しながら学習していくことができます。