{李四太极图主图}
{当日盘中虚拟成交量XNV}
XNV:=IF(CURRBARSCOUNT=1 AND PERIOD=5,DYNAINFO(17)*REF(MA(V,5),1),VOL);
VV:=IF(C<O AND V>=HHV(V,5),1898,V);{过滤掉5天大以上的阴柱}
{神奇组合线}
MIDD:=((H+O+C+L)/4+C)/2;
GJ1:=SMA(((MIDD+EMA(MIDD,3)+EMA(MIDD,5))/3),3,2);
SD1:=BACKSET(GJ1/REF(GJ1,1)>=1.00898,2);
先锋:=GJ1,COLORCYAN,LINETHICK1;
后援1:=IF(SD1,GJ1,DRAWNULL),COLORRED;
GJ2:=SMA(EMA(MIDD,8)*0.9898,3,2)*1.0118;
SD2:=BACKSET(GJ2/REF(GJ2,1)>=1.00898,2);
中锋:=GJ2,COLORCYAN,LINETHICK1;
后援2:=IF(SD2,GJ2,DRAWNULL),COLORRED;
SDD1:=SD1 AND SD2;
SDD2:=NOT(SD1) AND NOT(SD2);
SDD3:=SD1 AND NOT(SD2);
SDD4:=NOT(SD1) AND SD2;
STICKLINE(SDD1,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(SDD2,OPEN,CLOSE,3,1),COLORCYAN;
STICKLINE(SDD3,MAX(O,C),(O+C)/2,3,0),COLORRED;
STICKLINE(SDD3,MIN(O,C),(O+C)/2,3,1),COLORCYAN;
STICKLINE(SDD4,MAX(O,C),(O+C)/2,3,1),COLORCYAN;
STICKLINE(SDD4,MIN(O,C),(O+C)/2,3,0),COLORRED;
{均线}
市场生命线:COST(100*SMA(LLV(WINNER(C),55),5,3)),COLORRED;
{顶底互换黄金架线柱}
LZ881:=XNV>=1.898*REF(V,1) AND XNV >=HHV(VV,33);
LZ882:=XNV >=HHV(VV,88);
LZ88:=LZ881 OR LZ882;
HJJZ:=LZ88 AND C/O>1.0418 AND C>=HHV(C,88)
AND C/REF(C,1)>1.05898 AND H/C<1.02898;{顶底互换黄金架线柱}
STICKLINE(HJJZ,C,C*1.005898,8,0),COLORYELLOW;{顶底互换黄金架线柱};
|