星月 发表于 2014-2-6 11:30:58

#property copyright "Eysen"
#property link      "2013"

#property indicator_chart_window

extern double    maxlevel=100.0;
extern double    bonus=0;
int init()
{
   return(0);
}
int deinit()
{
   return(0);
}
int start()
{
   int    counted_bars=IndicatorCounted();
double lots=0,maxlots,s;

    for(int a=0;a<=OrdersTotal();a++)
   if(OrderSelect(a,SELECT_BY_POS,MODE_TRADES)==true)
      if(OrderType()==OP_BUY || OrderType()==OP_SELL)
       lots+=OrderLots();                           //计算已经下单的手数
    maxlots=(AccountBalance()-bonus)*maxlevel/100000; //计算最大可以下单数

    if(lots>maxlots)
    {
   s=lots-maxlots;
   Alert("最多只能下"+maxlots+"手单子,请平仓"+s+"手");   
   }
   return(0);
}

wfx1018 发表于 2014-6-28 22:33:18

顶顶顶顶顶顶顶

wfx1018 发表于 2014-6-28 22:33:23

的顶顶顶顶顶

wfx1018 发表于 2014-6-28 22:33:28

的顶顶顶顶顶

ea大师 发表于 2014-10-29 10:27:47

多谢分享 看看是什么

heiheivm 发表于 2014-10-29 17:48:02


继续,学习了

你那么耀眼 发表于 2014-10-30 15:33:47

谢谢分享!!!!!

amm308 发表于 2014-10-30 15:44:14

DDDDDDDDDDDDDDDD

性感女孩 发表于 2014-10-30 16:48:52

nice!!!!!!!!!!!!

z99699 发表于 2014-10-30 18:43:36

dfhfdhh
页: 1 2 3 4 [5] 6 7 8 9 10
查看完整版本: 三色K线信号V1,free分享