一人做事一人当。一般情况下。 - 页 8

 
Vita писал (а):

coefline - 窥视未来,所以它是一个 "领先指标"。

coefline_true - 不偷看,所以不预测任何东西,与AO等没有本质的区别。


这个指标在哪里,我想看一下代码。
 
ExpertTrader писал (а):
Vita 写道(a)。

coefline - 窥视未来,所以它是一个 "领先指标"。

coefline_true - 不偷看,所以不预测任何东西,与AO等没有本质的区别。


这个指标在哪里,我想看看代码。

就在这里。
 
projectX писал (а):

这些我都知道,但我还没有找到更好的东西,你能不能给点建议。!!!!!


不幸的是,我不能给你任何建议。首先,使用躲猫猫指标是不合适的。第二,我不认为coefline_true比AO更好,即使在你的特定情况下。唉。
 
寿星
你如何读懂它,你如何读懂这些信号?
 
ExpertTrader писал (а):
寿星
你如何读懂它,你如何读懂这些信号?

我不太感兴趣。它看起来很像一个AO。只要这类指标着眼于未来,就会有兴趣。:)它本身并没有什么新的东西,这就是为什么它不是特别受欢迎,也不使用。 看这里。也许你会发现一些有用的东西。
 
projectX писал (а):
这是我的专家顾问在2006年8月1日至2006年10月1日的测试期间在coefline上的发展情况,图表末尾的强烈缩减是由于
如果在此期间有一个趋势运动,它可能无法正确工作。我试着用0.1手,所有的点位都来自01.08.06欧元对。不使用止损手,只使用订单平仓。由于没有止损,我正在考虑在损失上添加一个平均功能...

请公布专家顾问的代码。
 
projectX писал (а):
观点如下:在我看来,平仓往往是决定性的,因为你可以开仓,即使你计算或猜测的运动方向是正确的,你也不能总是在正确的时刻平仓,因此你也不能总是获利。我在看条形图时已经注意到了。简而言之。
即在coefline指标(有一个基数)上开仓获利,如果价格从收盘价返回一定的点数,我们就开仓(我做过),但有必要考虑价格是否会急剧上升,并且不会返回到这个水平,所以如果从收盘价通过的点数与获利相等,有必要考虑价格回滚到的水平已经移动。
我想我明白这个想法,但我不确定。我应该怎么做?
 

假设通过任何指标或在1.2000处开一个 海湾位置,获利放1。如果价格上涨,则在获利时平仓。 如果同样的指标或其他东西告诉我们再次买入,但立即买入我认为不行,需要等到价格下降到一定的点数(我建议这个数字应该与获利值挂钩,例如tp*70%),然后下一次买入的价格应该是1。例如,假设我们以1.2005的价格买入,在这种情况下,这个位置的获利将是1.2020,以此类推。

 
ExpertTrader

很抱歉闯进来,在CodeBase中评论不方便。
粉丝指标取自MasterForex论坛--在那里的医护人员发生争执之前。作者在正文中没有给出(似乎是Pupel,但不确定),试着用FanSimple8-1a 这个名字搜索描述。
它可以建立一个多达8个木翼的风扇,可以为每个木翼设置模式,同时检查的数量和什么TF也可以设置。

如果你找不到原始的,你可以从我的收藏中复制它:http://forexter.land.ru/FanSimple8-1a.htm
 
这里有另一位专家。



我就不评论了,请看代码。

//+------------------------------------------------------------------+
//|                             Copyright © 2006, Victor Chebotariov |
//|                                      http://www.chebotariov.com/ |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2006, Victor Chebotariov"
#property link      "http://www.chebotariov.com/"
 
#define MAGIC 041020060
 
extern double Lots               = 0.1;
extern int    period             = 106;
extern int    ma_method          = 2;//0-3
extern int    applied_price_ma   = 2;//0-6
extern int    period1            = 93;
extern int    ma_method1         = 2;//0-3
extern int    applied_price_ma1  = 5;//0-6
extern int    period2            = 17;
extern int    ma_method2         = 3;//0-3
extern int    applied_price_ma2  = 6;//0-6
extern int    period3            = 12;
extern int    ma_method3         = 0;//0-3
extern int    applied_price_ma3  = 1;//0-6
extern int    period4            = 13;
extern int    ma_method4         = 0;//0-3
extern int    applied_price_ma4  = 4;//0-6
 
 
bool symbolOrders()
   {
   int orders = OrdersTotal();
   for(int i=orders-1; i>=0; i--)
      {
      if(!OrderSelect(i, SELECT_BY_POS ))
         {
         Print("OrderSelect( ", i, ", SELECT_BY_POS ) - Error #", GetLastError());
         continue;
         }
         if(OrderSymbol()==Symbol())
            {
            if(OrderMagicNumber()==MAGIC)
               {
               return(true);
               }
          }
     }
    return(false);
}
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----     
   int cnt, ticket, total;
   double close  = iClose(NULL,PERIOD_D1,1);
   double open   = iOpen(NULL,PERIOD_D1,1);
   double MA_0   = iMA(NULL,PERIOD_D1,period,0,ma_method,applied_price_ma,1);
   double MA_1   = iMA(NULL,PERIOD_D1,period1,0,ma_method1,applied_price_ma1,2);
   double MA_2   = iMA(NULL,PERIOD_D1,period2,0,ma_method2,applied_price_ma2,3);
   double MA_3   = iMA(NULL,PERIOD_D1,period3,0,ma_method3,applied_price_ma3,4);
   double MA_4   = iMA(NULL,PERIOD_D1,period4,0,ma_method4,applied_price_ma4,5);
   
   bool Buy  = close>open && MA_0>MA_1 && MA_1>MA_2 && MA_2>MA_3 && MA_3>MA_4;
   bool Sell = close<open && MA_0<MA_1 && MA_1<MA_2 && MA_2<MA_3 && MA_3<MA_4;
//----
   total=OrdersTotal();
   if(!symbolOrders()) 
     {
      if(AccountFreeMargin()<(1000*Lots)){Print("We have no money. Free Margin = ", AccountFreeMargin());return(0);}
      if(Buy)
        {
         ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,0,0,MAGIC,0,Green);
         if(ticket>0)
           {
            if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES)) Print("BUY order opened : ",OrderOpenPrice());
           }
         else Print("Error opening BUY order : ",GetLastError()); 
         return(0); 
        }
      if(Sell)
        {
         ticket=OrderSend(Symbol(),OP_SELL,Lots,Bid,3,0,0,0,MAGIC,0,Red);
         if(ticket>0)
           {
            if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES)) Print("SELL order opened : ",OrderOpenPrice());
           }
         else Print("Error opening SELL order : ",GetLastError()); 
         return(0); 
        }
      return(0);
     }
   for(cnt=0;cnt<total;cnt++)
     {
      OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
      if(OrderType()<=OP_SELL &&   // check for opened position 
         OrderSymbol()==Symbol())  // check for symbol
        {
         if(OrderType()==OP_BUY)   // long position is opened
           {
            if(Sell)
                {
                 OrderClose(OrderTicket(),OrderLots(),Bid,3,Violet); // close position
                 return(0); // exit
                }
           }
         else // go to short position
           {
            if(Buy)
              {
               OrderClose(OrderTicket(),OrderLots(),Ask,3,Violet); // close position
               return(0); // exit
              }
           }
        }
     }
//----
   return(0);
  }
//+------------------------------------------------------------------+
原因: