通达信散户庄家公式源码贴图
-
相关简介:通达信指标散户庄家 VAR2:=(2*CLOSE+HIGH+LOW)/4; VAR3:=IF(YEAR=2099 AND MONTH2,0,1); VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); 散户:EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3; 庄家:EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3; DRAWTEXT(CROSS(散户,庄家) AND 散户50 AND 29散户,L-0.05,'短进'),C
-
文章来源:股海网作者:股海网发布时间:2019-04-16浏览次数:
通达信指标散户庄家
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
散户:EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;
庄家:EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;
DRAWTEXT(CROSS(散户,庄家) AND 散户<50 AND 29<散户,L-0.05,'短进'),COLORMAGENTA;
DRAWTEXT(CROSS(庄家,散户) AND 散户>40 AND 71>散户,H+0.05,'短出'),COLORGREEN;
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'低吸'),COLORWHITE;
DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'高减'),COLORYELLOW;
DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);
DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);