经典指标通达信指标公式源码
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
很简单的双线炒股主图
紫色阳线和黄色阳线可关注
是小散户初学者学习指标的良友
庄压:=HHV(MA(H,13),13),COLORYELLOW;
赢在龙头:=(L+H+C*4)/6;
工作:=EMA(赢在龙头,12),COLOR00FF00;
度假:=EMA(赢在龙头,19);
赢在:=(工作-REF(工作,1))/REF(工作,1)*100;
龙头:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(赢在,0));
雪:REF(赢在龙头,G)*1,COLORAACC66,,LINETHICK2;
B2:=SMA(SMA(SMA(C,2,1),2,1),2,1);
SMA2:=MA(B2,3);
停损下限:=IF(LLV(MA(B2,8),3) 米:IF(B2>SMA2,B2,DRAWNULL),COLORRED,LINETHICK3; 饼干:HHV(MA(B2,1),13),COLOR00AAFF,LINETHICK1; VAR1A:=(2*CLOSE+HIGH+LOW)/4; VAR2A:=MA(VAR1A,7); VAR3A:=VAR2A-MA(VAR1A,7/2)<0; VAR4A:=VAR2A-MA(VAR1A,7/2)>0; VAR5A:=BARSLAST(VAR3A); VAR6A:=0-BARSLAST(VAR4A); VAR7A:=IF(VAR3A<=0,VAR5A,VAR6A); STICKLINE(饼干>B2 AND B2>SMA2,饼干,B2,0,-1),COLORBLUE,LINETHICK4; STICKLINE(饼干>SMA2 AND B2 突破:=REF(EMA(C,14),1)COLORMAGENTA,LINETHICK1; A1X:=(EMA(C,14)-突破)/突破*100,NODRAW; 出 击:=IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORRED,L INETHICK1; 休 假:=IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN, LINETHICK2; STICKLINE(A1X>=0,出击,突破,0,-1)COLORRED; {STICKLINE(A1X<0,休假,突破,0,-1)COLORGREEN;}; VAR177:=(2*CLOSE+HIGH+LOW)/4; VAR277:=LLV(LOW,5); VAR377:=HHV(HIGH,5); VAR477:=EMA((VAR177-VAR277)/(VAR377-VAR277)*100,5); MA177:=MA(VAR477,2); XXX:=STICKLINE(FILTER(VAR477>MA177 AND REF(VAR477,1)<30,5),O,C,3,1),COLORWHITE; DRAWICON(FILTER(VAR477>MA177 AND REF(VAR477,1)<30,5),L,9); LC20:=REF(CLOSE,1); RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100,NODRAW; DRAWTEXT(CROSS(RSI20,11)*1, L*0.99,'超跌'),COLORGREEN; 散户:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4); 庄家:= EMA(0.667*REF(散户,1)+0.333*散户,2); DRAWTEXT(CROSS("KDJ.J"(27,3,3),0.0001),L*0.989, ' 可以买'),COLOR00FFEE; {彩色K线} F33:=100*(C-REF(C,1))/REF(C,1); 今小昨:=IF(C P133:=今小昨;