通达信小树分时副图 日线也可以

小树分时副图

{通达信的 小树分时副图指标 }
DRAWGBK(C>0, RGB(40,120,20),RGB(00,00,00),0,0,1),LINETHICK2;
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
主力线:100-(100-VARA),COLORWHITE,LINETHICK2;
DRAWICON((CROSS(主力线,REF(主力线,1)) AND 主力线<=100),主力线,1);

DRAWICON((CROSS(主力线,REF(主力线,1)) AND 主力线>100),100*0.995,1);

持强:HHV(IF(TIME<=100000,COUNT(CROSS(主力线,REF(主力线,1))+CROSS(REF(主力线,1),主力线),0),0),0),COLORFFCC66,LINETHICK2;
连红:主力线>REF(主力线,1) AND 主力线>100;
(主力线,主力线<0),COLORRED,LINETHICK2;
(主力线,主力线>100),COLORGREEN,LINETHICK2;
(主力线,0,主力线<0,RGB(255,0,0));
(主力线,100,主力线>100,RGB(0,250,0));
100,POINTDOT,COLORGREEN,LINETHICK2;
50,POINTDOT,COLORGRAY,LINETHICK2;
趋势:SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),COLORYELLOW,LINETHICK2;
反趋势:=EMA((CLOSE-HHV(HIGH,25))/(LLV(LOW,25)-HHV(HIGH,25))*100,5);
顶线:100-(HHV(HIGH,25)-LLV(LOW,25))/EMA(HHV(HIGH,25)-CLOSE,5),COLORBLUE,LINETHICK2;
底线:(HHV(HIGH,25)-LLV(LOW,25))/EMA(CLOSE-LLV(LOW,25),5),COLORRED,LINETHICK2;
DRAWTEXT(底线>=趋势,趋势,'★'),COLORFF00FF;
DRAWTEXT(趋势<7,趋势,'★'),COLORYELLOW;
DRAWTEXT(趋势>=90 AND 趋势<=93,趋势,'★'),COLORGREEN;
DRAWTEXT(趋势>93,趋势,'★'),COLORBLUE;
DRAWTEXT(CROSS(趋势,底线),趋势,'涨'),COLORRED;

DRAWICON(CROSS(趋势,反趋势),趋势,1);

DRAWBAND(趋势>=REF(趋势,1),RGB(255,0,0),趋势<REF(趋势,1),RGB(0,255,0)),LINETHICK2;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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