乐于分享
好东西不私藏

亲测好用,这款免费EA源码直接把胜率拉满

亲测好用,这款免费EA源码直接把胜率拉满

大家好我是侠哥! 

 很多做外汇、期货的朋友都有一个感受:指标不是越多越好,关键是能不能把方向看明白。副图一旦乱成一团,各种信号来回闪,最后很容易追涨杀跌,明明看了一堆工具,反而越做越乱。

 今天分享一个我长期放在盘面里的辅助工具。它最大的价值,就是帮助判断市场背后的力量变化。

简单理解,就是看当前行情有没有持续承接,还是上方已经开始有人撤退。这样我们就不用只盯着K线表面的涨跌,而是能多一层资金状态的参考。

   

 它的使用门槛不高,默认设置就能满足大部分新手需求;如果你有自己的交易习惯,也可以根据周期、风格和品种去做调整,让它更贴合你的系统。

 实战中,我一般会看它和几条趋势参考线的位置关系。当指标整体运行在参考线之上,说明买方力量相对占优,思路可以偏向顺势找低位机会;如果长期处在参考线下方,就说明卖方压力更强,反弹反而要谨慎。

 其中那条更醒目的主趋势线,可以当作大方向过滤器。信号只有顺着它走,稳定性通常会更好。

 不会安装或者不会设置的朋友,可以问我:wzc10106。源码我放在下方,需要的朋友直接自取。

