中线多空对比通达信公式 副图 源码附图

 VAR2:=LLV(LOW,33);
VAR3:=HHV(HIGH,21);
VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,20)*0.998;
100,STICK,LINETHICK7,COLOR000000;
80, STICK,LINETHICK7,COLOR00002F;
50,STICK,LINETHICK7,COLOR480000;
20,STICK,LINETHICK7,COLOR000000;
20,COLOR393939;
50,COLOR005757;
80,COLOR424200;
DRAWTEXT(FILTER(CLOSE>0,25),10,'吸筹区') COLORWHITE;
DRAWTEXT(FILTER(CLOSE>0,25),30,'建仓区') COLORWHITE;
DRAWTEXT(FILTER(CLOSE>0,25),65,'拉高区')COLORWHITE;
DRAWTEXT(FILTER(CLOSE>0,25),88,'出货区')COLORWHITE;
DRAWGBK(C>0, RGB(0,3,0),RGB(0,3,0),0,'11',0);
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100; 
短多:SMA(RSV,3,1),COLOR2626FF,LINETHICK1; 
短空:SMA(短多,3,1),COLORFFFF00,LINETHICK1; 
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100; 
中多:SMA(RSV1,5,1),COLOR00009B,LINETHICK1;
中空:SMA(中多,10,1),COLOR797900,LINETHICK1;
DRAWBAND(中多,RGB(898,0,1),中空,RGB(05,58,58));
DRAWBAND(短多,RGB(248,918,18),短空,RGB(0,188,198));
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE,LINETHICK2;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR0000FF,LINETHICK1;
长强势区:=IF((EVERY(短多>=REF(短多,1),1)AND 短多<短空),5,0)COLOR0000FF,LINETHICK2;
低买:IF((CROSS(长强势区,0.1)),10,0)NODRAW,COLORFF00FF,LINETHICK1;
长强势区1:=IF((EVERY(中多>=REF(中多,1),1)AND 中多<18),5,0)COLOR0000FF,LINETHICK2;
低买1:IF((CROSS(长强势区1,0.1)),5,0)NODRAW,COLORFF00FF,LINETHICK1;
长强势区11:=IF((EVERY(中多<=REF(中多,1),1)AND 中多>85),5,0)COLOR0000FF,LINETHICK2;
高卖11:IF((CROSS(长强势区11,0.1)),105,110)NODRAW,COLOR6A6A00,LINETHICK1;
长强势区2:=IF((EVERY(短多<=REF(短多,1),1)AND 短多>短空),5,0)COLOR0000FF,LINETHICK2;
高卖2:IF((CROSS(长强势区2,0.1)),100,110)NODRAW,COLOR6A6A00;
短期2:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORFFFFFF,LINETHICK1;
中期2:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),NODRAW ,COLORC0C0C0;
中长期2:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),NODRAW ,COLOR00A8A8;
长期2:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR1111FF,LINETHICK2;
强市线:80,DOTLINE,COLOR000079;
弱市线:20,DOTLINE,COLORC08000;
分水岭:50,POINTDOT,COLORFFFFFF;
 
买线:=EMA(C,1);
卖线:=EMA(SLOPE(C,30)*10+C,45);
DRAWICON(CROSS(买线,卖线),L,1);
DRAWICON(CROSS(卖线,买线),H,2);
 



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

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

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

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