股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信趋势波段起涨选股指标公式源码副图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-12-20 08:56:01

P_1:=REF(CLOSE,1); P_2:=SMA(MAX(CLOSE-P_1,0),2,1)/SMA(Abs(CLOSE-P_1),2,1)*100; P_3:=100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2)); T_1:=1; T_2:=LLV(L,8); T_3:=HHV(H,8); 生命线:=1.56,COLORYELLOW; 强势线:=3,COLORRED; 大牛线:=11.9; P_4:=IF(CLOSE<=OPEN,CLOSE,OPEN); P_5:=(P_4-LOW)/LOW*100; P_6:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; P_7:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100; P_8:=(CLOSE-OPEN)/OPEN*100; P_9:=IF(CLOSE>=OPEN,CLOSE,OPEN); T_4:=(T_3-T_2)/10; T_5:=SMA((C-T_2)/T_4,20,1); T_6:=3*T_5-2*SMA(T_5,15,1); P_10:=(HIGH-P_9)/P_9*100; P_11:=P_10; P_12:=P_5; T_7:=(10-T_6)*T_1*6; T_8:=EMA(WINNER(CLOSE)*70,3); T_9:=10*WINNER(CLOSE*0.9)*8; P_13:=P_8+P_10; P_14:=P_8+P_5; T_10:=EMA(T_9,10); T_11:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*10; T_12:=EMA(CLOSE,6); P_15:=P_10+P_5; P_16:=P_6; T_13:=(T_12-REF(T_12,1))/REF(T_12,1)*100; T_14:=EMA(CLOSE,12); T_15:=(T_14-REF(T_14,1))/REF(T_14,1)*100; T_16:=crOSS(T_9,T_7); P_17:=P_7; P_18:=MAX(MAX(MAX(MAX(MAX(MAX(P_15,P_16),P_14),P_13),P_12),P_11),P_17)*1.2; T_17:=T_8>40 AND T_7<29; T_18:=T_13/T_15>1.48; T_19:=T_9-REF(T_9,1)>10.5; T_20:=T_16 AND T_17 AND T_18 AND T_19; P_19:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5)*100; P_20:=(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100; P_21:=(HIGH-REF(CLOSE,4))/REF(CLOSE,4)*100; T_21:=EMA(CLOSE,3); T_22:=MA(LLV(CLOSE,9)*1.1,14); T_23:=MA(HHV(CLOSE,26)*0.9,14); P_22:=(HIGH-REF(CLOSE,3))/REF(CLOSE,3)*100; P_23:=P_19>=25 OR P_20>=23 OR P_22>=23 AND COUNT(CLOSE=HIGH AND P_6>=9.9 AND HIGH>LOW*1.03,3)>=2 AND COUNT(P_18>=5,4)>=4; P_24:=COUNT(P_23>0,10)=1 AND P_23>0; 机构活跃度:=P_18; N1:=16; DIF1:=(2*EMA(CLOSE, 12)-EMA(EMA(CLOSE,12),12))-(2*EMA(CLOSE, 24)-EMA(EMA(CLOSE, 24),24)),LINETHICK1,COLORRED; DEA1:=2*EMA(DIF1, 9) - EMA(EMA(DIF1, 9),9),LINETHICK1,COLORFFFF00; HLCC:=(HIGH+LOW+CLOSE)/3; EMA1:=EMA(HLCC, N1); EMA2:=EMA(EMA1, N1); DIFF:=EMA1 - EMA2; ZLEMA:=EMA1 + DIFF; HISMA:=SMA(HIGH, N1, 1); LOMA:=SMA(LOW, N1, 1); IMP:=IF(ZLEMA > HISMA AND ZLEMA > LOMA, ZLEMA - HISMA, IF(ZLEMA < HISMA AND ZLEMA < LOMA, ZLEMA - LOMA, 0)); N:=120; K:=3; F_1:=EXIST((CLOSE/REF(CLOSE,1)-1)*100>5.6,60); F_2:=LLV(LOW,N); F_3:=HHV(HIGH,N); F_4:=100*(CLOSE-F_2)/(F_3-F_2); 个股:=MA(F_4,K),LINETHICK2,COLORFFFF00; F_5:=LLV(INDEXL,N); F_6:=HHV(INDEXH,N); T_24:=(T_22+T_23)/2; 起涨:=CROSS(T_21,T_24) AND T_20; F_7:=100*(INDEXC-F_5)/(F_6-F_5); 强势线1:=74.9,COLORWHITE; 超短强度:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3; 短期强度:=ATAN((MA(C,13)/REF(MA(C,13),1)-1)*100)*57.3; 中期强度:=ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3; 长期强度:=ATAN((MA(C,60)/REF(MA(C,60),1)-1)*100)*57.3; 强度评分:=超短强度/50+短期强度/40+中期强度/21+长期强度/10; XG:机构活跃度>15 AND 强度评分>8 AND 个股>75 AND IMP>0 AND EXIST(起涨=1,20);








回复

举报

GMT+8, 2025-1-19 23:10

快速回复 返回顶部 返回列表