最好的:=SMA(C,6.5,1);
股票:=SMA(C,13.5,1);{股票公式-股票指标www.gs6699.com}
STICKLINE(最好的>股票 , 最好的,股票 ,2.5, 0),COLORRED,LINETHICK2;
STICKLINE(股票>最好的,最好的,股票,2.5,0),COLORYELLOW,LINETHICK2;
DRAWTEXT( CROSS(最好的,股票),LOW *0.98,'☆买入' ),COLOR00FF00;
DRAWTEXT(CROSS(股票,最好的),H*1.02,'☆卖出'),COLORMAGENTA;
指标公式源码:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
dddccs1:指标公式源码+3*STD(指标公式源码,13),LINETHICK2;
dddccs2:指标公式源码-3*STD(指标公式源码,13);
dddccs3:MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'卖出') ,COLORFF9966,LINETHICK2;
dddccs4:=(2*C+H+L)/4;
ffddd1:=LLV(LOW,34);
ffddd2:=HHV(HIGH,34);
ffddda1:=EMA((dddccs4-ffddd1)/(ffddd2-ffddd1)*100,7);
ffddda2:=EMA(0.667*REF(ffddda1,1)+0.333*ffddda1,5);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) AND
COUNT(ffddda1>=ffddda2,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(ffddda1>ffddda2,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,''),COLORYELLOW;