2009ǯ01

FOMCǿ餦



FOMCΤΤäƤΤޤ֤ɤʤ뤫¸ƤߤƤꥯ餱󤫤ϡΥȤȤäƲ򤹤Ƥά档ޤ16:15ʤ04:15Ǥ

http://www.gaitame.com/market/yosoku.html

/* ɸ10ʬˤʤä鿲Ƥޤץλͽ */

#define Indexbuf "2/1 22:30,2/5 22:30,2/12 13:50,,,"

if ( time().equals(Indexbuf) - 10ʬ ){
closepositions();
sleep(1800); 1800ä뿲
}

ޤǻͤʤΤǡJavaȣȥ뤬㤯Ǥʤ᥿ȥ̿ˤʤΤǡ̿ϸĴ

ädefine1񤭴ƥꥳѥб

٤ɤäȥबrssбƤʤIndexbuf ήäƼ⤢Ȥ⤦ɡХåˤơ310:00˵ưȤƥ򹹿Ȥʤʡ

ϥιꡢɸΥ󥸥֥쥤ˡ§ߤĤƲ򤹤åΤۤƤʤ쥬Ȥ⤷줺

ĹϲˤƤ뤳ȤʤΤǡǶ᥷ȥФˤʤäƤޤϥ륷γ񤬤ä餷Τǡǥ񤯡

ƥȥ졼ɡݡȥեꥪ

ƣؤϺˡΤʤϤᤫ顢ƥȥ졼ɤ򤹤ʤƣؤʪȷƤ

ݻޤ
㤤μ뤬ʿǤʤʴŪ˶Ϻ
ޤǤƤʤ
ȡʤȤäƤ礷ʤ˿ͤư㤦

ʤɤͳꡢºɤƣϻʤ񤤤ܤ˥äˤΤ˥Ĥ뵤ϤʤǥȥϤꤨʤȻפäƤ롣

ݡȥեꥪϰʲΤ褦ʤΤͤƤ

󥿡
ȥɥե
ԥ
٥ȥɥ֥
Υޥ꡼
¾

ʿѰưЪΥΥ󥿡
ϴϷ빽Ȥ롣

ƣǤʤ£ΣƤȤ¿ȤäƤ֤͡󡢳ǤʤʪǤƣؤǤ⤤ȤǤʤȤä顢ΥѥפߤˤʤäƤޤ衼Ǥ⡢ƣȰȤưä˳ʤȤääƤοͤѤǤʡ

ƣؤϥɥ롿ߤܥɡߤϰ̣ʡˤ¿ƻȤʤɥ롿桼Ϥޤ礭ưʤΤǡ󥸽üΥʥãʤ

ڥȥ륺֥쥤ȡ
ϥȥ륺֥쥤Ȥͭ̾᥿ȥ졼ΥץУǤϡΤޤ޻Ȥʤ֥ͥ쥤40BARˤƤ⡢20BARˤƤ⡢10ˤƤᡣɤǯǥƥȤƤ⾡Ψ;͵餱롣

ëȽ򤷤ơʣλëȣ餤λë˺ơë䡡pipsȤä르ǤʤȤᤫޤǤᤫʡRSIȤե륿­ʤȤᤫ⡣

ʤ󤫡ȥǥե륿­Ȥ르ʣУǤθƤߤǸĿŪˤϷʾСߤʤϤɤäƤΤ

ڰưˡ
2003ǯ餤CISդȤƤ褦ʵ롦

5ˤ㤦ȤñʽĥΣУǤ˺äƤߤΨȾ餱Ȥ礭餱ΤǻȤʤȤơ򤻤ޤƤߤ顢٤Ϣ³餱ޤꡣ

㤢ѥ᡼㤤աˤˤ龡ޤ꤫ȤäƤäƤߤ顢äѤꡢ餱ޤꡣ

ԥ
졢ɤ㤨СߤʥHigh[0] - Low[0]High[5] - Low[5]餤ޤǡϢ³ƾͤȤʤȤ˵ưξʸƾȴΤ褤

