主力进场通达信公式 副图 源码附图

大机构仓位:100*(1-WINNER(CLOSE)),COLORRED,LINETHICK4; X_1:=1/WINNER(CLOSE); X_2:=MA(CLOSE,13); X_3:=100-ABS((CLOSE-X_2)/X_2*100); X_4:=LLV(LOW,120); X_5:=HHV(HIGH,120); X_6:=(X_5-X_4)/100; X_7:=SMA((CLOSE-X_4)/X_6,20,1); X_8:=SMA((OPEN-X_4)/X_6,20,1); X_9:=3*X_7-2*SMA(X_7,10,1); X_10:=3*X_8-2*SMA(X_8,10,1); X_11:=100-X_10; 短线主力仓位:100-X_9,COLORYELLOW,LINETHICK2; X_12:=(CLOSE*2+HIGH+LOW)/4*10; X_13:=EMA(X_12,13)-EMA(X_12,34); X_14:=EMA(X_13,5); X_15:=2*(X_13-X_14)*5.5; X_16:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; X_17:=EMA(3*X_16-2*SMA(X_16,18,1),5); X_18:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; X_19:=(INDEXC*2+INDEXH+INDEXL)/4; X_20:=EMA(X_19,13)-EMA(X_19,34); X_21:=EMA(X_20,3); X_22:=(X_20-X_21)/2; X_23:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1); X_24:=(EMA(X_23,3)-REF(EMA(X_23,3),1))/REF(EMA(X_23,3),1)*100; 准备现金:STICKLINE(EMA(X_23,3)<=13,0,20,5,0),COLORRED; X_25:=EMA(X_23,3)<=13 AND FILTER(EMA(X_23,3)<=13,15); DRAWTEXT(X_25,(-10),1),COLORGRAY; 买入股票:STICKLINE(EMA(X_23,3)<=13 AND X_24>13,0,30,5,0),COLORLIMAGENTA; X_26:=EMA(X_23,3)<=13 AND X_24>13 AND FILTER(EMA(X_23,3)<=13 AND X_24>13,10); DRAWTEXT(X_26,35,2),COLORLIMAGENTA; 卖临界:STICKLINE(EMA(X_23,3)>60 AND EMA(X_23,3)>REF(EMA(X_23,3),1),100,95,15,1),COLORGREEN; X_27:=EMA(X_23,3)>=90 AND X_24 AND FILTER(EMA(X_23,3)>=90 AND X_24,10); X_28:=EMA(X_23,3)>=120 AND X_24 AND FILTER(EMA(X_23,3)>=120 AND X_24,10); STICKLINE(IF(X_22>=0,X_22,0) AND EMA(X_23,3)<13,0,20,10,0),COLORLIMAGENTA; STICKLINE(IF(X_22<=0,X_22,0) AND EMA(X_23,3)>90,0,20,10,0),COLORGREEN; STICKLINE(IF(X_15>=0,X_15,1) AND EMA(X_23,3)<13,0,20,10,0),COLORMAGENTA; STICKLINE(IF(X_15<=0,X_15,1) AND EMA(X_23,3)>90,0,20,10,0),COLORLIBLUE; DRAWTEXT(X_27,33,3),COLORLIBLUE; X_29:=(2*CLOSE+HIGH+LOW+OPEN)/5; X_30:=LLV(LOW,34); X_31:=HHV(HIGH,34); 多:EMA((X_29-X_30)/(X_31-X_30)*100,13),COLORWHITE; 空:EMA(多,3),COLORGREEN; X_32:=REF(LOW,1)*0.9; X_33:=LOW*0.9; X_34:=(X_33*VOL+X_32*(CAPITAL-VOL))/CAPITAL; X_35:=EMA(X_34,30); X_36:=CLOSE-REF(CLOSE,1); X_37:=MAX(X_36,0); X_38:=ABS(X_36); X_39:=SMA(X_37,7,1)/SMA(X_38,7,1)*100; X_40:=SMA(X_37,13,1)/SMA(X_38,13,1)*100; X_41:=BARSCOUNT(CLOSE); X_42:=SMA(MAX(X_36,0),6,1)/SMA(ABS(X_36),6,1)*100; X_43:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; X_44:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; X_45:=SMA((SMA(X_44,4,1)-50)*2,3,1); X_46:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; X_47:=SMA(X_46,4,1); X_48:=SMA(X_47,3,1); X_49:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; X_50:=X_42<=25 AND X_43<(-95) AND X_49>20 AND X_45<(-30) AND X_48<30 AND X_35-CLOSE>=(-0.25) AND X_39<22 AND X_40<28 AND X_41>50; X_51:=(HIGH+LOW+CLOSE)/3; X_52:=(X_51-MA(X_51,14))/(0.015*AVEDEV(X_51,14)); X_53:=(X_51-MA(X_51,70))/(0.015*AVEDEV(X_51,70)); X_54:=IF(X_52>=150 AND X_52<200 AND X_53>=150 AND X_53<200,10,0); X_55:=IF(X_52<=(-150) AND X_52>(-200) AND X_53<=(-150) AND X_53>(-200),(-10),X_54); STICKLINE(X_50,0,80,5,0),COLORRED,LINETHICK3; DRAWTEXT(CROSS(X_50,0.5) AND COUNT(X_50=1,10)=1,90,4),COLORRED; X_56:=CLOSE/REF(CLOSE,3)>=1.1; X_57:=BACKSET(X_56,3); 买:IF(X_57 AND COUNT(X_57,3)=1,50,0),COLORMAGENTA; X_58:=PEAKBARS(3,15,1)<10; X_59:=IF(X_58=1,50,0); X_60:=IF(X_59=50,100,0); 卖:IF(X_60>REF(X_60,1),50,0),COLORGREEN,LINETHICK3; DRAWTEXT(卖,60,5),COLORGREEN; X_61:=TROUGHBARS(3,15,1)<10; X_62:=IF(X_61=1,50,0); X_63:=IF(X_62=50,50,0); 买1:IF(X_63>REF(X_63,1),50,0),COLORRED,LINETHICK3; DRAWTEXT(买1,60,6),COLORRED; X_64:=TROUGHBARS(3,15,1)<10; X_65:=IF(X_64=1,50,0); X_66:=ZIG(3,50/5)*1; X_67:=MA(X_66,2); X_68:=CROSS(X_66,X_67)*10; X_69:=CROSS(X_67,X_66)*10; DRAWTEXT(X_69=10,(-10),7),COLORGREEN,LINETHICK3; DRAWTEXT(X_68=10,(-10),8),COLORRED,LINETHICK3; 爆发线:80,COLORRED; 强弱分界线:50,COLORGREEN; X_70:=(OPEN+HIGH+LOW+CLOSE)/4; X_71:=MA(X_70,3); X_72:=SUM(IF(X_70>REF(X_70,1),X_70*VOL,0),4)/SUM(IF(X_70<REF(X_70,1),X_70*VOL,0),4); X_73:=REF(100-100/(1+X_72),1); X_74:=HHV(X_70,10); X_75:=LLV(X_70,30); X_76:=X_74-X_75; X_77:=EMA((X_25-X_75)/X_76,1)*100; X_78:=HHV(X_25,16); X_79:=LLV(X_25,90); X_80:=X_78-X_79; X_81:=EMA((X_25-X_79)/X_80,1)*100; X_82:=HHV(X_25,30); X_83:=LLV(X_25,240); X_84:=X_82-X_83; X_85:=EMA((X_25-X_83)/X_84,1)*100; 中线趋势:X_81,COLORMAGENTA,LINETHICK2; STICKLINE(X_77>90 AND X_81>70,86,94,6,0),COLORYELLOW; STICKLINE(X_77<5 AND X_81<30,0,8,6,0),COLORWHITE;  



未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:PEAK
该公式包含未来函数:PEAKBARS
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:BACKSET
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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