#property indicator_separate_window#property indicator_buffers    3#property indicator_color1     Green#property indicator_width1     4#property indicator_color2     Red#property indicator_width2     4#property indicator_color3     Gold#property indicator_width3     1//#property indicator_minimum    0.0//////////enum enPrices{   pr_close,      // Close   pr_open,       // Open   pr_high,       // High   pr_low,        // Low   pr_median,     // Median   pr_typical,    // Typical   pr_weighted,   // Weighted   pr_average,    // Average (high+low+open+close)/4   pr_medianb,    // Average median body (open+close)/2   pr_tbiased,    // Trend biased price   pr_haclose,    // Heiken ashi close   pr_haopen ,    // Heiken ashi open   pr_hahigh,     // Heiken ashi high   pr_halow,      // Heiken ashi low   pr_hamedian,   // Heiken ashi median   pr_hatypical,  // Heiken ashi typical   pr_haweighted, // Heiken ashi weighted   pr_haaverage,  // Heiken ashi average   pr_hamedianb,  // Heiken ashi median body   pr_hatbiased   // Heiken ashi trend biased price};enum maTypes{   ma_sma,     // simple moving average - SMA   ma_ema,     // exponential moving average - EMA   ma_dsema,   // double smoothed exponential moving average - DSEMA   ma_dema,    // double exponential moving average - DEMA   ma_tema,    // tripple exponential moving average - TEMA   ma_smma,    // smoothed moving average - SMMA   ma_lwma,    // linear weighted moving average - LWMA   ma_pwma,    // parabolic weighted moving average - PWMA   ma_alxma,   // Alexander moving average - ALXMA   ma_vwma,    // volume weighted moving average - VWMA   ma_hull,    // Hull moving average   ma_tma,     // triangular moving average   ma_sine,    // sine weighted moving average   ma_linr,    // linear regression value   ma_ie2,     // IE/2   ma_nlma,    // non lag moving average   ma_zlma,    // zero lag moving average   ma_lead,    // leader exponential moving average   ma_ssm,     // super smoother   ma_smoo     // smoother};//////////extern ENUM_TIMEFRAMES    TimeFrame       = PERIOD_CURRENT;extern enPrices           Price           = pr_close; // Price to use extern int                FastMa          = 20;extern int                SlowMa          = 40;extern maTypes            MaMethod        = 19;extern int                BandsLength     = 21;extern ENUM_APPLIED_PRICE BandsPrice      = PRICE_CLOSE;extern double             BandsDeviation  = 2.0;extern int                Sensitive       = 50;extern bool               alertsOn        = false;extern bool               alertsOnCurrent = true;extern bool               alertsMessage   = true;extern bool               alertsSound     = false;extern bool               alertsNotify    = false;extern bool               alertsEmail     = false;extern string             soundFile       = "alert2.wav";extern bool               Interpolate     = true;//////////double buffer1[];double buffer2[];double buffer3[]; double macd[];double avg[];double avgUp[];double avgDn[];double prices[];string indicatorFileName;bool   returnBars;//+------------------------------------------------------------------+//|                                                                  |//+------------------------------------------------------------------+//////////int init(){   IndicatorBuffers(8);   SetIndexBuffer(0,buffer1); SetIndexStyle(0, DRAW_HISTOGRAM);   SetIndexBuffer(1,buffer2); SetIndexStyle(1, DRAW_HISTOGRAM);   SetIndexBuffer(2,buffer3);   SetIndexBuffer(3,macd);   SetIndexBuffer(4,avg);   SetIndexBuffer(5,avgUp);   SetIndexBuffer(6,avgDn);   SetIndexBuffer(7,prices);   indicatorFileName = WindowExpertName();   returnBars        = TimeFrame==-99;   TimeFrame         = MathMax(TimeFrame,_Period);   IndicatorShortName(timeFrameToString(TimeFrame)+"  WaddahAttarExplosion of "+getAverageName(MaMethod)+" ("+FastMa+","+SlowMa+","+BandsLength+")");   return(0);}int deinit() {  return(0); }//+------------------------------------------------------------------+//|                                                                  |//+------------------------------------------------------------------+//////////int start(){   int counted_bars=IndicatorCounted();   int i,limit;   if(counted_bars < 0return(-1);   if(counted_bars > 0) counted_bars--;           limit = MathMin(Bars-counted_bars,Bars-1);            if (returnBars)  { buffer1[0] = limit+1return(0); }    //   //   //   //   //   if (TimeFrame == Period())   {       for(i=limit; i>=0; i--)       {                macd[i]   = iCustomMa(MaMethod,getPrice(Price,Open,Close,High,Low,i),FastMa,i,0)-iCustomMa(MaMethod,getPrice(Price,Open,Close,High,Low,i),SlowMa,i,1);         double Trend1    = (macd[i] - macd[i+1]) * Sensitive;                prices[i] = getPrice(BandsPrice,Open,Close,High,Low,i);                avg[i]    = iCustomMa(MaMethod,prices[i],BandsLength,i,2);         double sDev      = iDeviation(prices,BandsLength,avg[i],i);                avgUp[i]  = avg[i] + BandsDeviation * sDev;                avgDn[i]  = avg[i] - BandsDeviation * sDev;                buffer3[i]= avgUp[i]-avgDn[i];                  buffer1[i] = EMPTY_VALUE;                buffer2[i] = EMPTY_VALUE;                   if(Trend1>0) buffer1[i] = Trend1;                   if(Trend1<0) buffer2[i] = (-1*Trend1);                }       //       //       //       //       //       if (alertsOn)       {         if (alertsOnCurrent)              int whichBar = 0;         else     whichBar = 1         //         //         //         //         //         if (buffer1[whichBar+1] == EMPTY_VALUE && buffer1[whichBar] != EMPTY_VALUE) doAlert(whichBar,"up");         if (buffer2[whichBar+1] == EMPTY_VALUE && buffer2[whichBar] != EMPTY_VALUE) doAlert(whichBar,"down");      }  return(0);  }  //  //  //  //  //  limit = MathMax(limit,MathMin(Bars-1,iCustom(NULL,TimeFrame,indicatorFileName,-99,0,0)*TimeFrame/Period()));  for(i=limit; i>=0; i--)  {     int y = iBarShift(NULL,TimeFrame,Time[i]);        buffer1[i] = iCustom(NULL,TimeFrame,indicatorFileName,PERIOD_CURRENT,Price,FastMa,SlowMa,MaMethod,BandsLength,BandsPrice,BandsDeviation,Sensitive,alertsOn,alertsOnCurrent,alertsMessage,alertsSound,alertsNotify,alertsEmail,soundFile,0,y);        buffer2[i] = iCustom(NULL,TimeFrame,indicatorFileName,PERIOD_CURRENT,Price,FastMa,SlowMa,MaMethod,BandsLength,BandsPrice,BandsDeviation,Sensitive,alertsOn,alertsOnCurrent,alertsMessage,alertsSound,alertsNotify,alertsEmail,soundFile,1,y);        buffer3[i] = iCustom(NULL,TimeFrame,indicatorFileName,PERIOD_CURRENT,Price,FastMa,SlowMa,MaMethod,BandsLength,BandsPrice,BandsDeviation,Sensitive,alertsOn,alertsOnCurrent,alertsMessage,alertsSound,alertsNotify,alertsEmail,soundFile,2,y);        //        //        //        //        //        if (!Interpolate || y==iBarShift(NULL,TimeFrame,Time[i-1])) continue;        //        //        //        //        //        datetime time = iTime(NULL,TimeFrame,y);           for(int n = 1; i+n < Bars && Time[i+n] >= time; n++) continue;           for(int x = 1; x < n; x++) buffer3[i+x] = buffer3[i] + (buffer3[i+n] - buffer3[i]) * x/n;  }return(0);}//+-------------------------------------------------------------------//|                                                                  //+-------------------------------------------------------------------//////////double iDeviation(double& array[], double period, double ma, int i){   double sum = 0.00;      for(int k=0; k<period; k++) sum += (array[i+k]-ma)*(array[i+k]-ma);   return(MathSqrt(sum/period));}//////////string sTfTable[] = {"M1","M5","M10","M15","M30","H1","H4","D1","W1","MN"};int    iTfTable[] = {1,5,10,15,30,60,240,1440,10080,43200};string timeFrameToString(int tf){   for (int i=ArraySize(iTfTable)-1; i>=0; i--)          if (tf==iTfTable[i]) return(sTfTable[i]);                              return("");}//------------------------------------------------------------------//                                                                  //------------------------------------------------------------------//////////string methodNames[] = {"SMA","EMA","Double smoothed EMA","Double EMA","Triple EMA","Smoothed MA","Linear weighted MA","Parabolic weighted MA","Alexander MA","Volume weghted MA","Hull MA","Triangular MA","Sine weighted MA","Linear regression","IE/2","NonLag MA","Zero lag EMA","Leader EMA","Super smoother","Smoother"};string getAverageName(int method){   int max = ArraySize(methodNames)-1;      method=MathMax(MathMin(method,max),0); return(methodNames[method]);}//////////#define _maWorkBufferx1 3#define _maWorkBufferx2 6#define _maWorkBufferx3 9#define _maWorkBufferx5 15double iCustomMa(int mode, double price, double length, int i, int instanceNo=0){   int r = Bars-i-1;   switch (mode)   {      case 0  : return(iSma(price,length,r,instanceNo));      case 1  : return(iEma(price,length,r,instanceNo));      case 2  : return(iDsema(price,length,r,instanceNo));      case 3  : return(iDema(price,length,r,instanceNo));      case 4  : return(iTema(price,length,r,instanceNo));      case 5  : return(iSmma(price,length,r,instanceNo));      case 6  : return(iLwma(price,length,r,instanceNo));      case 7  : return(iLwmp(price,length,r,instanceNo));      case 8  : return(iAlex(price,length,r,instanceNo));      case 9  : return(iWwma(price,length,r,instanceNo));      case 10 : return(iHull(price,length,r,instanceNo));      case 11 : return(iTma(price,length,r,instanceNo));      case 12 : return(iSineWMA(price,length,r,instanceNo));      case 13 : return(iLinr(price,length,r,instanceNo));      case 14 : return(iIe2(price,length,r,instanceNo));      case 15 : return(iNonLagMa(price,length,r,instanceNo));      case 16 : return(iZeroLag(price,length,r,instanceNo));      case 17 : return(iLeader(price,length,r,instanceNo));      case 18 : return(iSsm(price,length,r,instanceNo));      case 19 : return(iSmooth(price,length,r,instanceNo));      default : return(0);   }}//------------------------------------------------------------------//                                                                  //------------------------------------------------------------------//////////double workSma[][_maWorkBufferx2];double iSma(double price, int period, int r, int instanceNo=0){   if (ArrayRange(workSma,0)!= Bars) ArrayResize(workSma,Bars); instanceNo *= 2;   //   //   //   //   //   workSma[r][instanceNo] = price;   if (r>=period)          workSma[r][instanceNo+1] = workSma[r-1][instanceNo+1]+(workSma[r][instanceNo]-workSma[r-period][instanceNo])/period;   else { workSma[r][instanceNo+1] = 0for(int k=0; k<period && (r-k)>=0; k++) workSma[r][instanceNo+1] += workSma[r-k][instanceNo];            workSma[r][instanceNo+1] /= k; }   return(workSma[r][instanceNo+1]);}//////////double workEma[][_maWorkBufferx1];double iEma(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workEma,0)!= Bars) ArrayResize(workEma,Bars);   //   //   //   //   //   double alpha = 2.0 / (1.0+period);          workEma[r][instanceNo] = workEma[r-1][instanceNo]+alpha*(price-workEma[r-1][instanceNo]);   return(workEma[r][instanceNo]);}//////////double workDsema[][_maWorkBufferx2];#define _ema1 0#define _ema2 1double iDsema(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workDsema,0)!= Bars) ArrayResize(workDsema,Bars); instanceNo*=2;   //   //   //   //   //   double alpha = 2.0 /(1.0+MathSqrt(period));          workDsema[r][_ema1+instanceNo] = workDsema[r-1][_ema1+instanceNo]+alpha*(price                         -workDsema[r-1][_ema1+instanceNo]);          workDsema[r][_ema2+instanceNo] = workDsema[r-1][_ema2+instanceNo]+alpha*(workDsema[r][_ema1+instanceNo]-workDsema[r-1][_ema2+instanceNo]);   return(workDsema[r][_ema2+instanceNo]);}//////////double workDema[][_maWorkBufferx2];#define _dema1 0#define _dema2 1double iDema(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workDema,0)!= Bars) ArrayResize(workDema,Bars); instanceNo*=2;   //   //   //   //   //   double alpha = 2.0 / (1.0+period);          workDema[r][_dema1+instanceNo] = workDema[r-1][_dema1+instanceNo]+alpha*(price                         -workDema[r-1][_dema1+instanceNo]);          workDema[r][_dema2+instanceNo] = workDema[r-1][_dema2+instanceNo]+alpha*(workDema[r][_dema1+instanceNo]-workDema[r-1][_dema2+instanceNo]);   return(workDema[r][_dema1+instanceNo]*2.0-workDema[r][_dema2+instanceNo]);}//////////double workTema[][_maWorkBufferx3];#define _tema1 0#define _tema2 1#define _tema3 2double iTema(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workTema,0)!= Bars) ArrayResize(workTema,Bars); instanceNo*=3;   //   //   //   //   //   double alpha = 2.0 / (1.0+period);          workTema[r][_tema1+instanceNo] = workTema[r-1][_tema1+instanceNo]+alpha*(price                         -workTema[r-1][_tema1+instanceNo]);          workTema[r][_tema2+instanceNo] = workTema[r-1][_tema2+instanceNo]+alpha*(workTema[r][_tema1+instanceNo]-workTema[r-1][_tema2+instanceNo]);          workTema[r][_tema3+instanceNo] = workTema[r-1][_tema3+instanceNo]+alpha*(workTema[r][_tema2+instanceNo]-workTema[r-1][_tema3+instanceNo]);   return(workTema[r][_tema3+instanceNo]+3.0*(workTema[r][_tema1+instanceNo]-workTema[r][_tema2+instanceNo]));}//////////double workSmma[][_maWorkBufferx1];double iSmma(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workSmma,0)!= Bars) ArrayResize(workSmma,Bars);   //   //   //   //   //   if (r<period)         workSmma[r][instanceNo] = price;   else  workSmma[r][instanceNo] = workSmma[r-1][instanceNo]+(price-workSmma[r-1][instanceNo])/period;   return(workSmma[r][instanceNo]);}//////////double workLwma[][_maWorkBufferx1];double iLwma(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workLwma,0)!= Bars) ArrayResize(workLwma,Bars);   //   //   //   //   //   workLwma[r][instanceNo] = price;      double sumw = period;      double sum  = period*price;      for(int k=1; k<period && (r-k)>=0; k++)      {         double weight = period-k;                sumw  += weight;                sum   += weight*workLwma[r-k][instanceNo];        }                   return(sum/sumw);}//////////double workLwmp[][_maWorkBufferx1];double iLwmp(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workLwmp,0)!= Bars) ArrayResize(workLwmp,Bars);   //   //   //   //   //   workLwmp[r][instanceNo] = price;      double sumw = period*period;      double sum  = sumw*price;      for(int k=1; k<period && (r-k)>=0; k++)      {         double weight = (period-k)*(period-k);                sumw  += weight;                sum   += weight*workLwmp[r-k][instanceNo];        }                   return(sum/sumw);}//////////double workAlex[][_maWorkBufferx1];double iAlex(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workAlex,0)!= Bars) ArrayResize(workAlex,Bars);   if (period<4return(price);   //   //   //   //   //   workAlex[r][instanceNo] = price;      double sumw = period-2;      double sum  = sumw*price;      for(int k=1; k<period && (r-k)>=0; k++)      {         double weight = period-k-2;                sumw  += weight;                sum   += weight*workAlex[r-k][instanceNo];        }                   return(sum/sumw);}//////////double workTma[][_maWorkBufferx1];double iTma(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workTma,0)!= Bars) ArrayResize(workTma,Bars);   //   //   //   //   //   workTma[r][instanceNo] = price;      double half = (period+1.0)/2.0;      double sum  = price;      double sumw = 1;      for(int k=1; k<period && (r-k)>=0; k++)      {         double weight = k+1if (weight > half) weight = period-k;                sumw  += weight;                sum   += weight*workTma[r-k][instanceNo];        }                   return(sum/sumw);}//////////double workSineWMA[][_maWorkBufferx1];#define Pi 3.14159265358979323846264338327950288double iSineWMA(double price, int period, int r, int instanceNo=0){   if (period<1return(price);   if (ArrayRange(workSineWMA,0)!= Bars) ArrayResize(workSineWMA,Bars);   //   //   //   //   //   workSineWMA[r][instanceNo] = price;      double sum  = 0;      double sumw = 0;      for(int k=0; k<period && (r-k)>=0; k++)      {          double weight = MathSin(Pi*(k+1.0)/(period+1.0));                sumw  += weight;                sum   += weight*workSineWMA[r-k][instanceNo];       }      return(sum/sumw);}//////////double workWwma[][_maWorkBufferx1];double iWwma(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workWwma,0)!= Bars) ArrayResize(workWwma,Bars);   //   //   //   //   //   workWwma[r][instanceNo] = price;      int    i    = Bars-r-1;      double sumw = Volume[i];      double sum  = sumw*price;      for(int k=1; k<period && (r-k)>=0; k++)      {         double weight = Volume[i+k];                sumw  += weight;                sum   += weight*workWwma[r-k][instanceNo];        }                   return(sum/sumw);}//////////double workHull[][_maWorkBufferx2];double iHull(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workHull,0)!= Bars) ArrayResize(workHull,Bars);   //   //   //   //   //      int HmaPeriod  = MathMax(period,2);      int HalfPeriod = MathFloor(HmaPeriod/2);      int HullPeriod = MathFloor(MathSqrt(HmaPeriod));      double hma,hmw,weight; instanceNo *= 2;         workHull[r][instanceNo] = price;         //         //         //         //         //         hmw = HalfPeriod; hma = hmw*price;             for(int k=1; k<HalfPeriod && (r-k)>=0; k++)            {               weight = HalfPeriod-k;               hmw   += weight;               hma   += weight*workHull[r-k][instanceNo];              }                         workHull[r][instanceNo+1] = 2.0*hma/hmw;         hmw = HmaPeriod; hma = hmw*price;             for(k=1; k<period && (r-k)>=0; k++)            {               weight = HmaPeriod-k;               hmw   += weight;               hma   += weight*workHull[r-k][instanceNo];            }                         workHull[r][instanceNo+1] -= hma/hmw;         //         //         //         //         //         hmw = HullPeriod; hma = hmw*workHull[r][instanceNo+1];            for(k=1; k<HullPeriod && (r-k)>=0; k++)            {               weight = HullPeriod-k;               hmw   += weight;               hma   += weight*workHull[r-k][1+instanceNo];              }   return(hma/hmw);}//////////double workLinr[][_maWorkBufferx1];double iLinr(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workLinr,0)!= Bars) ArrayResize(workLinr,Bars);   //   //   //   //   //      period = MathMax(period,1);      workLinr[r][instanceNo] = price;         double lwmw = period; double lwma = lwmw*price;         double sma  = price;         for(int k=1; k<period && (r-k)>=0; k++)         {            double weight = period-k;                   lwmw  += weight;                   lwma  += weight*workLinr[r-k][instanceNo];                     sma   +=        workLinr[r-k][instanceNo];         }                return(3.0*lwma/lwmw-2.0*sma/period);}//////////double workIe2[][_maWorkBufferx1];double iIe2(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workIe2,0)!= Bars) ArrayResize(workIe2,Bars);   //   //   //   //   //      period = MathMax(period,1);      workIe2[r][instanceNo] = price;         double sumx=0, sumxx=0, sumxy=0, sumy=0;         for (int k=0; k<period; k++)         {            price = workIe2[r-k][instanceNo];                   sumx  += k;                   sumxx += k*k;                   sumxy += k*price;                   sumy  +=   price;         }         double tslope  = (period*sumxy - sumx*sumy)/(sumx*sumx-period*sumxx);         double average = sumy/period;   return(((average+tslope)+(sumy+tslope*sumx)/period)/2.0);}//////////double workLeader[][_maWorkBufferx2];double iLeader(double price, double period, int r, int instanceNo=0){   if (ArrayRange(workLeader,0)!= Bars) ArrayResize(workLeader,Bars); instanceNo*=2;   //   //   //   //   //      period = MathMax(period,1);      double alpha = 2.0/(period+1.0);         workLeader[r][instanceNo  ] = workLeader[r-1][instanceNo  ]+alpha*(price                          -workLeader[r-1][instanceNo  ]);         workLeader[r][instanceNo+1] = workLeader[r-1][instanceNo+1]+alpha*(price-workLeader[r][instanceNo]-workLeader[r-1][instanceNo+1]);   return(workLeader[r][instanceNo]+workLeader[r][instanceNo+1]);}//////////double workZl[][_maWorkBufferx2];#define _price 0#define _zlema 1double iZeroLag(double price, double length, int r, int instanceNo=0){   if (ArrayRange(workZl,0)!=Bars) ArrayResize(workZl,Bars); instanceNo *= 2; workZl[r][_price+instanceNo] = price;   //   //   //   //   //   double median = 0;   double alpha  = 2.0/(1.0+length);    int    per    = (length-1.0)/2.0;   if (r<per)          workZl[r][_zlema+instanceNo] = price;   else         {         if ((int)length%2==0)               median = (workZl[r-per][_price+instanceNo]+workZl[r-per-1][_price+instanceNo])/2.0;         else  median =  workZl[r-per][_price+instanceNo];         workZl[r][_zlema+instanceNo] = workZl[r-1][_zlema+instanceNo]+alpha*(2.0*price-median-workZl[r-1][_zlema+instanceNo]);      }               return(workZl[r][_zlema+instanceNo]);}//////////double workSmooth[][_maWorkBufferx5];double iSmooth(double price,int length,int r, int instanceNo=0){   if (ArrayRange(workSmooth,0)!=Bars) ArrayResize(workSmooth,Bars); instanceNo *= 5; 	if(r<=2) { workSmooth[r][instanceNo] = price; workSmooth[r][instanceNo+2] = price; workSmooth[r][instanceNo+4] = price; return(price); }   //   //   //   //   //	double alpha = 0.45*(length-1.0)/(0.45*(length-1.0)+2.0);   	  workSmooth[r][instanceNo+0] =  price+alpha*(workSmooth[r-1][instanceNo]-price);	     workSmooth[r][instanceNo+1] = (price - workSmooth[r][instanceNo])*(1-alpha)+alpha*workSmooth[r-1][instanceNo+1];	     workSmooth[r][instanceNo+2] =  workSmooth[r][instanceNo+0] + workSmooth[r][instanceNo+1];	     workSmooth[r][instanceNo+3] = (workSmooth[r][instanceNo+2] - workSmooth[r-1][instanceNo+4])*MathPow(1.0-alpha,2) + MathPow(alpha,2)*workSmooth[r-1][instanceNo+3];	     workSmooth[r][instanceNo+4] =  workSmooth[r][instanceNo+3] + workSmooth[r-1][instanceNo+4];    return(workSmooth[r][instanceNo+4]);}//////////double workSsm[][_maWorkBufferx2];#define _tprice  0#define _ssm    1double workSsmCoeffs[][4];#define _period 0#define _c1     1#define _c2     2#define _c3     3//////////double iSsm(double price, double period, int i, int instanceNo){   if (ArrayRange(workSsm,0) !=Bars)                 ArrayResize(workSsm,Bars);   if (ArrayRange(workSsmCoeffs,0) < (instanceNo+1)) ArrayResize(workSsmCoeffs,instanceNo+1);   if (workSsmCoeffs[instanceNo][_period] != period)   {      workSsmCoeffs[instanceNo][_period] = period;      double a1 = MathExp(-1.414*Pi/period);      double b1 = 2.0*a1*MathCos(1.414*Pi/period);         workSsmCoeffs[instanceNo][_c2] = b1;         workSsmCoeffs[instanceNo][_c3] = -a1*a1;         workSsmCoeffs[instanceNo][_c1] = 1.0 - workSsmCoeffs[instanceNo][_c2] - workSsmCoeffs[instanceNo][_c3];   }   //   //   //   //   //      int s = instanceNo*2;             workSsm[i][s+_tprice] = price;          workSsm[i][s+_ssm]    = workSsmCoeffs[instanceNo][_c1]*(workSsm[i][s+_tprice]+workSsm[i-1][s+_price])/2.0 +                                   workSsmCoeffs[instanceNo][_c2]*workSsm[i-1][s+_ssm]                               +                                   workSsmCoeffs[instanceNo][_c3]*workSsm[i-2][s+_ssm];    return(workSsm[i][s+_ssm]);}//////////#define _length  0#define _len     1#define _weight  2double  nlmvalues[3][_maWorkBufferx1];double  nlmprices[ ][_maWorkBufferx1];double  nlmalphas[ ][_maWorkBufferx1];//////////double iNonLagMa(double price, double length, int r, int instanceNo=0){   if (ArrayRange(nlmprices,0) != Bars)       ArrayResize(nlmprices,Bars);   if (ArrayRange(nlmvalues,0) <  instanceNo) ArrayResize(nlmvalues,instanceNo);                               nlmprices[r][instanceNo]=price;   if (length<3 || r<3return(nlmprices[r][instanceNo]);   //   //   //   //   //   if (nlmvalues[_length][instanceNo] != length  || ArraySize(nlmalphas)==0)   {      double Cycle = 4.0;      double Coeff = 3.0*Pi;      int    Phase = length-1;         nlmvalues[_length][instanceNo] = length;         nlmvalues[_len   ][instanceNo] = length*4 + Phase;           nlmvalues[_weight][instanceNo] = 0;         if (ArrayRange(nlmalphas,0) < nlmvalues[_len][instanceNo]) ArrayResize(nlmalphas,nlmvalues[_len][instanceNo]);         for (int k=0; k<nlmvalues[_len][instanceNo]; k++)         {            if (k<=Phase-1                 double t = 1.0 * k/(Phase-1);            else        t = 1.0 + (k-Phase+1)*(2.0*Cycle-1.0)/(Cycle*length-1.0);             double beta = MathCos(Pi*t);            double g = 1.0/(Coeff*t+1); if (t <= 0.5 ) g = 1;            nlmalphas[k][instanceNo]        = g * beta;            nlmvalues[_weight][instanceNo] += nlmalphas[k][instanceNo];         }   }   //   //   //   //   //   if (nlmvalues[_weight][instanceNo]>0)   {      double sum = 0;           for (k=0; k < nlmvalues[_len][instanceNo]; k++) sum += nlmalphas[k][instanceNo]*nlmprices[r-k][instanceNo];           return( sum / nlmvalues[_weight][instanceNo]);   }   else return(0);           }//+------------------------------------------------------------------//|                                                                  //+------------------------------------------------------------------////////////double workHa[][4];double getPrice(int price, const double& open[], const double& close[], const double& high[], const double& low[], int i, int instanceNo=0){  if (price>=pr_haclose && price<=pr_hatbiased)   {      if (ArrayRange(workHa,0)!= Bars) ArrayResize(workHa,Bars);         int r = Bars-i-1;         //         //         //         //         //         double haOpen;         if (r>0)                haOpen  = (workHa[r-1][instanceNo+2] + workHa[r-1][instanceNo+3])/2.0;         else   haOpen  = (open[i]+close[i])/2;         double haClose = (open[i] + high[i] + low[i] + close[i]) / 4.0;         double haHigh  = MathMax(high[i], MathMax(haOpen,haClose));         double haLow   = MathMin(low[i] , MathMin(haOpen,haClose));         if(haOpen  <haClose) { workHa[r][instanceNo+0] = haLow;  workHa[r][instanceNo+1] = haHigh; }          else                 { workHa[r][instanceNo+0] = haHigh; workHa[r][instanceNo+1] = haLow;  }                                 workHa[r][instanceNo+2] = haOpen;                                workHa[r][instanceNo+3] = haClose;         //         //         //         //         //         switch (price)         {            case pr_haclose:     return(haClose);            case pr_haopen:      return(haOpen);            case pr_hahigh:      return(haHigh);            case pr_halow:       return(haLow);            case pr_hamedian:    return((haHigh+haLow)/2.0);            case pr_hamedianb:   return((haOpen+haClose)/2.0);            case pr_hatypical:   return((haHigh+haLow+haClose)/3.0);            case pr_haweighted:  return((haHigh+haLow+haClose+haClose)/4.0);            case pr_haaverage:   return((haHigh+haLow+haClose+haOpen)/4.0);            case pr_hatbiased:               if (haClose>haOpen)                     return((haHigh+haClose)/2.0);               else  return((haLow+haClose)/2.0);                 }   }   //   //   //   //   //   switch (price)   {      case pr_close:     return(close[i]);      case pr_open:      return(open[i]);      case pr_high:      return(high[i]);      case pr_low:       return(low[i]);      case pr_median:    return((high[i]+low[i])/2.0);      case pr_medianb:   return((open[i]+close[i])/2.0);      case pr_typical:   return((high[i]+low[i]+close[i])/3.0);      case pr_weighted:  return((high[i]+low[i]+close[i]+close[i])/4.0);      case pr_average:   return((high[i]+low[i]+close[i]+open[i])/4.0);      case pr_tbiased:                  if (close[i]>open[i])                     return((high[i]+close[i])/2.0);               else  return((low[i]+close[i])/2.0);           }   return(0);}//////////void doAlert(int forBar, string doWhat){   static string   previousAlert="nothing";   static datetime previousTime;   string message;      if (previousAlert != doWhat || previousTime != Time[forBar]) {          previousAlert  = doWhat;          previousTime   = Time[forBar];          //          //          //          //          //           message =  StringConcatenate(Symbol()," at ",TimeToStr(TimeLocal(),TIME_SECONDS)," WaddahAttarExplosion ",doWhat);             if (alertsMessage) Alert(message);             if (alertsNotify)  SendNotification(message);             if (alertsEmail)   SendMail(StringConcatenate(Symbol(), Period(), " WaddahAttarExplosion "),message);             if (alertsSound)   PlaySound("alert2.wav");      }}由于时间有限加上对源码的追溯做不到最终解释权,所以我们提供的源码EA仅仅只能用来做模拟测试使用,严格禁止商业使用和跑实盘!
基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-06-12 19:17:30 HTTP/1.1 GET : https://www.yeyulingfeng.com/a/739764.html
  2. 运行时间 : 0.175621s [ 吞吐率:5.69req/s ] 内存消耗:4,863.76kb 文件加载:145
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=b28ca1c6176661e5f51f636dc935a5f2
  1. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/autoload_static.php ( 6.05 KB )
  7. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
  10. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  11. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  12. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  13. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  14. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  15. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  16. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  17. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  18. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  19. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/guzzlehttp/guzzle/src/functions_include.php ( 0.16 KB )
  21. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/guzzlehttp/guzzle/src/functions.php ( 5.54 KB )
  22. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  23. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  24. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  25. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/provider.php ( 0.19 KB )
  26. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  27. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  28. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  29. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/common.php ( 0.03 KB )
  30. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  32. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/alipay.php ( 3.59 KB )
  33. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  34. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/app.php ( 0.95 KB )
  35. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/cache.php ( 0.78 KB )
  36. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/console.php ( 0.23 KB )
  37. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/cookie.php ( 0.56 KB )
  38. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/database.php ( 2.48 KB )
  39. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/filesystem.php ( 0.61 KB )
  40. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/lang.php ( 0.91 KB )
  41. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/log.php ( 1.35 KB )
  42. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/middleware.php ( 0.19 KB )
  43. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/route.php ( 1.89 KB )
  44. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/session.php ( 0.57 KB )
  45. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/trace.php ( 0.34 KB )
  46. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/view.php ( 0.82 KB )
  47. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/event.php ( 0.25 KB )
  48. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  49. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/service.php ( 0.13 KB )
  50. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/AppService.php ( 0.26 KB )
  51. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  52. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  53. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  54. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  55. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  56. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/services.php ( 0.14 KB )
  57. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  58. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  59. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  60. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  61. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  62. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  63. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  64. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  65. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  66. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  67. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  68. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  69. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  70. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  71. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  72. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  73. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  74. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  75. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  76. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  77. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  78. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  79. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  80. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  81. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  82. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  83. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  84. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  85. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  86. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  87. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/Request.php ( 0.09 KB )
  88. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  89. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/middleware.php ( 0.25 KB )
  90. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  91. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  92. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  93. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  94. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  95. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  96. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  97. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  98. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  99. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  100. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  101. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  102. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  103. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/route/app.php ( 3.94 KB )
  104. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  105. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  106. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/controller/Index.php ( 9.87 KB )
  108. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/BaseController.php ( 2.05 KB )
  109. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  110. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  111. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  112. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  113. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  114. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  115. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  116. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  117. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  118. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  119. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  120. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  121. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  122. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  123. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  124. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  125. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  126. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  127. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  128. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  129. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  130. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  131. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  132. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  133. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  134. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  135. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/controller/Es.php ( 3.30 KB )
  136. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  137. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  138. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  139. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  140. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  141. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  142. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  143. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  144. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/runtime/temp/c935550e3e8a3a4c27dd94e439343fdf.php ( 31.50 KB )
  145. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000760s ] mysql:host=127.0.0.1;port=3306;dbname=wenku;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000792s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000334s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000293s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000503s ]
  6. SELECT * FROM `set` [ RunTime:0.000208s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000605s ]
  8. SELECT * FROM `article` WHERE `id` = 739764 LIMIT 1 [ RunTime:0.000612s ]
  9. UPDATE `article` SET `lasttime` = 1781263050 WHERE `id` = 739764 [ RunTime:0.002845s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 64 LIMIT 1 [ RunTime:0.000245s ]
  11. SELECT * FROM `article` WHERE `id` < 739764 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000419s ]
  12. SELECT * FROM `article` WHERE `id` > 739764 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.001271s ]
  13. SELECT * FROM `article` WHERE `id` < 739764 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001691s ]
  14. SELECT * FROM `article` WHERE `id` < 739764 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.006356s ]
  15. SELECT * FROM `article` WHERE `id` < 739764 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.001191s ]
0.178920s