龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-12-15 10:10

大智慧绝密抄底指标源码[大智慧公式]

[code]
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=((VAR2)/(VAR1))*(100)-70;
VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF((VAR9>100),VAR9-100,0);
VAR11:=HHV(HIGH,34);
B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,6,0 ),COLOR00AA00;
STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,4.6,0 ),COLOR00BB11;
STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,4.4,0 ),COLOR00CC22;
STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,3.3,0 ),COLOR00DD33;
STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,2.2,0 ),COLOR00EE44;
STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,1.1,0 ),COLOR00FF55;
STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),6 ,0 ),COLOR0000aa;
STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),4.6 ,0 ),COLOR0011bb;
STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),4.4,0 ),COLOr0022cc;
STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),3.3 ,0 ),COLOR0033dd;
STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),2.2 ,0 ),COLOR0044ee;
STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),1.1 ,0 ),COLOR0055ff;
领先:EMA(B1,5),COLORCYAN;
生命线:EMA(VARD,1),COLORYELLOW;
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5)>MA(C,10);
V3:=MA(V,5)>MA(V,40)*1.01;
V4:=COUNT(MA(C,1)>ref(C,1),2)=2;
VV:=V1 AND V2 AND V3 AND V4;
A1:=EMA(CLOSE,8);
A2:=EMA(A1,20);
A3:=CROSS(A1,A2);
A4:=A1<EMA(CLOSE,120);
STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,6,0),Color00A8FF;
STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,4.6,0),Color00B0FF;
STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,4.4,0),Color00B5FF;
STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,3.3,0),Color00BCFF;
STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,2.2,0),Color00D3FF;
STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,1.1,0),Color00FFFF;
A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*
SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1) ;
安全位:=20;
LOW">低位转强:IF(CROSS(A5,安全位),50,0),STICK,COLORMAGENTA,LINETHICK2;
开始拉升:IF(CROSS(VARC,生命线) AND VARC>VARD AND VARC<55 AND C>O,50,0),
ColorC800FF,POINTDOT;
A6:=LLV(C,500)=LLV(C,5) AND C/ref(C,1)>(1+9.8/100);
极地上涨:IF(A6,领先,0),COLORGREEN,LINETHICK2;
STICKLINE(开始拉升>0,15,开始拉升*1.01,3,0),COLORBLUE;
STICKLINE((开始拉升>0 AND 开始拉升<400) OR (极地上涨>0 AND 极地上涨<400)
OR (低位转强>0 AND 低位转强<400) OR (低位转强>0),30,开始拉升,3,0),COLORRED;
STICKLINE(开始拉升>0,15,开始拉升*0.6,9,0),COLORBLUE;
STICKLINE(开始拉升>0,15,开始拉升*0.4,9,0),COLOR00FF00;
STICKLINE(开始拉升>0,15,开始拉升*0.2,9,0),COLOR0099CC;
STICKLINE(低位转强>0,15,低位转强*1.01,3,0),COLORMAGENTA;
STICKLINE((低位转强>0)OR(极地上涨>0),15,低位转强*0.4,9,0),COLORYELLOW;
STICKLINE(低位转强>0,15,低位转强*0.2,9,0),COLORFFCC66;
STICKLINE(极地上涨>0,15,极地上涨*1.01,3,0),COLORYELLOW;
帆起:SMA(MAX((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4-ref((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4,1),0),2,1)/SMA(ABS((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4-ref((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4,1)),2,1)*100/MA(SMA(MAX((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4-ref((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4,1),0),2,1)/SMA(ABS((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4-ref((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4,1)),2,1)*100,10)*23,LINETHICK7,COLORCYAN;
[/code]

页: [1]