DRAWGBKLAST(CLOSE>0,STRIP(RGB(80,131,54),RGB(0,0,0),0));
ma20:=ma(close,20);
ma120:=ma(close,120);
ma30:=ma(close,37);
map:=ma(close,8);
aa5:=ma(close,21);
aa10:ma(close,8),color0000ff;
aa12:ma(close,12),color0000ff;
bb10:=((atan((aa10 - ref(aa10,1))) * 3.1416) * 10);
bb12:=((atan((aa12 - ref(aa12,1))) * 3.1416) * 10);
ma13:=ma(close,13);
var1q:=((((open + low) + high) + close) / 4);
中期大底:llv(low,30),colorcdffbb;
短底:=ema(var1q,5);
支撑:=hhv(短底,60);
压力一:hhv(low,20),colorfaabec;
压力:=sma(low,5,1);
中线:=ma(close,3);
drawtext(filter(((((high > 支撑) and (close < 支撑)) and ((close / open) > (0 - 1.06))) and (close < open)),5),(high + 0.02),'←逃'),color00ffff;
中轨道:=(ma(high,15) * 1.05);
天:=(ma(low,15) * 0.985);
人:=(ma(low,15) * 0.96);
地:=(((high + low) + close) / 3);
b1:=hhv(地,(4 * 15));
b6:=llv(地,(4 * 15));
b7:=(b1 - b6);
b8:=(ma(((地 - b6) / b7),2) * 80);
var1:=(((close - llv(low,100)) / (hhv(high,100) - llv(low,100))) * 200);
飞龙顶底线:=sma(var1,3,1);
var2:=sma(飞龙顶底线,3,1);
var3:=((3 * 飞龙顶底线) - (2 * var2));
var4:=llv(low,5);
var5:=hhv(high,5);
var6:=(ema((((close - var4) / (var5 - var4)) * 100),4) * 2);
var7:=ema(((0.667 * ref(var6,1)) + (0.333 * var6)),2);
var8:=((3 * var6) - (2 * var7));
var9:=(pow(ma(close,5),2) + ma(close,5));
vara:=(pow(ma(low,5),2) + ma(low,5));
varb:=(pow(ma(high,5),2) + ma(high,5));
varc:=(((((var9 - llv(vara,64)) / (hhv(varb,64) - llv(vara,64))) * 150) + 65) - 10);
vard:=((sma(varc,3,1) * 1.5) - 100);
vare:=sma(vard,3,1);
varf:=((3 * vard) - (2 * vare));
var10:=(((high + low) + (close * 2)) / 4);
var11:=ema(var10,13);
var12:=std(var10,13);
var13:=(((var10 - var11) * 100) / var12);
var14:=ema(var13,5);
var15:=ema(var14,13);
var16:=((ema(var14,13) + 200) - 100);
var17:=ema(var16,10);
var18:=((3 * var16) - (2 * var17));
var19:=(((飞龙顶底线 + var6) + vard) + var16);
var1a:=(((var2 + var7) + vare) + var17);
var1b:=(((var3 + var8) + varf) + var18);
var1c:=(((high + low) + close) / 3);
var1d:=((amount / vol) / 100);
var1e:=((sum(amount,5) / sum(vol,5)) / 100);
var1f:=((var1c - ma(var1c,34)) / (0.015 * avedev(var1c,34)));
var20:=dma(((amount / vol) / 100),(vol / capital));
var21:=((((high + low) + close) + var1c) / 4);
var22:=ema(var21,24);
var23:=std(var21,24);
var24:=(((var21 - var22) / var23) * 100);
var25:=((var1c - ma(var1c,24)) / (0.015 * avedev(var1c,24)));
var26:=ema(var24,5);
var27:=((var1d - ma(var1d,21)) / (0.015 * avedev(var1d,21)));
var28:=((var1e - ma(var1e,90)) / (0.015 * avedev(var1e,90)));
var29:=(((((((var28 + var27) + var26) + var25) + var1f) / 5) + 165) / 4);
var2a:=(((((var19 + var1a) + (var1b * 30)) / 32) / 5) - 15);
var2b:=(((var29 + var2a) / 2) / 1.1);
var2c:=var2b;
短线:=ma(var2c,26);
mid:=(短线 + (2 * std(var2c,26)));
upper:=(短线 - (2 * std(var2c,26)));
lower:=if((var2c > 短线),短线,var2c);
xy:=ma(close,5);
ma5:=ma(close,80);
短期底部:(llv(high,30) * 0.93),color0000ff;
ma80:=llv(high,30);
短期底部二:=sma(close,2,1);
趋势:=(ma(low,10) * 0.96);
趋:=(ema(open,107) * 0.897);
超跌位二:=ma(close,15);
gf:=ma(close,10);
man:=(sma(high,21,2) * 1.05);
上一:=(hhv(短底,60) * 0.92);
压力二:=(sma(high,21,2) * 1.035);
阻挡线:=(sma(low,21,2) * 0.96);
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rsv:=sma(下档线,3,1);
k:=sma(rsv,3,1);
d:=((3 * rsv) - (2 * k));
j:=(((close - ma(close,6)) / ma(close,6)) * 100);
var2p:=(((close - ma(close,12)) / ma(close,12)) * 100);
var3p:=(((close - ma(close,24)) / ma(close,24)) * 100);
var4p:=(((j + (2 * var2p)) + (3 * var3p)) / 6);
var5p:=ma(var4p,3);
var6p:=(((close - llv(low,34)) / (hhv(high,34) - llv(low,34))) * 100);
rsv12:=sma(var6p,3,1);
k12:=sma(rsv12,3,1);
d12:=((3 * rsv12) - (2 * k12));
j12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(j12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
{j24:=if(cross(d,d24),low,ref(low,barslast(cross(d,d24))));}
压力位:if(cross(d24,d),high,l),pointdot,colorffffff;
支撑位:=if((close >= ma(close,20)),80,50);
u2l:=if((close >= ma(close,20)),50,20);
{l2l:=if(((d < 支撑位) and (ref(d,1) >= 支撑位)),hhv(ref(high,1),(barslast(((d >= 支撑位) and (ref(d,1) < 支撑位))) - 1)),ref(hhv(ref(high,1),(barslast(((d >= 支撑位) and (ref(d,1) < 支撑位))) - 1)),barslast(((d < 支撑位) and ref(d,1)))));
rh1:=if((high > l2l),low,ref(low,barslast((high > l2l))));
rh4:=if((high > l2l),d,ref(d,barslast((high > l2l))));
rh42:=if((((high > rh1) and (d < rh4)) and (d < d24)),high,ref(high,barslast((((high > rh1) and (d < rh4)) and (d < d24)))));
rh5:=if(((d > u2l) and (ref(d,1) <= u2l)),llv(ref(low,1),(barslast(((d <= u2l) and (ref(d,1) > u2l))) - 1)),ref(llv(ref(low,1),(barslast(((d <= u2l) and (ref(d,1) > u2l))) - 1)),barslast(((d > u2l) and ref(d,1)))));
rl1:=if((low < rh5),high,ref(high,barslast((low < rh5))));
rl4:=if((low < rh5),d,ref(d,barslast((low < rh5))));
rl42:=if((((low < rl1) and (d > rl4)) and (d > d24)),low,ref(low,barslast((((low < rl1) and (d > rl4)) and (d > d24)))));}
长期底部:llv(high,30),color00ff00;
{drawtext(filter(((((rl42 = j24) and (close > open)) and (close > 长期底部)) and (low <= j24)),20),(low - 0.12),'←底成'),color0eabff;}
rl5:=(sma(high,5,2) * 1.05);
上:=(sma(low,5,2) * 0.96);
下:=sma(low,2,1);
{drawtext(filter((((((low <= 压力位) and (winner(close) <= 0.07)) and (close >= 压力位)) and (close < 上1)) and ((close / open) > 1.02)),3),low,'追'),color936ef0;}
中:=(((((3 * close) + high) + low) + open) / 6);
x1:=ema(中,10);
x2:=ref(x1,1);
x3:=((ref(high,1) + ref(low,1)) / 2);
x4:=(ma(close,21) + (2 * std(close,21)));
x5:=ref(close,1);
x6:=((sma(max((close - x5),0),7,1) / sma(abs((close - x5)),7,1)) * 100);
x7:=cross(79,x6);
x8:=filter(x7,4);
x9:=ma(close,115);
var1m:=ema(close,8);
飞龙顶底线一:=ema(var1m,20);
var2m:=cross(var1m,飞龙顶底线一);
var3m:=(var1m < ma(close,20)); |