同花順紅買綠賣波段買賣操盤指標公式
- 指標類別: 同花順指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2020-03-04 來源:互聯網
同花順紅買綠賣波段買賣操盤指標公式:
N1:=9;M1:=3;M2:=3;M3:=5;
rsv:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
fastk:=SMA(rsv,3,1);
k:SMA(fastk,3,1);
d:SMA(k,5,1),colorwhite;
a1:=LLV(LOW,999999);
a2:=HHV(HIGH,999999);
a3:=100/(a2-a1);
80,POINTDOT,linethick2;
20,POINTDOT,linethick2;
var1:=HHV(HIGH,9)-LLV(LOW,9);
var2:=HHV(HIGH,9)-CLOSE;
var3:=CLOSE-LLV(LOW,9);
var4:=var2/var1*100-70;
var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
var6:=(2*CLOSE+HIGH+LOW)/4;
var7:=SMA(var3/var1*100,3,1);
var8:=LLV(LOW,34);
var9:=SMA(var7,3,1)-SMA(var4,9,1);
var10:=IF(var9>100,var9-100,0);
var11:=HHV(HIGH,34);
var12:=EMA((var6-var8)/(var11-var8)*100,13);
var13:=EMA(0.667*REF(var12,1)+0.333*var12,2);
var14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF
(INDEXC,1))/INDEXC,8,1)*100-25;
var15:=MA(var14,3);
var16:=REF(var15,1);
STICKLINE(var12-var13>0,var12,var13,8,0),colorred;
STICKLINE(var12-var13<0,var12,var13,8,0),colorgreen;
生命線:=EMA(var13,5);
STICKLINE(CROSS(var13,var12) AND var12>60,90,100,10,0),color00ff00;
綠燈亮賣:0,color00ff00;
STICKLINE(CROSS(var12,var13) AND var12>var13 AND var12<18,10,0,10,0),colorred;
紅燈亮買:0,colorred;
var21:=INDEXC;
var22:=MA(var21,6);
var23:=MA(var21,24);
var24:=MA(var21,32);
var25:=MA(var21,62);
var26:=MA(var21,105);
var27:=var25 var28:=var24>var22*1.11 AND var23>var22*1.095;
var29:=var22>var21*0.95;
抄底一:= var27 AND var28 AND var29 AND CLOSE/COST(8)<=0.8 AND CLOSE
var2a:=CLOSE/MA(CLOSE,40)*100<78;
var2b:=CLOSE/MA(CLOSE,60)*100<74;
var2c:=HIGH>LOW*1.051;
var2d:=var2c AND COUNT(var2c,5)>1;
var2e:=var2d AND (var2a OR var2b);
var2f:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
var30:=(CLOSE-var2f)/var2f*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;
var31:=(CLOSE-REF(CLOSE,5))/CLOSE*100<-9;
var32:=WINNER(CLOSE);
var33:=EMA((INDEXC-MA(INDEXC,10))/INDEXC*100,14)<-4.9;
var34:=(MA(VOL,5)-VOL)/CAPITAL*100<0.8;
var35:=(VOL-MA(VOL,21))/VOL*100;
抄底二:= var33 AND var31 AND var32<0.12 AND var34 AND var35>18;
STICKLINE(抄底二,40,60,3,1),coloryellow;
var36:=(REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/5;
var37:=(REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6))/5;
var38:=(REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7))/5;
var39:=(REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8))/5;
var3a:=(REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8)+REF(CLOSE,9))/5;
bias3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
抄底三:=(var36/CLOSE>1.112 OR var37/CLOSE>1.123 OR var38/CLOSE>1.135 OR var39/CLOSE>1.145 OR var3a/CLOSE>1.156) AND bias3<=-20 AND COST(25)/CLOSE>=1.5 AND CLOSE
var3b:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
抄底四:= FILTER(IF(CROSS(var3b,-28),1,0),8);
STICKLINE(CROSS(var3b,-28),40,50,8,1),colorwhite;
var3c:=DMA(EMA(CLOSE,13),SUM(VOL,5)/2/CAPITAL);
var3d:=(CLOSE-var3c)/var3c*100;
抄底五:= REF(var3d,1)<-35 AND var3d>REF(var3d,1) AND REF(var3d,1)2.5;
STICKLINE(抄底五,20,30,8,1),colorffcc66;
var3e:=100*WINNER(REF(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9);
抄底六:= CLOSE>OPEN*1.06 AND var3e<10;
STICKLINE(抄底六,10,20,8,1),colorblue;
同花順紅買綠賣波段買賣操盤指標公式實例圖解:
同花順紅買綠賣波段買賣操盤指標公式