以下是同花顺短波操作副图源码
做中长线的,但是在同一支股上进行两三天的波段以摊低成本, 曾经有一股我把20元的成本做到了9元。奉献出来,看是否适合你~
用法:主要围绕自己熟悉的一个股票,来回做差价。看两个指标同时共振,发出金叉买入,死叉卖出。
N:=2;
N1:=4;
N2:=8;
WR1:-120*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),colorgreen;
WR2:-110*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),coloryellow;
WR3:-108*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2)),colorred;
RSV2:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100;
K2:SMA(RSV2,2,1);
D2:SMA(K2,3,1);
J2:3*K2-2*D2;
否极泰来线:=-100.00,COLORFF00FF,LINETHICK1;
底部线:=-80.00,coloryellow,LINETHICK1;
突破线:=-50.00,colorwhite,LINETHICK1;
暴张线:=-20.00,coloryellow,LINETHICK1;
物极必反线:=0,COLORFF00FF,LINETHICK1;
B1:=WR1REF(CLOSE,1);
B2:=WR1>REF(WR1,1) AND CLOSE<REF(CLOSE,1);
B3:=J2>D2;
B5:=B1 OR B2;
B6:=B5 AND B3;