请大侠根据我的副图指标帮忙写通达信选股公式给,谢谢
我有一个副图指标,但是我不会写公式,希望懂的大侠帮忙写一个条件选股公式,单独白色柱体条件选股,白色和黄,橙,紫色单独叠加选股公式。副图指标如下,RSV:=(CLOSE-L...
我有一个副图指标,但是我不会写公式,希望懂的大侠帮忙写一个条件选股公式,单独白色柱体条件选股,白色和黄,橙,紫色单独叠加选股公式。副图指标如下,RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
GUPV:=(2*C+H+L)/4;
GUPU:=LLV(LOW,30);
GUPA1:=HHV(HIGH,30);
B:=EMA((GUPV-GUPU)/(GUPA1-GUPU)*100,8);
B1:=EMA(B,5);
STICKLINE(B-B1>0,B,B1,8,1),COLORRED;
STICKLINE(B-B1<0,B,B1,8,1),COLOR00FF00;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
低吸:IF(CROSS(RSI,11),70,0),COLORWHITE,POINTDOT;
STICKLINE(低吸,70,0,4,0),COLORWHITE;
GUP7:=EMA(AMOUNT/VOL/100,3);
GUP8:=EMA(GUP7,88);
GUP9:=EMA(GUP7,88)*0.85;
GUPA:=GUP9*0.87;
GUPB:=LOW<GUPA AND CLOSE>REF(CLOSE,1)*1.02;
STICKLINE(FILTER(GUPB,6),65,0,4,0),COLORFF00FF;
坚定买入:IF(FILTER(GUPB,6),65,0),COLORFF00FF,POINTDOT;
GUPF:=(2*CLOSE+HIGH+LOW)/4;
VA4:=LLV(LOW,34);
VA5:=HHV(HIGH,34);
VA6:=EMA((GUPF-VA4)/(VA5-VA4)*100,6);
VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);
进攻:IF(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),60,0),COLORYELLOW,POINTDOT;
STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND
REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),60,0,4,0),COLORYELLOW;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2); 展开
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
GUPV:=(2*C+H+L)/4;
GUPU:=LLV(LOW,30);
GUPA1:=HHV(HIGH,30);
B:=EMA((GUPV-GUPU)/(GUPA1-GUPU)*100,8);
B1:=EMA(B,5);
STICKLINE(B-B1>0,B,B1,8,1),COLORRED;
STICKLINE(B-B1<0,B,B1,8,1),COLOR00FF00;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
低吸:IF(CROSS(RSI,11),70,0),COLORWHITE,POINTDOT;
STICKLINE(低吸,70,0,4,0),COLORWHITE;
GUP7:=EMA(AMOUNT/VOL/100,3);
GUP8:=EMA(GUP7,88);
GUP9:=EMA(GUP7,88)*0.85;
GUPA:=GUP9*0.87;
GUPB:=LOW<GUPA AND CLOSE>REF(CLOSE,1)*1.02;
STICKLINE(FILTER(GUPB,6),65,0,4,0),COLORFF00FF;
坚定买入:IF(FILTER(GUPB,6),65,0),COLORFF00FF,POINTDOT;
GUPF:=(2*CLOSE+HIGH+LOW)/4;
VA4:=LLV(LOW,34);
VA5:=HHV(HIGH,34);
VA6:=EMA((GUPF-VA4)/(VA5-VA4)*100,6);
VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);
进攻:IF(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),60,0),COLORYELLOW,POINTDOT;
STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND
REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),60,0,4,0),COLORYELLOW;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2); 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询