ʤȤƣؤǤϻ˵չԤʤ褦ʤΤǡܳŪˤȶȼԤ˷줯

٥ȥɥ֥
ɸǤʥ֥뤫ˡˤ22:30ˤʤä顢unixǤcronǥåߤʤȡǤΤʡ5ʬ˼ꤸޤȤ22:31ޤΤǡϲȤ

Υޥ꡼
졢ȥȤƤϼƻȤ⤦ɡܤ񤤤Ƥ͡ˤ˾夬ȤˤȤǯȤˡ§Ѥꤽʡѥ᡼ĴȤǡϫ礭ơȤʤ

¾
㡼ȤθռʤϤɤ㤨СηȽꤹȤ³Ȥˡɸ(RSIȤ˥ܥ塼ϢʣƣؤˤʤΤΤˤ򸫤Ȥ

ڥ˥󥰥ƥȡ
ХåƥȢեɥƥȡʥǥˤȽäơ¸¤ǥƥȤƤ롣ŪϡУǤΤΤǤϤʤƴĶʥޥϢ³ưФޤˤΰΥƥȡ

㳲ǣ٥顼
Τˤȡ顼ΤǤʤڤ줿ǤꤨʤȤ㤷ƥ»ʾС᥿ȥ졼Υ˲㳲Υ˥󥰤

ĴҤ̵LANˤƿΤޤäΤʤ ADSLʤΤˤΣƱ;㳲ˤʤä𤬤Τǣڷξ㳲⡣

̵LAN򳰤ƤƱݤȯƤʤ

ңԤǤ狼äȡ
ھ㳲ˤ꼺ԥȥ졼ɤȯꥹۤϸƤۤ褵ϥХåƥȤǤϷиǤʤ

åȥޥͥ㡼ͣãӣ¾Ƥľ

2007.6.14θĿˤơ

http://blog.livedoor.jp/rau2rau2/archives/50977332.html

䤷Ƥߤ
ͣӣã¡ʲҤϣͣӤʤȸäƤ뤬ˤˤĤ̤ԤǤ뤬Ǥ⹹񤹤뤳Ȥ⤢뤫
ʥեƥåߤˡ˷夲ԡã¾Ƥľ⤢뤫

졣ʹ󥹤ʤäΤ֤ʹƤäʷбļԤѤääƤ뤷

ܿͽ󸢤ιԻȤ˺ݤʧʤ٤γۡʰʲžۡפȤ
ޤˤѹ2009 ǯ1 16 ͤǤ8,170 ߤؤȲ򤹤ˡ
Իȴ֤αĹʣǯֱĹ2012 ǯ3 7 ޤǹԻȤǤΤȤ롣

žۤβ¤26餤äϤ

狼äȤϡμʵˤ̵̣
ͣӣã¤ȯԤȤȤäƤϤʤ

С2007.5.30γǤ⡢ï䤷Ƥߤ͡ޤϤ餫줿褦ɡ

ͣӣã¤̤ž롢ߤγͤȣߤǤž˾ŪȯԤƲ¤򤵤褦ʤȤϤʤ͡

http://blog.livedoor.jp/rau2rau2/archives/50963025.html

ޤͣӣã¤ǤϤʤϣã¤ǤꡢǯˣΤǤꡢ¤˲줿ʾ岼¤뤳ȤϤʤʤ¿ĺ

ʴͣӣã¤ǤʾС⡢쥿(ߢώ)!!βҤΥ졼ָ̤롣

ԤΰտޤϡʥեƥåΤ褦ˡˣͣӣã¤桼ã¤ǾƤľ塢ξǹ˹󤤤ȡʲ¤򣱣ʲξˤƤޤˤȤʤ͡äƤȤäȻפ

夳μμ䤹ȤϤ⤦äեƥåäƲҤǤɤ͡ϡͣӣã¤桼ã¤ǾƤľǤ衩ǰǤ硩ҤϤʤȤޤ͡Ū˸ޤȡߢߤʹˤۤʤƤ

ǯƭΨ

ǯ⤽ʻʡȻפäƤߤƤߤ顢󥭥󥰤ǤƤޤ縦ǯƭΨ󥭥󥰤ݡȤǤޤȤƤʤ֤ǯФ

Υ֥Dz˽񤤤ƭĴϤۤܡΥȤž

http://www.shinko-ri.co.jp/dynmc/gcnt.php/DL0000003378/03/01/rank121090106.pdf

ǯƭΨ1̤ϰʲ̤2008.01.012008.12.31)

