WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,4);
WY1003:=EMA(WY1002,4);
WY1004:=EMA(WY1003,4);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
{STICKLINE(XYS0>=0,XYS0,0,1,0),COLORRED;}
{STICKLINE(XYS0<0,XYS0,0,1,0),COLORGREEN;}
PJGJ:=AMOUNT/VOL/100;
SSRYDJX:=MA(PJGJ,13);
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=SSRCJE/SSRCJL/100;
CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
XYSHSL:=EMA(VOL/CAPITAL*100,13);
ZZX:=0,COLORWHITE;
{STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,1 ,0 ),COLORGREEN;}
{STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,1 ,0 ),COLORYELLOW;}
{STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,1 ,0 ),COLORCYAN;}
{STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,1 ,0 ),COLORBLUE;}
XYS1:=MA(XYS0,2);
XYS2:=MA(XYS0,1);
{DRAWICON(CROSS(XYS1,XYS2),XYS1,2);}
{DRAWICON(CROSS(XYS2,XYS1),XYS2,1);}
捕捞季金叉:XYS2>ZZX AND XYS2>XYS1 AND REF(XYS2>XYS1,1);
九毛八公式解读
WY1001赋值:(2*收盘价+最高价+最低价)/4 WY1002赋值:WY1001的4日指数移动平均 WY1003赋值:WY1002的4日指数移动平均 WY1004赋值:WY1003的4日指数移动平均 XYS0赋值:(WY1004-1日前的WY1004)/1日前的WY1004*100 PJGJ赋值:成交额(元)/成交量(手)/100 SSRYDJX赋值:PJGJ的13日简单移动平均 SSRCJL赋值:成交量(手)的13日指数移动平均 SSRCJE赋值:成交额(元)的13日指数移动平均 SSRCBJX赋值:SSRCJE/SSRCJL/100 CYS13赋值:(收盘价-SSRCBJX)/SSRCBJX*100 XYSHSL赋值:成交量(手)/当前流通股本(手)*100的13日指数移动平均 ZZX赋值:0,画白色 XYS1赋值:XYS0的2日简单移动平均 XYS2赋值:XYS0的1日简单移动平均 输出捕捞季金叉:XYS2>ZZX AND XYS2>XYS1 AND 1日前的XYS2>XYS1