通达信《洗盘监庄》副图指标公式源码:
VARC:=LOW; VARD:=REF(LOW,1); VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),3,1)*100; VARF:=MA(VARE/10,3); VAR10:=LLV(LOW,30); VAR11:=HHV(VARF,30); 光头就买:MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),3); VAR1B:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2B:=SMA(ABS(LOW-VAR1B),13,1)/SMA(MAX(LOW-VAR1B,0),10,1); VAR3B:=EMA(VAR2B,10); VAR4B:=LLV(LOW,33); VAR5B:=EMA(IF(LOW<=VAR4B,VAR3B,0),3)*3; 主力进场:IF(VAR5B>REF(VAR5B,1),VAR5B,0),COLORRED,LINETHICK6; STICKLINE(VAR5B>REF(VAR5B,1),0,VAR5B,3,0 ),COLORRED; 洗盘:IF(VAR5B<REF(VAR5B,1),VAR5B,0),COLORGREEN; VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);{www.zhibiao123.cn} VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); STICKLINE(VAR5>REF(VAR5,1),0,VAR5,6,0 ),COLORGREEN; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,6,0),COLORRED; VAR2C:=(HIGH+LOW+CLOSE*2)/4; VAR3C:=EMA(VAR2C,7); VAR4C:=STD(VAR2C,7); VAR5C:=(VAR2C-VAR3C)*100/VAR4; VAR6C:=EMA(VAR5C,3);{www.zhibiao123.cn} MID:=(3*CLOSE+LOW+OPEN+HIGH)/6; 主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+ 16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+ 13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+ 10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+ 7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+ 4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED; 主力退场:IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK2,COLOR0066BB; 主力诱多:IF(VAR5<REF(VAR5,1),VAR5,0),LINETHICK2,COLORFF8800; 主力资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2; 散户资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORGREEN,LINETHICK1; DRAWBAND(3*(EMA(C,3)-EMA(C,8)-EMA(EMA(C,3)-EMA(C,8),20))*5+20,RGB(250,80,80),20,RGB(0,180,180 )); DRAWTEXT(ISLASTBAR,20.5,' 资金'),COLORMAGENTA ; 短趋势:((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORRED; 长趋势:EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13),COLOR00FF00; 判断底:SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5; STICKLINE(VAR5,0,50,8,0) ,COLORRED; DRAWICON(VAR5 AND 判断底>0,60,1); DRAWTEXT(COUNT(短趋势<10 AND 判断底>0,8) AND VAR5,50,'砸锅卖铁买'); WWWCHNMONEYCOM:STICKLINE(短趋势<10 AND 判断底>0,0,30,6,1); DRAWTEXT(CROSS(短趋势,长趋势)AND 长趋势>25 AND 长趋势>REF(长趋势,1),50,'快拉或短顶'); VAR6:=CROSS(短趋势,长趋势)AND 长趋势<50;{www.zhibiao123.cn} DRAWTEXT( COUNT(短趋势<30 AND 判断底>0,5) AND VAR6,30,'短线买');
负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/154652.html,转载请注明出处。
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/154652.html,转载请注明出处。