源码
趋势线:(1.06*(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)+50),colorwhite;
Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
Var3:=LLV(LOW,34);
Var4:=HHV(HIGH,34);
SK: EMA((Var2-Var3)/(Var4-Var3)*100,13);
SD: EMA(SK,3);
买入: IF(CROSS(趋势线,8.5),60,19);
卖出: IF(CROSS(87,趋势线),40,81);
Var5:=AMOUNT/VOL/100;
Var6:=IF(Var5>CLOSE*1.1,CLOSE,IF(Var5<CLOSE*0.9,CLOSE,Var5));
Var7:=100*WINNER(Var6);
Var8:=MA(Var7,8);
Var9:=HHV(CLOSE,0)/Var8;
VarA:=IF(Var9>2.5,-10,Var9);
VarB:=IF(VarA>1,-10,VarA);
底限: VarB, , ;
VarC:=Var8/LLV(LOW,0);
VarD:=HHV(HIGH,0)/Var8*8*10;
VarE:=IF(VarD>50,50,VarD);
VarF:=VarE;
Var10:=HHV(HIGH,0)/Var8*4.5*100;
Var11:=IF(Var10>100,103,Var10);
DRAWTEXT(CROSS(87,趋势线),35,'逃');
DRAWTEXT(CROSS(趋势线,8.5),65,'买');
DRAWTEXT(CROSS(90,Var8),86,'诱多');
DRAWTEXT(CROSS(Var8,10),11,'吸筹');
DRAWTEXT(CROSS(Var8,46),Var8,'拉升');
Var13:=IF(CROSS(SK,SD),23,19);
Var14:=IF(CROSS(SD,SK),77,81);
卖出1: Var14;
买进: Var13;