VAR3:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*200;
VAR4:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*200;
VAR5:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*200;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,150);
指标: EMA(EMA(VAR3,60),900)*1200,colorred,LINETHICK0;
指标1:=EMA(指标,45);
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,5),MA(CLOSE,10)),20,0);
K:EMA(VAR7,75)*100,colorcyan,LINETHICK2;
D:EMA(K,75), colorwhite,LINETHICK2;
J:K*3-D*2, colormagenta,LINETHICK2;
VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;
DRAWTEXT(VARA=20 AND 指标>指标1,J-20,'底部'),colormagenta;
STICKLINE(指标>0 AND 指标>指标1 AND K
STICKLINE(指标>0 AND 指标<指标1 AND K>D,指标,VAR7,1,0),colorblue;
STICKLINE(指标>0 AND 指标<指标1 AND K
STICKLINE(指标<0 AND 指标<指标1 AND K
STICKLINE(指标<0 AND 指标>指标1 AND K
(3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
趋线1:EMA(100*(C-LLV(LOW,50))/(HHV(H,50)-LLV(LOW,50)),510)-50,colorwhite,LINETHICK0;
警戒线: 40,colorblue,LINETHICK1;
卖出线: 50,colorgreen,LINETHICK1;
趋势: 3*SMA((CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100,45,1)-2*SMA(SMA((CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100,45,1),45,1)-50,colorred,LINETHICK0;
底部: -40,LINETHICK1;
底线: -50,LINETHICK1,colorred;
买入警戒1: IF(J<=-80 AND J>指标 AND 趋势>J,30,-50),colorred,LINETHICK2;
买入警戒2: IF(J<=-75 AND 趋势>J AND J>指标,20,-50),colorred,LINETHICK4;
卖出警戒4: IF(J>=75,指标+20,0),colorgreen,LINETHICK3;
卖出警戒1: IF(J>=80,指标+20,0),colorblue,LINETHICK3;
VAR1BS:=(HIGH+LOW+CLOSE)/3;
VAR2B:=(VAR1BS-MA(VAR1BS,20))/(0.015*AVEDEV(VAR1BS,20));
VAR3B:=(VAR1BS-MA(VAR1BS,110))/(0.015*AVEDEV(VAR1BS,110));
VAR4B:=IF(VAR2B>=180 AND VAR2B<230 AND VAR3B>=180 AND VAR3B<230 AND 趋线1<0,-70,0),LINETHICK1,colorblue;
VAR5B:=IF(VAR2B<=-200 AND VAR2B>-230 AND VAR3B<=-50 AND VAR3B>-230 AND 趋线1<0,50,0);
天线:IF(BARSCOUNT(CLOSE)<95,100,IF(VAR3B>=229 AND VAR2B>=229 AND 趋线1<0,-100,VAR4B)+50),LINETHICK3,colorgreen;
天线1:IF(BARSCOUNT(CLOSE)<95,100,IF(VAR3B>=229 AND VAR2B>=229 AND 趋势>30,-100,VAR4B)+50),LINETHICK3,colorgreen;
STICKLINE((VARC=1) AND 指标>指标1,(-50),0,6,0),coloryellow;
DRAWTEXT((VARC=1) AND 指标>指标1 AND 指标>-50,D-15,'必买'),colorred;
STICKLINE((VARD=1) AND 指标<指标1,100,J,6,0),colorwhite;
DRAWTEXT((VARD=1) AND 指标<指标1 AND 指标<50,D+15,'必卖'),colorgreen;
DRAWTEXT(CROSS(趋线1,趋势) AND 趋线1<0 AND 指标<指标1 AND J
DRAWTEXT(CROSS(J,D),J-15,'金叉金叉'),colorwhite;
DRAWTEXT(CROSS(D,J),J+15,'死叉死叉'),colorgreen;
TJ:=MA(IF(LOW<=LLV(LOW,90),(MA(IF(CLOSE*1.35<=1,
SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100*10,
SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100/10),3)+HHV(MA(IF(CLOSE*1.35<=1,
SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100*10,
SMA(ABS(L-REF(LOW,1)),3,1)/SMA(MAX(L-REF(LOW,1),0),3,1)*100/10),3),30)*2)/2,0),3);
挖坑:IF(REF(TJ,2)>REF(TJ,3) AND TJ指标1 AND K>D AND J<0 AND 趋势<40 AND 指标>0,50,0),colorred,LINETHICK3;
挖坑1:IF(REF(TJ,2)>REF(TJ,3) AND TJ指标1 AND K>D AND J<0 AND 趋势<40 AND 指标<0,-50,0),colorred,LINETHICK3;
挖坑2:IF(REF(TJ,2)>REF(TJ,3) AND TJ0 AND J>K AND J<0 AND 趋势<40 AND 指标<指标1,50,0),colorwhite,LINETHICK3