通达信【低位转强】副图指标 波谷转强 捕捉低位转势信号 源码

VARF1:=TROUGHBARS(3,15,1)<4;

多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),NODRAW;

STICKLINE(FILTER(VARF1=1,5) AND 多空<-10,75,0,1.6,0),COLORAA00BB;

DRAWTEXT(STICKLINE(FILTER(VARF1=1,5) AND 多空<-10,75,0,1.6,0),65,'多空'),COLORAA00BB;

VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;

VAR400:=EMA(VAR300,5);

操盘:=3*VAR300-2*VAR400;

PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;

STICKLINE(PS1,30,0,0.3,0),COLORLIBLUE;

DRAWTEXT(PS1,23,'操盘'),COLORLIBLUE;

{信号}

AA5X:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT,NODRAW ;

低位转强:IF(CROSS(AA5X,20),45,0),STICK,COLOR008888,LINETHICK4;

DRAWTEXT((低位转强>0),45,'转强'),COLOR008888;

好股网1:=REF(LOW,1);

好股网2:=SMA(ABS(LOW-好股网1),13,1)/SMA(MAX(LOW-好股网1,0),13,1)*100;

好股网3:=EMA(IF(CLOSE*1.2,好股网2*13,好股网2/13),13);

好股网4:=LLV(LOW,34);

好股网5:=HHV(好股网3,34);

好股网6:=IF(LLV(LOW,56),1,0);

好股网7:=EMA(IF(LOW<=好股网4,(好股网3+好股网5*2)/2,0),3)/618*好股网6;

好股网8:=好股网7>REF(好股网7,1);

好股网9:=REF(LLV(LOW,100),3);

好股网10:=REFDATE(好股网9,DATE);

好股网11:=LOW=好股网10;

好股网12:=好股网8 AND 好股网11;

好股网13:=好股网12>REF(好股网12,1);

启动点:好股网13>REF(好股网13,1),NODRAW;

DRAWTEXT(启动点,10,'启'),COLOR99FFFF;

B3L:DRAWTEXT(CROSS(ZIG(3,4),REF(ZIG(3,4),1)),20,'+20'),COLOR999999;

B6L:DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),30,'+40'),COLOR999999;




B9L:DRAWTEXT(CROSS(ZIG(3,12),REF(ZIG(3,12),1)),40,'+60'),COLOR999999;

B12:DRAWTEXT(CROSS(ZIG(3,16),REF(ZIG(3,16),1)),50,'+80'),COLOR666666;

B15:DRAWTEXT(CROSS(ZIG(3,20),REF(ZIG(3,20),1)),60,'+100'),COLOR666666;

S15:DRAWTEXT(CROSS(REF(ZIG(3,20),1),ZIG(3,20)),50,'-100'),COLOR666666;

S12:DRAWTEXT(CROSS(REF(ZIG(3,16),1),ZIG(3,16)),60,'-80'),COLOR666666;

S9:DRAWTEXT(CROSS(REF(ZIG(3,12),1),ZIG(3,12)),70,'-60'),COLOR999999;

S6:DRAWTEXT(CROSS(REF(ZIG(3,8),1),ZIG(3,8)),80,'-40'),COLOR999999;

S3:DRAWTEXT(CROSS(REF(ZIG(3,4),1),ZIG(3,4)),90,'-20'),COLOR999999;



未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图