同花顺红买绿卖指标公式
基本概况:
- 指标类别: 同花顺指标
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标语言: 简体中文
- 指标来源: 互联网
- 指标日期: 2017-08-22 00:00:00
内容介绍:
同花顺红买绿卖指标公式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<ref(var25,1) and var26<ref(var26,1) and var25<var26*0.98;
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<open;
stickline(抄底一,40,60,1,1),colorff00ff;
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<open;
drawtext(抄底三,40,'注意'),color0099ff;
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);
相关推荐: