Group Blog
 
<<
พฤศจิกายน 2557
 
 1
2345678
9101112131415
16171819202122
23242526272829
30 
 
15 พฤศจิกายน 2557
 
All Blogs
 
...

  int start()

{

double MA10 =

iMA(NULL,0,10,0,MODE_SMA,PRICE_CLOSE,0);


double MA80 =

iMA(NULL,0,80,0,MODE_EMA,PRICE_HIGH,0);

if(OrdersTotal()==0)

{

if((Ask>MA10)&&(Ask>MA80))


{
OrderSend(Symbol(),OP_BUY,0.1,Ask,3,Ask-
Point*100,Ask+Point*100,"Firstea",0,0,Green);
}
}

if(OrdersTotal()==1)
{

if(Ask)
{OrderSelect(0,SELECT_BY_POS,MODE_TRADES);

if(OrderType()==OP_BUY)

OrderClose(OrderTicket(),OrderLots(),Bid,3,Green);

}
}

return(0);
}



Create Date : 15 พฤศจิกายน 2557
Last Update : 15 พฤศจิกายน 2557 15:39:00 น. 0 comments
Counter : 291 Pageviews.

ชื่อ : * blog นี้ comment ได้เฉพาะสมาชิก
Comment :
  *ส่วน comment ไม่สามารถใช้ javascript และ style sheet
 

mikicool
Location :


[ดู Profile ทั้งหมด]

ฝากข้อความหลังไมค์
Rss Feed
Smember
ผู้ติดตามบล็อก : 3 คน [?]




Friends' blogs
[Add mikicool's blog to your web]
Links
 

 Pantip.com | PantipMarket.com | Pantown.com | © 2004 BlogGang.com allrights reserved.