名称: HHJ-智能辅助线(哭笑脸) 类别:技术指标
说明:
该指标是叠加到K线上显示中期趋势的指标,黄线上穿红线(金叉)显示中线趋势向好,黄线下穿红线(死叉)显示中线趋势走坏。尤其是当个股进入主升时,智能辅助能帮助大家把握整个主升段!在主升段中,如何再介入或加仓,这就可以配合智能水手、短期波段指标来操作。另外,当股价运行到智能辅助指标两条指标线附近,同时指标处于金叉向上状态时,也可以加入部分仓位!
公式组: 航海家指标
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,colorFFFF;
马线:MA(牛线,6),colorFF;
五日线:MA(CLOSE,5),POINTDOT,color1;
水平面:MA(CLOSE,60),POINTDOT,colorFFFF;
VAR2:=1;
VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),18)/4;
VAR4:=IF(1,IF(VAR3>23.16,VAR3,0),0);
VAR5:=VAR3<10;
VAR6:=VAR3<2;
VAR7:=VAR5 OR VAR6;
DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.98,1);
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,2);
DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*1.02,1);
A1:=MA(CLOSE,23);
A2:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,2)<REF(CLOSE,3);
A3:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,2)<REF(CLOSE,3) AND REF(CLOSE,3)<REF(CLOSE,4);
A4:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,2)<REF(CLOSE,3) AND REF(CLOSE,3)<REF(CLOSE,4) AND REF(CLOSE,4)<REF(CLOSE,5);
DRAWTEXT(CLOSE>=A1 AND (A2 OR A3 OR A4),LOW,'追涨'),colorFFFFFF;
HHJ-主力追踪
MAV:=(2*CLOSE+HIGH+LOW)/4;
VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,34);
SK:=EMA((MAV-VAR1)/(VAR2-VAR1)*100,13);
主力资金:EMA(0.667*REF(SK,1)+0.333*SK,2),colorFF;
SZF-持仓量
机构数:=SELFDATA('机构户数');
机构1:=SELFDATA('机构持仓');
法人1:=SELFDATA('法人持仓');
散户1:=SELFDATA('散户持仓');
中户1:=SELFDATA('中户持仓');
大户1:=MAX(0,100-机构1-法人1-中户1-散户1);
散户:散户1,LINETHICK0,PRECISION1,colorFF00;
SZ:=散户1-REF(散户1,1);
SZ5:=散户1-REF(散户1,5);
D5Δ%:SZ5,LINETHICK0,PRECISION2,colorFF00;
中户:中户1,LINETHICK0,PRECISION1,colorFF0000;
ZZ:=中户1-REF(中户1,1);
ZZ5:=中户1-REF(中户1,5);
△D5%:ZZ5,LINETHICK0,PRECISION2,colorFF0000;
大户:大户1,LINETHICK0,PRECISION1,colorFF;
DZ:=大户1-REF(大户1,1);
DZ5:=大户1-REF(大户1,5);
▲D5%:DZ5,LINETHICK0,PRECISION2,colorFF;
机构:机构1,LINETHICK0,PRECISION1,colorFF00FF;
FZ:=机构1-REF(机构1,1);
FZ5:=机构1-REF(机构1,5);
ΔD5%:FZ5,LINETHICK0,PRECISION2,colorFF00FF;
法人:法人1,LINETHICK0,PRECISION1,colorFFFF;
OZ:=法人1-REF(法人1,1);
帐户数:SELFDATA('帐户数'),LINETHICK0,colorFFFF00;
UPINDEX:=MAX(LBOUND(机构)+1,SYSPARAM(1));
STICKLINE(BARPOS=DATACOUNT-3,0,机构[UPINDEX],48,0),colorFF00FF;
DRAWTEXT(BARPOS=DATACOUNT-3,机构[UPINDEX],NUMTOSTR(FZ[SYSPARAM(1)],2)+'%'),ALIGN0,PXUP24,colorFFC080;
DRAWTEXT(BARPOS=DATACOUNT-3,-2,'机构'),ALIGN0,PXUP3,colorFF00FF;
DRAWTEXT(BARPOS=DATACOUNT,20,'机构数\n'+NUMTOSTR(机构数[SYSPARAM(1)],0)),ALIGN0,colorFFFF00;
STICKLINE(BARPOS=DATACOUNT-9,0,法人[UPINDEX],48,0),colorFFFF;
DRAWTEXT(BARPOS=DATACOUNT-9,法人[UPINDEX],NUMTOSTR(OZ[SYSPARAM(1)],2)+'%'),ALIGN0,PXUP24,colorFFC080;
DRAWTEXT(BARPOS=DATACOUNT-9,-2,'法人'),ALIGN0,PXUP3,colorFFFF;
STICKLINE(BARPOS=DATACOUNT-15,0,大户[UPINDEX],48,0),colorFF;
DRAWTEXT(BARPOS=DATACOUNT-15,大户[UPINDEX],NUMTOSTR(DZ[SYSPARAM(1)],2)+'%'),ALIGN0,PXUP24,colorFFC080;
DRAWTEXT(BARPOS=DATACOUNT-15,-2,'大户'),ALIGN0,PXUP3,colorFF;
STICKLINE(BARPOS=DATACOUNT-21,0,中户[UPINDEX],48,0),colorFF0000;
DRAWTEXT(BARPOS=DATACOUNT-21,中户[UPINDEX],NUMTOSTR(ZZ[SYSPARAM(1)],2)+'%'),ALIGN0,PXUP24,colorC060FF;
DRAWTEXT(BARPOS=DATACOUNT-21,-2,'中户'),ALIGN0,PXUP3,colorFF0000;
STICKLINE(BARPOS=DATACOUNT-27,0,散户[UPINDEX],48,0),colorFF00;
DRAWTEXT(BARPOS=DATACOUNT-27,散户[UPINDEX],NUMTOSTR(SZ[SYSPARAM(1)],2)+'%'),ALIGN0,PXUP24,colorC060FF;
DRAWTEXT(BARPOS=DATACOUNT-27,-2,'散户'),ALIGN0,PXUP3,colorFF00;
DRAWTEXT(BARPOS=DATACOUNT-31,散户[UPINDEX],'当日增仓'),ALIGN2,PXUP24,colorFFC080;
SZF-主力控盘
VUR1:=VOL/CAPITAL;
VUR2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
VUR3:=2.5*MAX(VUR1,VUR2);
VUR4:=DMA(CLOSE,VUR3);
VUR5:=20*(VUR4/REF(VUR4,1)-1)*38;
VUR6:=EMA(VUR5,2);
VUR7:=EMA(VUR5,2);
VUR8:=EMA(VUR7,3);
VURS:=EMA(VUR7,8);
VUR9:=1.1*(MAX(INDEXH,REF(INDEXC,1))/MIN(INDEXL,REF(INDEXC,1))-1);
VURA:=2.5*MAX(VUR1,VUR9);
VURB:=DMA(INDEXC,VURA);
VURC:=EMA(20*(VURB/REF(VURB,1)-1),1)*38;
VURD:=EMA(VURC,2);
VURE:=EMA(VURC,2);
D强:STICKLINE(VURD>0,0,VURD,6.5,1),colorB210E4;
D弱:STICKLINE(VURD<0,0,VURD,6.5,1),colorFFA6A6;
极强:STICKLINE(VUR5>0,0,VUR5,6.5,0),colorFFFF;
强势:STICKLINE(VUR6>0,0,VUR6,6.5,0),colorFF;
极弱:STICKLINE(VUR5<0,0,VUR5,6.5,0),color10D010;
弱势:STICKLINE(VUR6<0,0,VUR6,6.5,0),colorE4E410;
DX:VURE,LINETHICK2,color1088FF;
界:VURS,LINETHICK2,color6CBC10;
控:VUR8,colorFF10FF;
指:VUR7,color10E4E4;
WY-海洋状态
XY_S1101:=(2*CLOSE+HIGH+LOW)/4;
XY_S1102:=LLV(LOW,34);
XY_S1103:=HHV(HIGH,34);
XY_SZQQS1:EMA((XY_S1101-XY_S1102)/(XY_S1103-XY_S1102)*100,13),colorFF;
XY_SZQQS2:EMA(0.667*REF(XY_SZQQS1,1)+0.333*XY_SZQQS1,2),colorFF00;
AA:20,colorFF00;
BB:50,color808080;
CC:80,colorFF;
XY_SSY1300:=REF(CLOSE,1);
XY_SSY1302:=SMA(MAX(CLOSE-XY_SSY1300,0),6,1);
XY_SSY1303:=SMA(ABS(CLOSE-XY_SSY1300),6,1);
XY_SDFX:=(CLOSE-LLV(CLOSE,250))/LLV(CLOSE,250)*100;
XY_SKFX:=(HHV(CLOSE,250)-CLOSE)/CLOSE*100;
XY_SSY1301:=XY_SSY1302/XY_SSY1303*100;
XY_SMC1:IF(REF(XY_SSY1301,1)>80 AND XY_SSY1301<80 AND XY_SKFX>XY_SDFX,50,0),colorFFFFFF;
STICKLINE(XY_SDFX>XY_SKFX,0,5,10,0),colorFF;
STICKLINE(XY_SDFX<XY_SKFX,0,5,10,0),colorFF00;
主力监测
VAR1:=(EMA(CLOSE,6)-EMA(CLOSE,12))/EMA(CLOSE,12)*100;
VAR2:=HHV(VAR1,3);
监测:VAR2,POINTDOT;
监测均线:MA(VAR2,10);
STICKLINE(VAR1=VAR2,REF(VAR2,1),VAR2,5,0),colorFF;
STICKLINE(VAR1<VAR2,REF(VAR2,1),VAR2,5,0),colorFF00;
主力监控指标(准准准)
A:=VOL*100/CAPITAL;
MA(A,120),POINTDOT,color996633;
MA(A,2),POINTDOT,colorFFFF;
游资:MA(A,4),POINTDOT,color3399FF;
主力:MA(A,9),POINTDOT,colorFF00;
大户:MA(A,17),POINTDOT,colorFF;
散户:MA(A,34),POINTDOT,colorF2E9E7;
警戒线:MA(A,180),colorFF0000;
STICKLINE(MA(A,120)>0,0,MA(A,120),4,0),color996633;
STICKLINE(MA(A,2)>0,0,MA(A,2),4,0),colorFFFF;
STICKLINE(游资>0,0,游资,4,0),color3399FF;
STICKLINE(主力>0,0,主力,4,0),colorFF00;
STICKLINE(大户>0,0,大户,4,0),colorFF;
STICKLINE(散户>0,0,散户,4,0),colorF2E9E7;
》》 看大图
|