联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

春色黄金168

2016-7-5 17:57:57点击:

 天下无双也只是指标,黄金春色造更有意义。绝无有未来函数

多:=IF(C>REF(C,1),V,0)/100;
空:=IF(C<REF(C,1),V,0)/100;
正:EMA(MA(多,3),3);
负:EMA(MA(空,3),10),colorgreen,;
STICKLINE(正,正,0,1,0),colorred;
STICKLINE(正>0 AND 正>REF(正,1),正*4/5,0,1,0),COLOR10D3FF;
STICKLINE(正>0 AND 正>REF(正,1),正*2/5,0,1,0),COLOR10FFFF;
STICKLINE(正>0 AND 正<REF(正,1),正,0,1,0),colorbrown;
STICKLINE(正>0 AND 正<REF(正,1),正*4/5,0,1,0),COLORCA3DB5;
STICKLINE(正>0 AND 正<REF(正,1),正*2/5,0,1,0),COLORFF99CC;
STICKLINE(负,负*(-1),0,1,0),COLOR66FF00;
STICKLINE(负,负*(-0.85),0,1,0),COLOR66DD00;
STICKLINE(负,负*(-0.75),0,1,0),COLOR66BB00;
STICKLINE(负,负*(-0.65),0,1,0),COLOR669900;
STICKLINE(负,负*(-0.55),0,1,0),COLOR667700;
STICKLINE(负,负*(-0.45),0,1,0),COLOR665500;
STICKLINE(负,负*(-0.35),0,1,0),COLOR663300;
DRAWTEXT(CROSS(10,正) ,1000,'绝'),colorred;
DRAWTEXT(CROSS(10,正) ,-1000,'杀'),colorred;
STICKLINE(CROSS(10,正),负,1000,0,1),colorred;
STICKLINE(CROSS(10,正),负,-1000,0,1),colorred;
DRAWTEXT((负>(正*10)),-1000,'杀'),colorred;
DRAWTEXT((负>(正*10)),1000,'10倍杀'),colorred;
STICKLINE((负>(正*10)),1000,-1000,0,1),colorred;
DRAWTEXT((负>(正*5)),负,'5倍杀'),colorred;
STICKLINE((负>(正*5)),负,-1000,0,1),colorred;
DRAWTEXT((正>(负*5)),正,'5倍出'),colorgreen;
AS1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
AA1:=SMA(AS1,3,1);
BB1:=SMA(AA1,3,1);
AB1:=CROSS(AA1,BB1);
DD1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DD2:=EMA(DD1,9);
AD1:=CROSS(DD1,DD2);
AD3:(DD1-DD2)*2;
EE:IF(AB1 AND AD1,负*(-0.35),0) ,colorred;
EE1:=C>EMA(C,13);
EE2:=EMA(C,13)>REF(EMA(C,13),1);
DRAWTEXT(EE AND EE1 AND EE2,正,'←买入'),colormagenta;
AB2:=CROSS(BB1,AA1);
AD2:=CROSS(DD2,DD1);
FF:IF(AB2 AND AD2,0.8,0),LINETHICK2,colorliblue;
V1:=CROSS(MA(V,5),MA(V,10));
DRAWICON(V1 AND AD1,正,'←量价齐升'),COLORFFFF00;
M1:=CROSS(MA(C,5),MA(C,10));
VM:IF(V1 AND M1,负*(-0.35),0) ,coloryellow;
DRAWTEXT(CROSS(正,负) AND 正>负*1.2,正,'1.2入'),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,95,'主力建仓!'),LINETHICK7 , colorred;
DRAWTEXT(主力建仓,负,'主力建仓'),colorred;
STICKLINE(主力建仓,负,1,0,0),colorred;
DRAWTEXT(主力建仓,负,'主力建仓'),colorred;
STICKLINE(主力建仓,正,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)*88;}
抄底高手1:=(AR4 OR AR7) ;
STICKLINE(抄底高手1,负,正,0,1),colormagenta;
DRAWTEXT(抄底高手1,负 ,'抄底'),colormagenta;
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;///www.88gs.com
DRAWTEXT(CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5),正,'千载难逢');
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;