通达信超牛行情2源码

HJ_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);
 HJ_2:=(HJ_1-LLV(HJ_1,27))/(HHV(HJ_1,27)-LLV(HJ_1,27))*4*25;
 HJ_3:=(HJ_1-LLV(HJ_1,9))/(HHV(HJ_1,9)-LLV(HJ_1,9))*4*25;
 HJ_4:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
 HJ_5:=SMA(HJ_4,3,1);
 HJ_6:=SMA(HJ_5,3,1);
 HJ_7:=INTPART(HJ_5);
 HJ_8:=INTPART(HJ_6);
 HJ_9:=HJ_7+HJ_8;

 HJ_10:=HJ_9-REF(HJ_9,1);
 HJ_11:=EMA(WINNER(CLOSE)*40,3);
 HJ_12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
 HJ_13:=HJ_12/(HJ_11+HJ_12)*100;
主升浪波段:HJ_11/(HJ_11+HJ_12)*100,NODRAW,COLORFF6100;
主力主导行情:EMA(主升浪波段,55),NODRAW,COLORMAGENTA;
 HJ_14:=HHV((HIGH+LOW)/2,120);
 HJ_15:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
 HJ_16:=MA(CLOSE,27);
 HJ_17:=WINNER(CLOSE/1.2)*100;
 HJ_18:=WINNER(CLOSE/1.25)*100;
 HJ_19:=30;
 HJ_20:=EMA(EMA(CLOSE,1),5);
 HJ_21:=EMA(HHV(HJ_20,5),1);
 HJ_22:=EMA(HHV(HJ_21,21),1);
 HJ_23:=EMA(HHV(HJ_22,21),2);
 HJ_24:=EMA(HHV(HJ_23,21),3);
 HJ_25:=EMA(HHV(HJ_24,21),4);
 HJ_26:=EMA(HHV(HJ_25,21),5);
 HJ_27:=CLOSE;
 HJ_28:=EMA(HHV(HJ_26,21),6);
 HJ_29:=(HIGH+OPEN+LOW+3*CLOSE)/6;
 HJ_30:=EMA(100-100/(1+SUM(IF(HJ_29>REF(HJ_29,1),HJ_29*VOL,0),14)/SUM(IF(HJ_29<REF(HJ_29,1),HJ_29*VOL,0),14)),5);
 HJ_31:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
 HJ_32:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
 HJ_33:=SMA(HJ_32,2,1);
 HJ_34:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
 HJ_35:=IF(CLOSE>200,CLOSE,DMA(HJ_34,VOL/CAPITAL))*1.1;
 HJ_36:=SMA(HJ_33,2,1);
 HJ_37:=IF(HJ_36>60 AND HJ_17>30 AND HJ_30>50 AND HJ_27>HJ_28,(-40),0);
 DRAWBAND(主升浪波段,RGB(238,130,238),HJ_2,RGB(0,0,0));
 HJ_38:=VOL/FINANCE(7)*100;
 HJ_39:=TMA(HJ_38,1-HJ_38,1);
 HJ_40:=DMA((CLOSE+OPEN)/2,HJ_38/TMA(HJ_38,1-HJ_38,1));
 HJ_41:=BARSLAST(CLOSE>HJ_40*POW(1.1,0.9));
 HJ_42:=BARSLAST(CLOSE<HJ_40*POW(1.1,(-0.9)));
 HJ_43:=CROSS(HJ_41,HJ_42) OR CROSS(HJ_42,HJ_41) OR BARSSINCE(HJ_41+1)=0 OR BARSSINCE(HJ_42+1)=0 OR BARSCOUNT(CLOSE)=0;
 HJ_44:=REF(HJ_40,BARSLAST(HJ_43));
