通达信 龙飞升天 附图指标源码:...
通达信 龙飞升天 附图指标
源码:
AAA:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
FASTK:=SMA(AAA,3,1);
小龙:=SMA(FASTK,2,1);
大龙:=SMA(小龙,5,1);
DRAWBAND(大龙,RGB(0,104,154),小龙,RGB(255,0,0));
STICKLINE(小龙>=大龙,大龙,小龙,3,0),COLOR000085;
STICKLINE(小龙<大龙,大龙,小龙,3,0),COLOR324800;
DRAWTEXT(CROSS(大龙,小龙) AND 小龙>70,50,'卖'),COLORGREEN;
BBB:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*200-60;
小凤:SMA(BBB,3,1),COLORYELLOW;
大凤:=SMA(小凤,3,1),COLORRED;
DRAWBAND(大凤,RGB(0,128,0),小凤,RGB(255,97,0));
DRAWTEXT(CROSS(大凤,小凤)AND 小凤>78,小凤,'←快卖');
AAFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(AAFF,9);
MACD:=1000* (2*(AAFF-DEA))/EMA(C,30);
AARA:=EMA(REF(CLOSE,1),4);
AAR1:=(SMA(MAX(CLOSE-AARA,0),6,1)/SMA(ABS(CLOSE-AARA),6,1)*100);
AAR2:=FILTER(MACD<0 AND MACD>REF(MACD,1) AND AAR1<20,5);
AAR3:=CROSS(AAR1,90);
准备:IF(AAR1<3.5,15,0),COLORCYAN,LINETHICK2;
DRAWTEXT(AAR1<3.5,7,'准备'),COLORCYAN;
钱进:IF(AAR2,20,0),COLORMAGENTA,LINETHICK3;
DRAWTEXT(AAR2,10,'“钱”进'),COLORRED;
AAR4:=LLV(LOW,10);
AAR5:=HHV(H,25);
AAR6:=EMA((C-AAR4)/(AAR5-AAR4)*4,4);
DRAWTEXT(CROSS(3.5,AAR6),110,'急卖');
恭喜:STICKLINE(CROSS(AAR6,0.3),-50,-30,3,0), COLOR00AAFF,LINETHICK1;
STICKLINE(CROSS(AAR6,0.3),-40,-30,3,0),COLORRED,LINETHICK1;