通达信公式波段器
比例:=WINNER(CLOSE)*100;
STICKLINE(比例>0,比例,0,4,0),COLORGRAY;
STICKLINE(比例>6,比例,6,4,0),COLOR99CC66;
STICKLINE(比例>20,比例,20,4,0),COLORFFCC99;
STICKLINE(比例>50,比例,50,4,0),COLOR6666FF;
STICKLINE(比例>80,比例,80,4,0),COLOR0000C0;
{画线}
{5,COLORGRAY,DOTLINE;
20,COLORGRAY,DOTLINE;
50,COLORGRAY,DOTLINE;
80,COLORGRAY,DOTLINE;}
{主力吸筹}
VAR1B:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2B:=REF(LOW,1)*VAR1B;
VAR3B:=SMA(ABS(LOW-VAR2B),3,1)/SMA(MAX(LOW-VAR2B,0),3,1)*100*VAR1B;
VAR4B:=EMA(IF(CLOSE*1.3,VAR3B*10,VAR3B/10),3)*VAR1B;
VAR5B:=LLV(LOW,30)*VAR1B;
VAR6B:=HHV(VAR4B,30)*VAR1B;
VAR7B:=IF(MA(CLOSE,58),1,0)*VAR1B;
VAR8B:=EMA(IF(LOW<=VAR5B,(VAR4B+VAR6B*2)/2,0),3)/618*VAR7B*VAR1B;
吸筹:=IF(VAR8B>100,100,VAR8B)*VAR1B,COLORRED,LINETHICK0;
庄家吸筹:STICKLINE(吸筹>-150,0,吸筹,0.8,0),COLORFF0080;
{主力线散户线}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW;DEA:=EMA(DIF,9),NODRAW;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,3),NODRAW;
D:=SMA(K,9,3),NODRAW;
J:=3*K-2*D,NODRAW;
散户线: 100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),COLORBLUE,LINETHICK2;
主力线:EMA(J,6),COLORLIMAGENTA,LINETHICK2;
VAR2:=REF(LOW,1);{股票指标网}
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
趋势线:CEILING(SMA(AA5,13,8)),COLORYELLOW,LINETHICK2;
{文字标识}{股票指标网}
DRAWTEXT(ISLASTBAR,主力线,’ ←主力线’),COLORLIMAGENTA;
DRAWTEXT(ISLASTBAR,散户线,’ ←散户线’),COLORCYAN;
DRAWTEXT(ISLASTBAR,趋势线,’ ←趋势线’),COLORYELLOW;
通达信公式 价值巴菲特
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/186134.html,转载请注明出处。