以下是同花顺泾渭分明主图指标
同花顺泾渭分明主图指标
源码
MA20:MA(CLOSE,20),coloryellow;渭水:=MA(CLOSE,72);泾水:=MA(CLOSE,181);STICKLINE(渭水>泾水,泾水,渭水,0.10,1),colorred;STICKLINE(泾水>渭水,渭水,泾水,0.10,1),COLOR00FF00;顶:MA(CLOSE,20)*(1+(72/1000)), colorwhite;底:MA(CLOSE,20)*(1-(72/1000)), colorwhite;外顶:MA(CLOSE,20)*(1+(72*2/1000)),COLOR00ffff;外底:MA(CLOSE,20)*(1-(72*2/1000)),COLOR00ffff;TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);TT1:=REF(EMA(TT2,3),1);RSV:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;K:=SMA(RSV,4,1);D:=SMA(K,3,1);J:=3*K-2*D;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE – LC),0),3,1) / SMA(ABS((CLOSE – LC)),3,1)) * 100);FF:=EMA(CLOSE,4);AA1:=AMOUNT/VOL;BB1:=LCC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=LEE1:=VOLFF1:=BB1 AND CC1 AND DD1 AND EE1;F:=100*(C-REF(C,1))/REF(C,1);P1:=IF(C<0,1,0);P2:=IF(C<0,1,0);TT3:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 ;TT4:=P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0 ;ZX:=REF(MA20,13/2+1);STICKLINE(C>=O,O,O+(C-O)*1.0,8,0 ),COLOR0000FF;STICKLINE(C>=O,O,O+(C-O)*0.75,6,0 ),COLOR0066FF;STICKLINE(C>=O,O,O+(C-O)*0.5,5,0 ),COLOR0099FF;STICKLINE(C>=O,O,O+(C-O)*0.25,3,0 ),COLOR00CCFF;STICKLINE(CSTICKLINE(CSTICKLINE(CSTICKLINE(CDRAWTEXT(CROSS(ZX,C), H*1.01,’看辅图’),COLOR00ff00;DRAWTEXT(CROSS(CLOSE,TT1)AND J<20,LOW+0.01,’短底’),colorred;DRAWTEXT(CROSS(92,RSI),HIGH * 1.02,’当心’),COLOR00FFFF;
评论(0)