万能长剑:=1;
rsi波段抄底:=39;
N:=5;{www.gs6699.com}
股票指标公式:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1);
ssdd2A:=8;
{DRAWICON(CROSS(股票指标公式,ssdd2A),8,3)};
ssddO5A:=LLV(LOW,27);
gdsdaO6A:=HHV(HIGH,34);
VURO7A:=EMA((CLOSE-ssddO5A)/(gdsdaO6A-ssddO5A)*4,4)*25;
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/64;
gdsa1:=IF(SS>13,MA(SS,2),SS);
MM:=WINNER(H/2+L/2)*100;
WW:=3;
gdsa2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
gdsda3:=((REF(gdsa2,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
gdsda4:=((REF(gdsda3,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VYR5:=((REF(gdsda4,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
gdsda6:=((REF(VYR5,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
gdsda7:=((REF(gdsda6,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
gdsda8:=((REF(gdsda7,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
gdsda9:=((REF(gdsda8,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
gdsdaA:=((REF(gdsda9,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
gdsdaB:=((REF(gdsdaA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
gdsdaC:=((REF(gdsdaB,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
gdsdaD:=((REF(gdsdaC,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
gdsdaE:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
gdsdaF:=((REF(gdsdaE,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
gdsda10:=((REF(gdsdaF,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
gdsda11:=((REF(gdsda10,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
gdsda12:=((REF(gdsda11,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
gdsda13:=((REF(gdsda12,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
gdsda14:=((REF(gdsda13,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VUR15:=((REF(gdsda14,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
gdsda16:=((REF(VUR15,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
gdsda17:=((REF(gdsda16,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
gdsda18:=((REF(gdsda17,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
gdsda19:=((REF(gdsda18,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
gdsa3:=(REF((((((((((((gdsdaE OR gdsdaF) OR gdsda10) OR gdsda11) OR gdsda12) OR gdsda13) OR gdsda14) OR VUR15) OR gdsda16) OR gdsda17) OR gdsda18) OR gdsda19),1) AND gdsa2);
gdsdaAA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
gdsdaBA:=SMA(gdsdaAA,3,1);
gdsdaCA:=SMA(gdsdaBA,3,1);
gdsa4:EMA(3*gdsdaBA-2*gdsdaCA,3)*万能长剑,COLORYELLOW;
加速:=gdsa4;
买入:IF(MM>REF(MM,1) AND 股票指标公式>REF(股票指标公式,1)
AND gdsa1>REF(gdsa1,1) AND 股票指标公式<80 AND gdsa1>5
AND gdsa3=1 AND REF(加速,1)<rsi波段抄底,150,0)*万能长剑,COLORRED,LINETHICK2;
R加速:=REF(加速,1);
DRAWICON(CROSS(R加速,加速),加速,2);
DRAWICON(CROSS(加速,R加速) AND R加速<50,R加速,11);
{MC:=IF(C<REF(L,1)*1.01,1,0);
DRAWICON(CROSS(MC,0.9),100,2)};
B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B2:=SMA(B1,9,1)+100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=(B5-B2);
模量:=VOL*240;
LF:=100*(EMA(IF(C>O,模量,0),10)-EMA(IF(C<O,模量,0),10))/EMA(VOL,5);
JF:=50*EMA((2*C-REF(C,1)-REF(O,1)),10)/EMA(H-L,5);
LJF:=SMA((JF+LF)/2,3,1);
指1标:=JF+LF;
趋1势:=LJF;
量价动力:=3*LJF-2*SMA(LJF,3,1);
SZ:=ABS((C-O)/O)*10000;
买2:IF((MM>REF(MM,1) AND 股票指标公式>REF(股票指标公式,1)
AND gdsa1>REF(gdsa1,1) AND 股票指标公式<80 AND gdsa1>5 AND (CROSS(加速,R加速))
AND R加速<55
AND REF(SZ,1)<150)
OR (MM>REF(MM,1) AND 股票指标公式>REF(股票指标公式,1)
AND gdsa1>REF(gdsa1,1) AND 股票指标公式<80 AND gdsa1>5 AND (CROSS(加速,R加速))
AND R加速<55 AND REF(SZ,1)<150)*万能长剑
,100,0),COLORYELLOW;
买3:IF((MM>REF(MM,1) AND 股票指标公式>REF(股票指标公式,1)
AND gdsa1>REF(gdsa1,1) AND 股票指标公式<80 AND gdsa1>5 AND (CROSS(加速,R加速))
AND CROSS(指1标,REF(指1标,1)) AND REF(指1标,1)<趋1势*1.4 AND
R加速<55)
OR (MM>REF(MM,1) AND 股票指标公式>REF(股票指标公式,1)
AND gdsa1>REF(gdsa1,1) AND 股票指标公式<80 AND gdsa1>5 AND (CROSS(加速,R加速))
AND CROSS(指1标,趋1势) AND R加速<55)*万能长剑
,70,0),COLORRED;
买4:IF((MM>REF(MM,1) AND 股票指标公式>REF(股票指标公式,1)
AND gdsa1>REF(gdsa1,1) AND 股票指标公式<80 AND gdsa1>5 AND (CROSS(加速,R加速))
AND CROSS(指1标,REF(指1标,1)) AND REF(指1标,1)<趋1势*1.4)
OR (MM>REF(MM,1) AND 股票指标公式>REF(股票指标公式,1)
AND gdsa1>REF(gdsa1,1) AND 股票指标公式<80 AND gdsa1>5 AND (CROSS(加速,R加速))
AND CROSS(指1标,趋1势))*万能长剑,40,0),COLORMAGENTA;