1
Ųӡ421.1%

2
ŷʪ138.3%

Ծ
ɡ133.3%

ǯ100ǯ˰٤ȤưǯȤäơƭΨȥåפǯˤʤγFXΥץȤǤΤǡǶᤳäΥ꡼θ椬ʤǤʤƸŲӤ餤ϡǡΥ꡼˲äʬϤ򤷤ƤߤĤ

㡼Ʊ͡ĥ귿ȵĥ귿ߤ

ĥ귿
ԡǡƥꥸ󥹡ץƥå

ĥ귿
ѥ졢ܥܡȥ٥꡼ݥ졼

ȰˤĤʤ륷䥤ƥϰԤΥסǯ֣̤θŲӤϡĶפ򸫤ȡĥʤΤǯĹƤ롣ҥȤʤΤ

ĥ꥿פϡȺȤ󥢥饦ɥޥ͡㡼Ūɬפǡٶꤽ軻ߤ٤ݥȤ㤦褦ʵƤ롣ȤȯȤ礭ۤʤꤽĥ򤱤褦ʡ

ʿѰưЪΥΨˤĥǥʥƥȷ̡

λ FastMA_Period Kairi RiguiKairi songiri_haba Leverage ʥɥ ץɥ Ψ p/f ɥ% ȥ졼ɿ ΨShort ΨLong
2008.1 2009.1 17 0.15 0.001 0.3 10 1000 56187 56.2 1.28 19.88 2638 66.8 64.51
2007.1 2008.1 20 0.1 0.003 0.3 10 1000 6772 6.8 1.36 15.72 1971 71.11 68.24

嵭ƥȷ̡̲ߤϥɥ롿ߡХåϸĿŪˤꤤʤ10ܡʶ⤬ʤơ10ܤˤʤȺñ̤㤨ʤ1ܤˤȤʤꤹ롣

ץϣڷΥǥ¤бǡ¾ζȼԤǤΤ󡣤ʤڷΥեɥƥȤǤưѤߡ

20082009ϻФBestѥ᡼Ǥη̡

ѥ᥿
FastMA_Period :ưʿ
KairiưʿЪΥΨ
RiguiKairiЪΥΨʴܣǤ褤Ȼפ
songiri_habaڷΣpips

ץϡ᥿ȥ졼1餤ǤƤȡ˺äΤʤΤǡץξˤϤʤʤȻפȤͽ

Υ르˶̣ͤϥɥХ

ڷϥȥåץʸ30pipsʲˤǤʤ̿Ū͡ˡ