主力最大盈利:LN(CLOSE/HJ_44)/LN(1.1)*10,NODRAW,COLORFF0080;
散户主导行情:EMA(HJ_13,55),NODRAW,COLORGRAY;
 STICKLINE(主力最大盈利>0,主力最大盈利,15,1.5,0),COLORFF0080;
 STICKLINE(HJ_10>0 AND HJ_10>REF(HJ_10,1),150,HJ_10+150,1.5,0),COLORRED;
 STICKLINE(HJ_10<0 AND HJ_10>REF(HJ_10,1),150,HJ_10+150,1.5,0),COLORGREEN;
 STICKLINE(HJ_10>0 AND HJ_10<=REF(HJ_10,1),150,HJ_10+150,1.5,0),COLOR00AAFF;
 STICKLINE(HJ_10<0 AND HJ_10<=REF(HJ_10,1),150,HJ_10+150,1.5,0),COLORGREEN;
 STICKLINE(CLOSE>0,HJ_13,主升浪波段,1.5,0),COLORGRAY;
 STICKLINE(主升浪波段>REF(主升浪波段,1) AND 主升浪波段>20,主升浪波段,0,1.5,0),COLORYELLOW;
 STICKLINE(主升浪波段<=REF(主升浪波段,1) AND 主升浪波段>20,主升浪波段,0,1.5,0),COLORYELLOW;
 STICKLINE(主升浪波段>REF(主升浪波段,1) AND 主升浪波段<20,主升浪波段,0,1.5,0),COLORYELLOW;
 STICKLINE(主升浪波段<=REF(主升浪波段,1) AND 主升浪波段<20,主升浪波段,0,1.5,0),COLORYELLOW;
 STICKLINE(主升浪波段<HJ_13 AND 主力主导行情>50 AND HJ_18>40,主升浪波段,0,1.5,0),COLORMAGENTA;
 STICKLINE(主升浪波段>主力主导行情 AND HJ_2>55 AND HJ_18>40,主升浪波段,0,1.5,0),COLORD02090;
 STICKLINE(主升浪波段>主力主导行情 AND HJ_18>20 AND HJ_15>HJ_16 AND HJ_27>HJ_28,主升浪波段,0,1.5,0),COLORFF6100;
 STICKLINE(主升浪波段>主力主导行情 AND HJ_18>40 AND HJ_27>HJ_28,主升浪波段,0,1.5,0),COLORFF6100;
 STICKLINE(主升浪波段>主力主导行情 AND 主力主导行情<50 AND 主升浪波段>50 AND 主力主导行情>REF(主力主导行情,1) AND HJ_18<60,主升浪波段,30,1.5,0),COLORMAGENTA;
 STICKLINE(主升浪波段<=10 AND HJ_37<(-10),0,0,1.5,0),COLORFF6100;
介入就亏时段:IF(HJ_12>HJ_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(HJ_15>HJ_16 AND HJ_12<HJ_11 AND HJ_2>60,(-40),0),NODRAW,COLORRED;
 DRAWBAND(0,RGB(255,0,0),持股时段,RGB(34,139,34));
 DRAWBAND(0,RGB(255,0,0),HJ_37,RGB(0,255,0));
底仓主动吸筹:IF(主力最大盈利>0 AND HJ_2>50 AND HJ_15<HJ_28,(-30),0),NODRAW,COLOR000080;
 DRAWBAND(0,RGB(178,34,34),底仓主动吸筹,RGB(0,255,0));
高效进攻吸筹:IF(HJ_2>主升浪波段 AND HJ_11>HJ_12 AND HJ_18<70 AND 主力最大盈利<70,(-15),0),COLOR0089FF;
 DRAWBAND(0,RGB(255,125,64),高效进攻吸筹,RGB(255,0,0));
获利了结区:IF(HJ_36>60 AND HJ_17>30 AND HJ_2<50 AND 主力最大盈利>70,(-40),0),NODRAW,COLORGREEN;
 DRAWBAND(0,RGB(0,255,0),获利了结区,RGB(255,0,0));

{-----------------------------------}
 




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

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

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