通达信主力攻击 副图源码 指标公式


X_1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_2:=(X_1-LLV(X_1,27))/(HHV(X_1,27)-LLV(X_1,27))*4*25;
X_3:=(X_1-LLV(X_1,9))/(HHV(X_1,9)-LLV(X_1,9))*4*25;
X_4:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
X_5:=SMA(X_4,3,1);
X_6:=SMA(X_5,3,1);
X_7:=INTPART(X_5);
X_8:=INTPART(X_6);
X_9:=X_7+X_8;
X_10:=X_9-REF(X_9,1);
X_11:=EMA(WINNER(CLOSE)*70,3);
X_12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
X_13:=X_12/(X_11+X_12)*100;
X_14:=HHV((HIGH+LOW)/2,120);
X_15:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
X_16:=MA(CLOSE,27);
X_17:=VOL/FINANCE(7)*100;
X_18:=TMA(X_17,1-X_17,1);
X_19:=DMA((CLOSE+OPEN)/2,X_17/TMA(X_17,1-X_17,1));
X_20:=BARSLAST(CLOSE>X_19*POW(1.1,0.9));
X_21:=BARSLAST(CLOSE<X_19*POW(1.1,(-0.9)));
X_22:=CROSS(X_20,X_21) OR CROSS(X_21,X_20) OR BARSSINCE(X_20+1)=0 OR BARSSINCE(X_21+1)=0 OR BARSCOUNT(CLOSE)=0;
X_23:=REF(X_19,BARSLAST(X_22));
主力最大盈利:LN(CLOSE/X_23)/LN(1.1)*10,NODRAW,COLORFF0080;
X_24:=IF(主力最大盈利>0,BARSLAST(主力最大盈利<0 OR BARSCOUNT(CLOSE)=0),(-1)*BARSLAST(主力最大盈利>0 OR BARSCOUNT(CLOSE)=0));
X_25:=WINNER(CLOSE/1.2)*100;
X_26:=WINNER(CLOSE/1.25)*100;
X_27:=WINNER(CLOSE/1.35)*100;
X_28:=30;
X_29:=EMA(EMA(CLOSE,1),5);
X_30:=EMA(HHV(X_29,5),1);
X_31:=EMA(HHV(X_30,21),1);
X_32:=EMA(HHV(X_31,21),2);
X_33:=EMA(HHV(X_32,21),3);
X_34:=EMA(HHV(X_33,21),4);
X_35:=EMA(HHV(X_34,21),5);
X_36:=CLOSE;
X_37:=EMA(HHV(X_35,21),6);
X_38:=(HIGH+OPEN+LOW+3*CLOSE)/6;
X_39:=EMA(100-100/(1+SUM(IF(X_38>REF(X_38,1),X_38*VOL,0),14)/SUM(IF(X_38<REF(X_38,1),X_38*VOL,0),14)),5);
X_40:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
X_41:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
X_42:=SMA(X_41,2,1);
X_43:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
X_44:=IF(CLOSE>200,CLOSE,DMA(X_43,VOL/CAPITAL))*1.1;
X_45:=SMA(X_42,2,1);
X_46:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
X_47:=SMA(X_46,3,1);
X_48:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_49:=SMA(X_48,5,1)-8;
X_50:=X_49-X_47;
X_51:=IF(X_45>60 AND X_25>30 AND X_39>50 AND X_36>X_37 AND X_50>50,(-40),0);
X_52:=VOL;
X_53:=MA(X_52,5);
X_54:=MA(X_52,135);
X_55:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
X_56:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_55),0);
X_57:=(X_56-MA(X_56,20))/10000;
X_58:=(X_57-REF(X_57,1))/REF(X_57,1)*100;
X_59:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
X_60:=REF(EMA(X_59,3),1);
X_61:=MA((CLOSE-X_60)*10,2)*0.1;
X_62:=VOL*100/CAPITAL;
X_63:=MA(X_62,4);
X_64:=MA(X_62,9);
X_65:=MA(X_62,17);
X_66:=MA(X_62,34);
X_67:=(X_63+X_64+X_65+X_66)/4;
X_68:=VOL;
X_69:=X_65-X_67;
X_70:=X_66-X_67;
机构主力拉升:(X_63-X_67)*30,NODRAW,COLORRED;
大户主力拉升:(X_64-X_67)*30,NODRAW,COLOR3366FF;
X_71:=REFDATE(HHV(X_70,108),DATE)*1.02-REFDATE(LLV(X_69,108),DATE)*20;
X_72:=(X_71+REFDATE(HHV(X_69,108),DATE))*1.02-REFDATE(LLV(大户主力拉升,108)*20,DATE);
X_73:=(X_72+REFDATE(HHV(大户主力拉升,108),DATE))*1.02-REFDATE(LLV(机构主力拉升,108),DATE)*20;
X_74:=(X_73+REFDATE(HHV(机构主力拉升,108),DATE))*1.02-REFDATE(LLV(X_61,108),DATE);
X_75:=(REF(CLOSE,4)-CLOSE)/REF(CLOSE,4)*100;
主升浪波段:X_11/(X_11+X_12)*100,NODRAW,COLORFF6100;
主力主导行情:EMA(主升浪波段,55),NODRAW,COLORMAGENTA;
STICKLINE(主力最大盈利>0,主力最大盈利,0,1.5,0),COLORFF0080;
介入就亏时段:IF(X_12>X_11,(-40),0),NODRAW,COLORGREEN;
DRAWBAND(0,RGB(0,255,0),介入就亏时段,RGB(255,0,0));
主力亏损区:IF(主力最大盈利<=0,(-30),0),NODRAW,COLORBLUE;
DRAWBAND(0,RGB(0,0,255),主力亏损区,RGB(0,255,0));
持股时段:IF(X_15>X_16 AND X_12<X_11 AND (X_2>50 OR X_2>REF(X_2,1)),(-40),0),NODRAW,COLORRED;
DRAWBAND(0,RGB(255,0,0),持股时段,RGB(34,139,34));
DRAWBAND(0,RGB(255,0,0),X_51,RGB(0,255,0));
底仓主动吸筹:IF(主力最大盈利>0 AND X_2>50 AND X_15<X_37,(-30),0),NODRAW,COLOR000080;
DRAWBAND(0,RGB(178,34,34),底仓主动吸筹,RGB(0,255,0));
获利了结区:IF(X_45>60 AND X_25>30 AND X_2<50 AND 主力最大盈利>70 AND REF(X_2,1)>=X_2,(-40),0),COLORGREEN;
DRAWBAND(0,RGB(0,255,0),获利了结区,RGB(255,0,0));
STICKLINE(CLOSE<HHV(CLOSE,3) AND X_57<HHV(X_57,4) AND X_50<50 AND 主升浪波段<HHV(主升浪波段,3) AND 获利了结区=(-40) AND CLOSE/REF(CLOSE,20)>1.3 AND MA((HIGH-LOW)/REF(CLOSE,1)*100,2)>6 AND X_26>65 AND X_2<主升浪波段 AND X_2<60,0,128,8,0),COLORGREEN;
高效进攻吸筹:IF(X_2>主升浪波段 AND X_11>X_12 AND X_26<70 AND 主力最大盈利<70 AND X_50>50,(-15),0),NODRAW,COLOR0089FF;
10;
10;
28;



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

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

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