äơϥץ̵ͤѿ򤷤бƤޤä(^^;ץξ硢Ū1ʬ­BAR١ǡͤȽꤹΤǡ

㤤ʸꤵ륹ȥåץʤȤϡ뤫⤷ʤ

Ǥ⡢Хåƥȷ̤פ路ʤ30pips»ꤷ̤ۤ褤Τǡ޳ѺäƤߤΤΡ

㣱ڷб»å

//Songiri Buy Position
if ( pos > 0 && ((Open[0] - buy_price) < (-1)*songiri_haba ) ){
ClosePositions();
return(0);
}

//Songiri Sell Position
if ( pos < 0 && ((Open[0] - sell_price) > songiri_haba ) ){
ClosePositions();
return(0);
}

ϡΤȤưƤޤ󡣤ޤΤȤȤ⤢ΤǻĤƤޤClose[0]Ǥʤ»ȽOpen[0]ȤӤˤΤϡ

»ȤнͤǤȤĿŪʹͤ顢ƤΤǤClose[0]䡢High[0] ʤɤˤȤޤ̤ѤǤ礦

Хåƥȷ̡ʲ̡
ХåƥȤˤŬѥ᡼η׻ΥޥPentium4 3.00 Ghzˤ12֤餤뤿ᡦ2ǯܤΥѥ᡼Ĵ档

3ǯܤ̤ƥȤƤȡʥѥ᡼ꤷƤޥʥǯϤʤäݤƥȤ򤹤ꡢУ㤦ۤ褫⡦



夬ХåƥȤΰ2008.11ΤĤ㤤֤ꡢ򢤤֤ɽǤʤΤǡޤǥץबưƤΤǧѡ



夬ХåƥȤΤ񻺿ܤΥա2008.1.12009.1.1ˤ2600Υȥ졼ɤȯ󤰤餤ξΨˤʤ롣ǶϹθƤʤץԤʸˤƤΤǡϤäƤ⥷ʥȯꤷʤϤʤ

ݥ󥵥󥰤򤫤ƤΤǡȾ˿Ӥ®롣ۤ1000ɥȤ56187ɥˤʤΤǡ1ǯ56.2ܡ

դϺܤƤʤǯ6.8ܡУǥꥹäƤˤϡȤʤǯưǯ³櫓ʤΤǡѥ᡼Ĵ˲꤬Ĥ롣

ڷˤĤƤϡܤˤΤäƤ̤Υݥ󥵥󥰤ΥåǤΤޤޤͽ

AccountFreeMargin() ɥ񻺤Ǽ뤳ȤʤΤǡǥ᥿ȥ졼ޥƤơʤʤȻפ˱߻񻺤ä硢׻

2009.1.24ɵ
121ڷǤϡɥ񻺴ˤʤΤǡ᥿ȥ졼ΥåΤޤ޻Ȥޤ󡣰ʲΥåˤ߻񻺤δѹ

ڱ߻ѥݥ󥵥󥰡
//Use Leverrage
double minilot = 0.1;
double Lots2 = NormalizeDouble(AccountFreeMargin() * Leverage/Close[0]/10000 ,0);
double Lots = NormalizeDouble(Lots2/10 , 1);
if(Lots < minilot ) Lots = minilot;

Close[0]ϽͤĤäߤɤΤ󤬡AskȤBidȤǸͤ褦ˤȹΤ⡣

Ϥ꤯ʤơοͤʹƤޤä
ХåƥȤΥġ̲ߥ˥塼USDȤ桼Ȥʤɡ̵JPYȡߤǤΥݥ󥵥󥰤ǥХåƥȴλ

ʤߤˡΤҤȤʹåȤǤǤȤʻƤʤ

ڥݥ󥵥󥰡̰ơˡ
double Lotsize = MarketInfo(Symbol(),MODE_LOTSIZE);
double Lots = NormalizeDouble((AccountFreeMargin()*Leverage)/(80*Lotsize),1);

ʿѰưЪΥΨˤĥǥʥ

//+------------------------------------------------------------------+
//| Original MACross_Exp.mq4 |
//| Copyright 2009, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2009, rau2rau2."
#property link "http://blog.livedoor.jp/rau2rau2/"

//Magic Number
#define MAGIC 20070828

//Parameter
extern int FastMA_Period = 17; //tanki_heikin_ido
//extern double Lots = 0.1; //baibai lot su
extern double Leverage = 10.0; //Leverrage
//extern double SLrate = 0.003; //Stop Loss
extern double Kairi = 0.15; //Ido Sen Kairi Ritu
extern double RiguiKairi = 0.001; //Rigui Idosen Kairi Ritu
extern double songiri_haba = 0.50; //Songiri Haba (Program Stop Loss)

double sell_price = 0;
double buy_price = 0;
int Slippage = 3; //Slippage
double SLrate = 0.003; //Stop Loss (Oerder Stop Loss)

//Calc Open Possion
int CalculateCurrentOrders(){

//Open Possion suu (+ buy, - sell)
int pos = 0;

for(int i = 0; i < OrdersTotal(); i++){
if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES) == false ){
Alert("Calculate Roop Break");
break;
}
if(OrderSymbol() == Symbol() && OrderMagicNumber() == MAGIC){
if(OrderType() == OP_BUY) { pos++; }
if(OrderType() == OP_SELL) { pos--; }
}
}
return(pos);
}

