阴阳鱼: 多:EMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,3)*2-100,colorred; 空:(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*200-100,colorgreen; 阳:60,colorcyan; ...... CCI稳赚钱: TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3; CCI:EMA((TYP-MA(TYP,36.0270012))/(0.015*AVEDEV(TYP,36.0270012)),2.0332),colorgreen; STICKLINE(CCI>100,CCI,100,8,0),colormagenta; STICKLINE(CCI<-150,CCI,-150,8,0),coloryellow; STICKLINE(C>0,100,101,10,0),colorred; STICKLINE(C>0,-150,-151,6,0),colorgreen; DRAWICON(CROSS(200,CCI),250,2); 强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,NODRAW; STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLOR00CA00; RSV:= (C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; FASTK:=SMA(RSV,3,1); Y1A:=((SMA(FASTK,3,1))/2+40)*1.1; 线上牛:SMA(Y1A,3,1),coloryellow; RSV1:= (HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))*100; Y2A:=(SMA(RSV1,3,1)/2)*1.1; LC := REF(C,1); RSI2:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100; RSI3:=IF(RSI2>50,RSI2*1.05,RSI2); RSV3:=(C-LLV(L,54))/(HHV(H,54)-LLV(L,54))*100; RSI4:=IF(RSI3>100,100,RSI3); RRR:= EMA(SLOPE(RSI4,3),20); DRAWICON(CROSS(CCI,线上牛),线上牛,1); 战斗机: 个人测试,主要用于公式回测,主要用于公式回测。 DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*100; DEA12:=EMA(DIF12,9); KDIF12:=3*(DIF12-DEA12); KDEA12:=SMA(KDIF12,5,2); 力:2*(KDIF12-KDEA12),colormagenta,LINETHICK; DRAWBAND(力,RGB(60,13,100),0,RGB(50,50,50)); AA:=ABS((2*C+HIGH+LOW)/4-MA(C,N))/MA(C,N); 济安线:=DMA((2*C+LOW+HIGH)/4,AA),LINETHICK2,colormagenta; CC:=(CLOSE/济安线); MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3); MAAA:=((MA1-济安线)/济安线)/3; 小济:=MA1-MAAA*MA1,colorwhite,; NOTEXTF5:-5,colorcyan,DOTLINE; NOTEXTF6:-6,colorbrown,DOTLINE; NOTEXTZ5:5,colorcyan,DOTLINE; NOTEXTZ6:6,colorgreen,DOTLINE; NOTEXTF3:-3,colorbrown,DOTLINE; NOTEXTZ3:3,colorbrown,DOTLINE; BIAS6:(小济-MA(小济,6))/MA(小济,6)*100,colorwhite; BIASMA :MA(BIAS6,TN),colormagenta; IF(BIAS6>=REF(BIAS6,1),BIAS6,DRAWNULL),COLOR0080FF,LINETHICK2,; W2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; W2MA :=MA(W2,6); DRAWICON(EXIST(CROSS(W2,-5),3) AND CROSS(W2,W2MA),1,23); 正三上连跌:=EXIST((EXIST(CROSS(W2,3),4)),5) AND DOWNNDAY(W2,2); NOTEXT滤:DRAWICON(FILTER(正三上连跌,5),1,2); STICKLINE(W2<-4,-4,W2,1,1 ),colorred; STICKLINE(W2>REF(W2,1)AND W2<-4,-4,W2,1,0),coloryellow; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); DRAWTEXT(K<20,4,'9'),coloryellow; DRAWTEXT(K<17,3.5,'7'),coloryellow; DRAWTEXT(K<15,3,'5'),coloryellow; DRAWTEXT_FIX(C>O,0.05,0.05,0,' ★顶尖财经 股票学院: http://58188.com '),colorred; |