源码如下:
独孤求败(大智慧L2版本)
{独孤求败}
n:=1;
UB:((PEAK(3,10,1))*(0.95)),POINTDOT,CoLor00FFFF;
LB:((TROUGH(3,10,1))*(1.02)),POINTDOT,CoLorFF00FF;
VAE1:=ZIG(3,8);
{这一行采用未来函数}
STICKLINE((2>1) ,HIGH,LOW,0,1),CoLor008000;
STICKLINE((2>1),OPEN,CLOSE,5,1),CoLor008000;
STICKLINE((VAE1>REF(VAE1,1)) AND N,HIGH,LOW,0,0),CoLor0000FF;
STICKLINE((VAE1>REF(VAE1,1)) AND N,OPEN,CLOSE,5,0),CoLor0000FF;
QQ593124450:(MA(CLOSE,8)),CoLor008000;
独孤九剑:(MA(CLOSE,11)),CoLorFFFFFF;
VAR1:=AMOUNT-((CYC(5))*(VOL))*(100);
VAR2:=AMOUNT-((CYC(13))*(VOL))*(100);
VAR3:=AMOUNT-((CYC(34))*(VOL))*(100);
VAR4:=AMOUNT-((CYC(120))*(VOL))*(100);
DRAWTEXT((VAR1>0) AND (VAR2>0) AND (VAR3>0) AND CROSS(VAR4,0) AND N,(LOW)*(0.98),破剑式),CoLorFFFFFF;
DRAWTEXT((CYC(5)>CYC(13)) AND CROSS(CYC(13),CYC(34)) AND N,(LOW)*(0.97),破刀式),CoLorFFFFFF;
DRAWTEXT(CROSS(CYC(4),COST(10)) AND N,(LOW)*(0.96),破枪式),CoLorFFFFFF;
DRAWTEXT((MA(VOL,5)>MA(VOL,20)) AND CROSS(MA(VOL,20),MA(VOL,60)) AND N,(LOW)*(0.95),破鞭式),CoLorFFFFFF;
HS:=((VOL)/(CAPITAL))*(100);
VAR5:=IF((HS<3),VOL,0);
VAR6:=((SUM(VAR5,160))/(CAPITAL))*(100);
VAR7:=(COUNT((HS>5),4)>=3) AND (VAR6>40);
DRAWTEXT(NOT(REF(VAR7,1)) AND VAR7 AND N,(LOW)*(0.94),破枪式),CoLorFFFFFF;
CYS:=((CLOSE-CYC(13))/(CYC(13)))*(100);
DRAWTEXT(CROSS(CYS,17.4) AND N,(LOW)*(0.93),破索式),CoLorFFFFFF;
MID:=(HIGH+LOW+CLOSE)/(3);
CR:=((SUM(MAX(0,HIGH-REF(MID,1)),26))/(SUM(MAX(0,REF(MID,1)-LOW),26)))*(100);
MA3:=REF(MA(CR,20),(20)/(2.5)+1);
DRAWTEXT(CROSS(CR,MA3) AND N,(LOW)*(0.92),破掌式),CoLorFFFFFF;
DRAWTEXT((MA(CLOSE,3)>MA(CLOSE,13)) AND CROSS(MA(CLOSE,13),MA(CLOSE,30)) AND N,(LOW)*(0.91),破箭式),CoLorFFFFFF;
DRAWTEXT(CROSS(CYS,10) AND N,(LOW)*(0.9),破气式),CoLorFFFFFF; {顶尖财经网www.58188.com整理}
|
|
|
|
|