生命线金蜘蛛加箱体
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD1:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD1,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
多空1:=IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
{WWW.GUPANG.COM 股旁网_最新股票指标公式}
指:=IF(C>400,多空1,DRAWNULL),COLORCYAN,LINETHICK1;
多空:IF(C<400,DMA(C,(VOL/CAPITAL)),指),LINETHICK1,COLORCYAN;
IF(多空<REF(多空,1),多空,DRAWNULL),LINETHICK1,COLORCYAN;
DRAWNUMBER(ISLASTBAR AND C>=多空,多空,多空),COLORCYAN;
DRAWNUMBER(ISLASTBAR AND C<多空,多空,多空),COLORCYAN;
MA3:EMA(C,3),COLORFFFFE5,LINETHICK0;
MA13:EMA(C,13),COLORYELLOW,LINETHICK0;
MA34:EMA(C,34),COLORFF00FF,LINETHICK0;
YCX:=MA3>=REF(MA3,1);
H1:=MAX(MAX(MA3,MA13),MA34);
L1:=MIN(MIN(MA3,MA13),MA34);
一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);
STICKLINE(一阳穿三线,O,C,2,0),COLORYELLOW;
DRAWTEXT(一阳穿三线,L-0.1, '金蜘蛛'),COLORGREEN;
做空:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;
卖出:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*2.5+XMA(XMA(H,25),25),DOTLINE,COLORCYAN;
做多:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
操盘线MA1:MA(CLOSE,M1),COLORFFFFFF,LINETHICK1;
震仓线MA2:MA(CLOSE,M2),COLORYELLOW,LINETHICK2;
趋势线MA3:MA(CLOSE,M3),LINETHICK2,COLORMAGENTA;
成本50:=COST(50 );
AMOV:=VOL*(OPEN+CLOSE)/2;
{K线类别}
VAR9Q:=C=HHV(C,4)AND (REF(C,1)>=REF(C,2)OR REF(C,1)>=REF(C,3))
OR REF(C,1)=HHV(C,4)AND CLOSE>=REF(C,2)OR REF(C,2)=HHV(C,4)
AND REF(C,3)=LLV(C,4)AND C>=REF(C,1)OR REF(C,3)=HHV(C,4)AND C>=REF(C,1)
AND C>=REF(C,2);
VARAQ:=C=HHV(C,4)AND REF(C,1)=LLV(C,4);
粉变:=VARAQ;
STICKLINE(VARAQ,C,(O+C)/2,3.5,0),COLOR981198;
STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORCC55CC;
STICKLINE(VARAQ,C,(O+C)/2,0.5,0),COLORFF99FF;
STICKLINE(VARAQ,C,(O+C)/2,0.1,0),COLORFFDDFF;
VARBQ:=C=LLV(C,4)AND(REF(C,1)<REF(C,2)OR REF(C,1)<REF(C,3))
OR REF(C,1)=LLV(C,4)AND C<REF(C,2)OR REF(C,2)=LLV(C,4)
AND REF(C,1)=HHV(C,4)AND C<REF(C,1)OR REF(C,3)=LLV(C,4)
AND C<REF(C,1)AND C<REF(C,2);灰跌:=VARBQ;
STICKLINE(VARBQ AND C>O,O,C-(C-O)/2,3.5,0),COLOR888888;
STICKLINE(VARBQ AND C>O,O,C-(C-O)/2,1,0),COLORAAAAAA;
STICKLINE(VARBQ AND C>O,O,C-(C-O)/2,0.5,0),COLORCCCCCC;
STICKLINE(VARBQ AND C>O,O,C-(C-O)/2,0.1,0),COLORFFFFFF;
STICKLINE(VARBQ AND C<O,C,O-(O-C)/2,2,0),COLOR888888;
STICKLINE(VARBQ AND C<O,C,O-(O-C)/2,1,0),COLORAAAAAA;
STICKLINE(VARBQ AND C<O,C,O-(O-C)/2,0.5,0),COLORCCCCCC;
STICKLINE(VARBQ AND C<O,C,O-(O-C)/2,0.1,0),COLORFFFFFF;
VARCQ:=REF(C,1)=LLV(C,4)AND C>=REF(C,2)OR REF(C,2)=LLV(C,4)
AND REF(C,1)<=REF(C,3)AND REF(C,2)<REF(C,4)AND C>=REF(C,1);
黄买:=VARCQ;
STICKLINE(VARCQ,O,(O+C)/2,4.5,0),COLORYELLOW;
STICKLINE(VARCQ,O,(O+C)/2,2,0),COLORYELLOW;
STICKLINE(VARCQ,O,(O+C)/2,0.5,0),COLORYELLOW;
STICKLINE(VARCQ,O,(O+C)/2,0.1,0),COLORYELLOW;
VARDQ:=REF(C,1)=HHV(C,4)AND C<REF(C,2)OR(REF(C,2)=HHV(C,4)
AND REF(C,1)>REF(C,3)OR REF(C,3)=HHV(C,4)AND REF(C,1)>REF(C,2))
AND REF(C,2)>=REF(C,4)AND C<REF(C,1);
绿抛:=VARDQ;
{WWW.52JUFU.COM 聚富_最新股票指标公式}
STICKLINE(VARDQ,O,(O+C)/2,3.5,0),COLORGREEN;
STICKLINE(VARDQ,O,(O+C)/2,2,0),COLORGREEN;
STICKLINE(VARDQ,O,(O+C)/2,0.5,0),COLORFFAA00;
STICKLINE(VARDQ,O,(O+C)/2,0.1,0),COLORGREEN;
DRAWTEXT_FIX(1,0.00,0,0,'所属地区:'),COLORWHITE;
DRAWTEXT_FIX(1,0.04,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.11,0,0,'所属行业:'),COLORWHITE;
DRAWTEXT_FIX(1,0.15,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.25,0,0,'概念题材:'),COLORWHITE;
DRAWTEXT_FIX(1,0.29,0,0,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.05,0,'风格板块:'),COLORWHITE;
VR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
BB:=(3*C+H+L+O)/6;
TB1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VR1 AND C>REF(C,1);
LBL:=FILTER(TB1,5);
TB2:=IF(BARSLAST(LBL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LBL)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(LBL)=3 AND CLOSE>REF(HIGH,3),1,0)));
TP:=TB2=1;
TB3:=IF(BARSLAST(LBL)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(LBL)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(LBL)=3 AND CLOSE>REF(LOW,3),1,0)));
STFZ:=TB3=1;
CL:=STFZ AND TP;
TBCL:=FILTER(CL,3);
STICKLINE(LBL,OPEN,CLOSE,1,0),COLORYELLOW;
DRAWTEXT(LBL,L*0.97,'黄金柱'),COLORYELLOW;箱顶:MA(REF(HHV(C,30),1),2),COLOR00FF00,LINETHICK2;
箱底:MA(REF(LLV(C,30),1),2),COLOR00FF00,LINETHICK2;买入:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*2.5,COLORFFFFE5,LINETHICK1;