主力资金:=SMA(C,6.5,1);
指标公式:=SMA(C,13.5,1);
主力资金1:=SMA(C,3,1);
指标公式1:=SMA(C,8,1);{股票公式-股票指标www.gs6699.com}
STICKLINE(主力资金>指标公式 , 主力资金,指标公式 ,2, 0),COLORRED,LINETHICK2;
STICKLINE(指标公式>主力资金,主力资金,指标公式,2,0),COLORYELLOW,LINETHICK2;
cccsss1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
cccsss2:=cccsss1+3*STD(cccsss1,13),LINETHICK2;
cccsss3:=cccsss1-3*STD(cccsss1,13);
cccsss4:=MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
cccsss5:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT( CROSS(82,cccsss5) , HIGH*1.02,'减仓') ,COLORFF9966,LINETHICK2;
cccsss6:=(2*C+H+L)/4;
eeess:=MA(cccsss6,5);
eeess1:=MA(cccsss6,5)*1.03;
eeess2:=MA(cccsss6,5)*0.97;
eeessa1:=LLV(cccsss6,21);
eeessa2:=HHV(cccsss6,21);
eeesa1:=EMA((cccsss6-eeessa1)/(eeessa2-eeessa1)*100,7);
SD:=EMA(0.667*REF(eeesa1,1)+0.333*eeesa1,5);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) AND
COUNT(eeesa1>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'') ,COLOR0099FF;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 AND
COUNT(eeesa1>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND
OPEN>REF(CLOSE,1),1,0),LOW*0.98,'') ,COLORYELLOW;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,''),COLORRED;