通达信附图《启动线》公式分享

T1:=5; T2:=4; P:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5); BB:=MA(P,3); CC:=(SUM(IF((P > REF(P,1)),(P)*(VOL),0),4))/(SUM(IF((P < REF(P,1)),(P)*(VOL),0),4)); DD:=REF(100 - (100)/(1 + CC),1); A1:=HHV(P,15); A2:=LLV(P,15); A3:=A1 - A2; A4:=(EMA((P - A2)/(A3),2))*(100); B1:=HHV(P,60); B2:=LLV(P,60); B3:=B1 - B2; B4:=(EMA((P - B2)/(B3),2))*(100); C1:=HHV(P,240); C2:=LLV(P,240); C3:=C1 - C2; C4:=(EMA((P - C2)/(C3),2))*(100); 长风险:C4,LINETHICK2,COLORAA7755{COLOR443434}; 中风险:B4,COLOR44AABB,LINETHICK2; 短风险:A4,COLORRED; VAR4:=LLV(LOW,T1); VAR5:=HHV(HIGH,T2); 散户:=EMA(((P - VAR4)/(VAR5 - VAR4))*(100),T2),LINETHICK2,COLOR3333DD; 庄家:=EMA((0.667)*(REF(散户,1)) + (0.333)*(散户),2),LINETHICK2,COLORDDCC00; 快线:散户,COLORMAGENTA,LINETHICK2; 慢线:庄家,COLORYELLOW,LINETHICK2; 警戒线:80,COLORYELLOW; 启动线:20,COLORMAGENTA; 50,POINTDOT,COLOR00DCDC; IF(FILTER((中风险 < REF(中风险,1)) AND (中风险 > 90) AND (BB < REF(BB,1)),5),92,100),LINETHICK2,COLOR44BB00; IF(FILTER((中风险 > REF(中风险,1)) AND (中风险 < 5) AND (CLOSE > REF(CLOSE,1)),5),14,0),LINETHICK2,COLOR2222FF; VAR6:=((HHV(HIGH,4) - P)/(HHV(HIGH,4) - LLV(LOW,4)))*(100) - 72; VAR7:=((P - LLV(LOW,4))/(HHV(HIGH,4) - LLV(LOW,4)))*(100); VAR8:=SMA(VAR7,2,1); DRAWTEXT(CROSS(散户,庄家) AND (散户 < 50) AND (25 < 散户),20,8),COLORRED; DRAWTEXT(CROSS(庄家,散户) AND (散户 > 40) AND (71 > 散户),70,9),COLORFF0000; DRAWTEXT(CROSS(散户,庄家) AND (散户 < 30),30,10),COLORRED; DRAWICON(CROSS(散户,庄家) AND (散户 < 30),20,5),COLORYELLOW; DRAWICON(CROSS(庄家,散户) AND (庄家 > 73),80,6),COLORFF00FF; VAR9:=CLOSE - REF(CLOSE,5); VARA:=((EMA(EMA(VAR9,5),5))/(EMA(EMA(ABS(VAR9),5),5)))*(100); VARB:=((EMA(EMA(VAR9,10),10))/(EMA(EMA(ABS(VAR9),10),10)))*(100); VARC:=((EMA(EMA(VAR9,20),20))/(EMA(EMA(ABS(VAR9),20),20)))*(100); 卖出:=IF((VARA > 0) AND CROSS(VARC,VARA),10,0); {DRAWICON((卖出 > 0),60,19),COLOR00FF00;} CCI:=((P - MA(P,14))*(100))/((1.5)*(AVEDEV(P,14))); RSI1:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100); STICKLINE((CCI > 100),106,100,2,0),COLOR00AC00; STICKLINE((RSI1 > 80),103,100,2,0),COLORBLUE; STICKLINE((CCI < (-100)),(-6),0,2,0),COLORYELLOW; STICKLINE((RSI1 < 25),(-3),(-0),2,0),COLORMAGENTA; D1:=(中风险 > REF(中风险,1)) AND (短风险 > REF(短风险,1)) AND (长风险 > REF(长风险,1)) AND (长风险 < 8) AND (中风险 < 10) AND (短风险 < 15); D2:=CROSS(短风险,中风险) AND (中风险 < 8); D3:=CROSS(短风险,长风险) AND (长风险 < 8) AND (中风险 < 20); DRAWICON(FILTER(D1 OR D2 OR D3 AND (DD < 15) AND (CLOSE > REF(CLOSE,1)),5),8,25); DRAWICON(FILTER((中风险 < REF(中风险,1)) AND (短风险 < REF(短风险,1)) AND (长风险 < REF(长风险,1)) AND (中风险 > 95) AND (短风险 > 85) OR (长风险 > 100) AND (中风险 > 100) AND (短风险 > 100),5),95,23);



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

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

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

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