ma13:ma(c,13),colorwhite;
ma34:ma(c,34),colorff00ff;
ma55:ma(c,55),colorffcc66;
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
低吸:=crOSS(RSI,11);
DRAWTEXT(低吸,l,'★'),colorwhite;
DRAWTEXT(低吸,l-0.12,'低吸'),colorwhite;
var7:=ema(amount/vol/100,3);
var8:=ema(var7,88);
var9:=ema(var7,88)*0.85;
vara:=var9*0.87;
varb:=low<vara and close>ref(close,1)*1.02;
drawtext(filter(varb,6),l-0.14,'坚决买进'),colorff00ff;
drawtext(filter(varb,6),l,'★'),colorff00ff;
VarF:=(2*CLOSE+HIGH+LOW)/4;
Va4:=LLV(LOW,34);
Va5:=HHV(HIGH,34);
Va6:=EMA((VarF-Va4)/(Va5-Va4)*100,6);
Va7:=EMA(0.667*REF(Va6,1)+0.333*Va6,4);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(Va6>Va7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),L,'★'),COLORYELLOW;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(Va6>Va7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),L-0.14,'出击'),COLORYELLOW;
a:=(3*CLOSE+LOW+OPEN+HIGH)/6;
{ _最新股票指标公式}
D1:=(20*a+19*REF(a,1)+18*REF(a,2)+17*REF(a,3)+16*REF(a,4)+15*REF(a,5)+14*REF(a,6)
+13*REF(a,7)+12*REF(a,8)+11*REF(a,9)+10*REF(a,10)+9*REF(a,11)+8*REF(a,12)
+7*REF(a,13)+6*REF(a,14)+5*REF(a,15)+4*REF(a,16)+3*REF(a,17)+2*REF(a,18)+
REF(a,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
DRAWTEXT(CROSS(D1,K1),l-0.14,'波段买入'),color0099ff;
DRAWTEXT(CROSS(D1,K1),L,'★'),COLOR0099FF;
多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-sma(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
,3,1),2,1);
天线:=78.89;
stickline(cross(天线,多方趋势),H*1.02,H*1.00,6,0),COLOR00FF00;
drawtext(cross(天线,多方趋势),H*1.04,'逃顶'),COLOR00FF00;