//Posion Kessai
void ClosePositions(){
//Alert(" ClosePosition() start OrdersTotal=" , OrdersTotal());

for(int i = 0; i < OrdersTotal(); i++){

if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES) == false ) {
Alert("Break" , OrderSelect(i,SELECT_BY_POS,MODE_TRADES));
break;
}

if(OrderMagicNumber() != MAGIC || OrderSymbol() != Symbol()) continue;

//Check Order Type
if(OrderType() == OP_BUY){
// Alert(" Close Buy Ticket=" , OrderTicket() , " Lots=", OrderLots());

OrderClose(OrderTicket(),OrderLots(),Bid,Slippage,White);
break;
}
if(OrderType() == OP_SELL){
// Alert(" Close Sell Ticket=" , OrderTicket() , " Lots=", OrderLots());

OrderClose(OrderTicket(),OrderLots(),Ask,Slippage,White);
break;
}
}
}


//Start
int start(){
if(Volume[0] > 1 || IsTradeAllowed() == false ) {
return(0);
}

//Calc Heikin Ido
/*
double FastMA1 = iMA(NULL, 0, FastMA_Period,0,MODE_SMA,PRICE_CLOSE,1);
double FastMA2 = iMA(NULL, 0, FastMA_Period,0,MODE_SMA,PRICE_CLOSE,2);
*/

//Use Leverrage
double minilot = 0.1;
double Lots = NormalizeDouble(AccountFreeMargin() * Leverage/100000,1);
if(Lots < minilot ) Lots = minilot;
Alert("AccountFreeMargin = ", AccountFreeMargin() );

//Open Posision Calc
int pos = CalculateCurrentOrders();

//Buy Signal
if( pos == 0 && ( (Close[0]/iMA(Symbol(),PERIOD_M1,FastMA_Period ,0,MODE_SMA,PRICE_CLOSE,0)-1)*100 < (-1)*Kairi ) ){

ClosePositions();
OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage,
Ask*(1 - SLrate) , 0 , "", MAGIC, 0 , Blue);
buy_price = Ask;
Alert("Buy ", Symbol(), " at " , Ask," buy_price =",buy_price);
return(0);
}

//Sell Signal
if( pos == 0 && ( (Close[0]/iMA(Symbol(),PERIOD_M1,FastMA_Period ,0,MODE_SMA,PRICE_CLOSE,0)-1)*100 > Kairi ) ){
ClosePositions();
OrderSend(Symbol(), OP_SELL, Lots, Bid, Slippage,
Bid*(1 + SLrate) , 0 , "", MAGIC, 0 , Red);
sell_price = Bid;
Alert("Buy ", Symbol(), " at " , Ask," sell_price =",sell_price);
return(0);
}


//Songiri Buy Position
if ( pos > 0 && ((Open[0] - buy_price) < (-1)*songiri_haba ) ){
ClosePositions();
return(0);
}

//Songiri Sell Position
if ( pos < 0 && ((Open[0] - sell_price) > songiri_haba ) ){
ClosePositions();
return(0);
}
//Close Buy Position
if( pos > 0 && (Close[0]/iMA(Symbol(),PERIOD_M1,FastMA_Period ,0,MODE_SMA,PRICE_CLOSE,0)-1)*100 > (-1)*RiguiKairi){
ClosePositions();
return(0);
}

//Close Sell Position
if( pos < 0 &&(Close[0]/iMA(Symbol(),PERIOD_M1,FastMA_Period ,0,MODE_SMA,PRICE_CLOSE,0)-1)*100 < RiguiKairi){
ClosePositions();
return(0);
}

return(0);
}

ƥ򳫻

ƥγϤȯɽ

ݻȤäDZƶۤǤäԤȤζ̳Ȥ30 ԤȤʤꡢݾڻĹĴ˿ܤƤޤȤΤȡ



Ȳ͸ӥ Ullet

դȤȤ鸫Ĥȡϡ餷ΤǤҥᡣ

