绝佳买点
2016-7-5 17:50:52点击:
多:=IF(C>REF(C,1),V,0) ;
空:=IF(C<REF(C,1),V,0) ;
正:EMA(MA(多,3),3);
负:EMA(MA(空,3),10),colorgreen,;
STICKLINE(正,正,0,10,0),colorred;
STICKLINE(正>0 AND 正>REF(正,1),正*4/5,0,10,0),COLOR10D3FF;
STICKLINE(正>0 AND 正>REF(正,1),正*2/5,0,10,0),COLOR10FFFF;
STICKLINE(正>0 AND 正<REF(正,1),正,0,10,0),colorbrown;
STICKLINE(正>0 AND 正<REF(正,1),正*4/5,0,10,0),COLORCA3DB5;
STICKLINE(正>0 AND 正<REF(正,1),正*2/5,0,10,0),COLORFF99CC;
STICKLINE(负,负*(-1),0,2,0),COLOR66FF00;
STICKLINE(负,负*(-0.85),0,2,0),COLOR66DD00;
STICKLINE(负,负*(-0.75),0,2,0),COLOR66BB00;
STICKLINE(负,负*(-0.65),0,2,0),COLOR669900;
STICKLINE(负,负*(-0.55),0,2,0),COLOR667700;
STICKLINE(负,负*(-0.45),0,2,0),COLOR665500;
STICKLINE(负,负*(-0.35),0,2,0),COLOR663300;
DRAWTEXT(CROSS(10,正) ,1000,'绝'),colorred;
DRAWTEXT(CROSS(10,正) ,-1000,'杀'),colorred;
DRAWTEXT((负>(正*10)),-1000,'杀'),colorred;
DRAWTEXT((负>(正*10)),1000,'10倍杀'),colorred;
DRAWTEXT((负>(正*5)),负,'5倍杀'),colorred;
DRAWTEXT((正>(负*5)),正,'5倍出'),colorgreen;
VERLINE(负>(正*10),6),colorred,LINETHICK6;
VERLINE(负>(正*5),1),coloryellow;
STICKLINE(CROSS(正,1000),负*(-0.35),负*(0.35),1,0),colorred;
DRAWTEXT(CROSS(正,1000),负*(-1.35),'绝低吸'),colorred;
VAR2:=(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=100-VARB;
主力仓位:=(100-VARA),colorred,LINETHICK3;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE);
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
VAR21:=(HIGH+LOW+CLOSE)/3;
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));
VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);
VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);
STICKLINE(VAR20,0,正*1.8,0,2),LINETHICK5,colorred;
主力建仓:=DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,负,'主力建仓!'),LINETHICK7 , colorred;
DRAWTEXT(主力建仓,负*(2.8),'主力建仓'),colorred;
STICKLINE(主力建仓,负*(2.8),1,0,0),colorred;
DRAWTEXT(主力建仓,负*(-2.8),'主力建仓'),colorred;
STICKLINE(主力建仓,负*(-2.8),1,0,0),colorred;
AR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;
AR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;
AR3:=AR1 AND AR2;
AR4:=AR1 AND AR2 AND COUNT(AR3,2)=1 AND DATE>940101 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN -REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF (OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF (OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5));
AR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8);
AR6:=(CLOSE-AR5)/AR5*100;
AR7:=REF(AR6,1)+D<0 AND AR6>REF(AR6,1) AND REF(AR6,1)<REF(AR6,2) AND AR6-REF(AR6,1)>1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND (REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));
{抄底高手:(AR4 OR AR7)*8;}
抄底高手1:=(AR4 OR AR7) ;
STICKLINE(抄底高手1,负*(-1),负*(0.8),0,1),colormagenta;
DRAWTEXT(抄底高手1,负*(-1) ,'抄底'),colormagenta;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
DRAWTEXT(CROSS(DEA,DIFF) ,正*(1.1) ,'叉'),colormagenta;
STICKLINE(CROSS(DEA,DIFF),正*(1.1),0,0,1),colormagenta;
MTM1:=MA((CLOSE-REF(CLOSE,13))*31,5),LINETHICK1,COLOR7711EE;
VARF1:=MA(HHV(HIGH,485),17);
VARF2:=MA(HHV(HIGH,222),17);
VARF3:=MA(HHV(HIGH,96),17);
VARF4:=MA(LLV(LOW,485),17);
VARF5:=MA(LLV(LOW,222),17);
VARF6:=MA(LLV(LOW,96),17);
VARF7:=MA((VARF4*0.96+VARF5*0.96+VARF6*0.96+VARF1*0.558+VARF2*0.558+VARF3*0.558)/6,17);
VARF8:=MA((VARF4*1.25+VARF5*1.23+VARF6*1.2+VARF1*0.55+VARF2*0.55+VARF3*0.65)/6,17);
VARF9:=MA((VARF4*1.3+VARF5*1.3+VARF6*1.3+VARF1*0.68+VARF2*0.68+VARF3*0.68)/6,17);
VARFA:=MA((VARF7*3+VARF8*2+VARF9)/6*1.738,17);
VARFB:=IF(C=C,VARFA,VARFA*DAY);
VARFC:=LOW;
VARFD:=REF(LOW,1);
VARFE:=SMA(ABS(VARFC-VARFD),3,1)/SMA(MAX(VARFC-VARFD,0),3,1)*100;
VARFF:=MA(IF(CLOSE*1.35<=VARFB,VARFE*10,VARFE/10),3);
VARF10:=LLV(LOW,30);
VARF11:=HHV(VARFF,30);
绝佳买点:=IF(C=C,MA(IF(LOW<=VARF10,(VARFF+VARF11*2)/2,0),3),100000000)/(200),colorred,LINETHICK2;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26),colorred;
DRAWTEXT(CROSS(绝佳买点,1.20000) ,正*(2.8),'疯牛'),colorblue;
STICKLINE(CROSS(绝佳买点,1.20000),正*(2.8),1,0,1),colorblue;
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37),colorred;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1),coloryellow;
DRAWTEXT(CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5),正*(-0.6),'千载难逢');
A1:=BARSLAST(REF(CROSS("MACD.DIFf"(12,26,9),"MACD.DEA"(12,26,9)),1));
B1:=REF(C,A1+1)>C AND REF("MACD.DIFf"(12,26,9),A1+1)<"MACD.DIFf"(12,26,9) AND CROSS("MACD.DIFf"(12,26,9),"MACD.DEA"(12,26,9));
STICKLINE(B1>0,负*(2.8),正*(1.6),1,0),colorred;
MACD底背:DRAWTEXT(B1>0,负*(2.8),'MACD底背'),colorred;
- 上一篇:春色黄金168 2016/7/5
- 下一篇:自动画线 通达信主图指标 2016/7/5