通达信指标公式源码底部抄底和高位逃顶
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
一直都在用这个主图指标,抓主升浪简单明了,
指标中公式出现特准三角即可买入建仓,红转绿,出现卖出信号适当减仓。简单粗暴就是王道!
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*1000;
HHH:=BBB-LLV(BBB,27);
CCC:=LLV(BBB,27)-BBB;
QQ:=(MA(HHH,2)*3+HHH*13)/16,COLORFF00FF,LINETHICK1;
SS:=(MA(CCC,2)*3+CCC*13)/16,COLORFF00FF,LINETHICK1;
GG:=MA(HHH,5),LINETHICK1,COLORGREEN;
MM:=MA(CCC,5),LINETHICK1,COLORGREEN;
WW:=IF(QQ EE:=IF(SS ★买:=IF(EE-WW<5.6,200,0); RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100; VARB2:=(RSVV/2+22)*1; 量:=EMA(VOL,13); 资金:=EMA(AMOUNT,13); 过滤:=((资金/量) / 100); 提纯:=(((CLOSE -过滤) / 过滤) * 100); 黄金:=((提纯< (0)) AND ZXNH); 买AA:=黄金AND RSVV 特准:(买AA>0)*3,LINETHICK2; CM1:=EMA(C,2); CM2:=EMA(C,18); TJ1:=IF(CROSS(CM2,CM1),1,0); A1:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100; TJ2:=(A1/2+22)*1; Q:=EMA(VOL,13); Y:=EMA(AMOUNT,13); S:=(Y/Q)/100; X:=((CLOSE-S)/S)*100; F:=X<0 AND ZXNH; XQ:=F AND A1 阴线买入:(TJ1 AND XQ)*2; VAR2:=LLV(LOW,10); VAR3:=HHV(HIGH,25); 阶段卖出: 3.2,COLORC6C600; 3.5,COLOR0088FF; 清仓卖出: 3.5,COLORFF75FF; 动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4); STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2,COLOR70DB93; 关注:0.5,COLORYELLOW; DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1); DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2); DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1); DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2); 强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93; 数值:=动力线,COLORA8A8A8; MA1:=MA(C,5);MA2:=MA(C,10); MA3:=MA(C,20);MA4:=MA(C,40); MA5:=MA(C,60);MA6:=MA(C,30); MA7:=MA(C,120); P3:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA3); 良知之花:=IF(P3/C<6/100,2,0)COLORFF00FF,LINETHICK3; K1:=1;M1:=5;M2:=10;M3:=20;M4:=60;P:=VOL; 牛波波:=IF(MA(P,M1)>MA(P,M4)*0.9,2,0)COLORFF33CC,LINETHICK3; VOLUME:=VOL; LB:=VOL/REF(MA(VOL,5),1)COLORGREEN; LONG:=26;SHORT:=12;M:=9; DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); 顽强绽放:=IF(CROSS(DIFF,DEA) AND MACD>REF(MACD,1),1,0)COLORRED,LINETHICK2; 香飘世界:=IF(CROSS(DIFF,DEA) AND DIFF<0 AND DEA<0 AND MACD>REF(MACD,1),1,0)COLORRED,LINETHICK2; 空依子:=IF(DIFF>0 AND DEA>0 AND CROSS(DIFF,DEA) AND MACD>REF(MACD,1),1,0)COLORRED,LINETHICK2;