Ȳ͸ӥ Ullet
軻ξ󤫤顢οܡƴϢ֥Υ󥯤ޤ夷Ƥ餷ȡ̵


ƥ


βҡԤʤ
ǫβҤ줷㤤䡢줹ˤʤȤл񤷤餤

ҥǥͥåȥХ

˵ƤΤϤ極
夫ʤ鲿ȤǤΤǡ˸ȯˤʤäƤޤ
ϸ֥ϹǤϤʤWEBIRޤȤ᤿ģ¤ꤿä

ĿͤʥᡦιԵåȡǼĤʤɡˤ򹹿롦ߥ󥯤롢OFF˽Ф롦Ȥϡ2000ǯHTML/perl١λˡβٴޤλ˰Ƥޤä륢å׻HPƤͤˤȤäƥ֥ϡ

ΥȤ˼ʬλ񻺤㵭Ͽ䡢ʤɡĿŪʤȤ򤢤ޤ񤫤ʤΤϤͳˤ롣

MySQLǥȤۤ뤹Τϼ֤⡢бƤ륵ФõɤIRʬϤǤʤȯ˻֤ȤΤžݤ֥ǴINDEXдʰףģ¤ˤʤ뤷Ǥ⤤äȤäƥ֥ȤäȤаޤ롦

ʤΤǡˤꤿäȤϡΤ褦ʥȤʼʬĿѤǡ̵ǺäƤޤȤȤäꤹ롣ïäƤ줿ΤǤä

ϡ˽ʣʤ֥˥⤹Ф͡

ǿѤˤĤ
ΥȤ϶餯Flex3.0ȤѤȤäƤ롣Хɤεѳ׿˰˰´ФƤ򺣡WEBȯȳϡϵդˡ¦ǤϤʤ饤¦νϤ褦ȤRIA(Rich Internet Application)Ȥή˸ϤƤ롣

FlexϤRIA˵ѤȤʤΤǡեåεѤȤWEBڡʥڡ򸫤뤳ȤǤ롣JSP/HTML١WEBȤ١쥹ݥ󥹤®ٸʤɤޤ뤳ȤǤ롣

ǯžե˲٤äʽʤΤžưΰդǤϤʤΰ̣˶ᤤˡʤǡFlexγȯäƤޤȤ褦ʼꤲƤߤΤɤΥ֡⡩ȿ¿äΤȤFlexѼԤϡʤ֤󡦡˴ͤ⤤⡢ϳμ¤˹򸫤Ȼפ

ͤι⤤SEܻؤʤ顢ĤȤơFlexν̥̥ᡣ

嵭ȼWEBȯȳήȤơSEǥʡ򿩤ΤǥʡSE򿩤ΤȤȯѼԤȤƤϤޤȤȤƸƤʬˤϤä򤤤⡣

žեΥ
¤žեǤϡɽ΢äʤʹ˥֥ˤޤȤ᤿ΤǤ뤬ˤܤ˸ƤФͷܼʤˤޤǤƤޤäȤ⤢롣žեǤϴȥ֡˸ĿͤηФɬפ롣äơʴ¦ˡ˿ʪꤵǽΤǡ˽񤭤Τʤʴ

IR٥Ȥ⤤žեξȤƶˤƳڤΤǥᡣ

âϡǶε޷ʷʵˤꡢμΥ٥ȤϽɬʿãǰƤͽۤ롢äͷӤǥ٥Ȥ˻ä硢򺣤ϤΤ褦μˤʤʤ褦줰դ
ץե



2001.10 㤦
2002.9 ᥬХ󥯡ʤ
2003
2006֥
ưήưؽ
2008.3򼺤ö
2009.1FX
2009.8 ɥХ
2012.9 ܳƳ



եŻ롢Ĺ


Powerd by gotospace
ߤλ

--
fx
ˤ˥塼
ȥ߾
ˬԿ
  • ߷ס

ǿ
Ϣ
Powered by
ޡåNews
ǿ˥塼
зкѿʹ
- JAPAN-REIT -
󥭥
ACR WEB
  • 饤֥ɥ֥