{指标介绍:
1、左膀:左侧抄底关注信号(钻石图标),此信号为先决条件,买票之前一定要有此信号出现。
2、右臂:右侧买入信号(钱袋子图标),此信号为买点信号,真买点为前面几天伴随着钻石关注信号出现才能建仓买入,否则放弃买入。}
x_1:=(c h o l)/4;
x_2:=ma(close,3);
x_3:=(c-x_2)/x_2*100;
x_4:=ma(close,7);
x_5:=(c-x_4)/x_4*100;
x_6:=ma(close,5);
x_7:=cross(0,x_3) and x_5ref(x_6,1);
x_8:=filter(x_7,10);
x_9:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
x_10:=ref(ma(x_9,3),1) (x_9-ref(ma(x_9,3),1))/3;
x_11:=ref(ma(x_10,3),1) (x_10-ref(ma(x_10,3),1))/3;
x_12:=3*x_10-2*x_11;
x_13:=ema(x_12,5);
x_14:=ref(x_13,1);
x_15:=c x_16:=not(x_15);
x_17:=(close-ma(close,13))/ma(close,13)*100/0.7;
x_18:=(close-ma(close,6))/ma(close,6)*100*2;
x_19:=(close-ma(close,11))/ma(close,11)*100/0.3/1.3/1.5;
x_20:=if(x_18<-9,32,40);
x_21:=if(x_19<-12,22,30);
x_25:=if(x_17<-12,12,20);
x_26:=x_20<40 and x_21<30 and x_25<20 and x_16 and c>l and c>ma(c,60);
drawtext(x_8,high*1.04,'↓减仓'),colorgreen;
卖出:ma(x_1,20)*(1 80/1000),colorgreen,linethick2;
买入:ma(x_1,32)*(1-100/1000),colormagenta,linethick2;
幅度:100*(卖出-买入)/买入,nodraw;
stickline(卖出>low and 卖出 stickline(卖出>min(c,o) and 卖出 stickline(卖出>low and 卖出 stickline(卖出 stickline(卖出 stickline(买入>low and 买入 stickline(买入>min(c,o) and 买入 stickline(买入>low and 买入 stickline(买入>high,open,close,3,0),colormagenta;
stickline(买入>high,high,low,0,0),colormagenta;
drawtext(cross(c,买入) and x_13>x_14 and c>ref(o,2),买入*0.95,' 买入'),color0000ff;
drawicon(cross(c,买入) and x_13>x_14 and c>ref(o,2),买入*0.97,9);
drawtext(x_26>0,买入*0.95,'关注'),color00ffff;
drawicon(x_26>0,买入*0.97,26);