飞狐精品指标-阴线短操
-
相关简介:C/C++ Code 复制内容到剪贴板 {04-阴线短操} MA3:= MASS.A ; MA5:= MASS.B ; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); LC:=REF(CLOSE,1); RSI1:=(SMA(MA
-
文章来源:择股网作者:股海网发布时间:2009-06-13浏览次数:
C/C++ Code复制内容到剪贴板
- {04-阴线短操}
- MA3:="MASS.A";
- MA5:="MASS.B";
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K:=SMA(RSV,3,1);
- D:=SMA(K,3,1);
- DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
- DEA:=EMA(DIFF,9);
- LC:=REF(CLOSE,1);
- RSI1:=(SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1))*100;
- RSI2:=(SMA(MAX(CLOSE-LC,0),12,1))/(SMA(ABS(CLOSE-LC),12,1))*100;
- RSI3:=(SMA(MAX(CLOSE-LC,0),24,1))/(SMA(ABS(CLOSE-LC),24,1))*100;
- A:=MA(CLOSE,14)*MA3/MA5;
- A1:=A*1.1;
- A4:=A*0.9;
- A2:=A1-(A1-A4)*0.191;
- A3:=A1-(A1-A4)*0.618;
- B:=CROSS(K,D) AND CLOSE<A3;
- B1:=CROSS(K,D) AND CLOSE>A3;
- B2:=CROSS(RSI1,RSI2);
- B3:=CROSS(RSI1,RSI3);
- B4:=CROSS(D,20);
- B5:=CROSS(RSI1,RSI3);
- 超短:CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B))=1 AND HIGH>=REF(LOW,1) AND LOW>LLV(LOW,16) OR CROSS(A4*1.01,LOW) AND COUNT(CLOSE>REF(CLOSE,1)*1.09,BARSLAST(CROSS(DIFF,DEA)))>=1 AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(CROSS(DIFF,DEA)))<=2 AND OPEN>=REF(LOW,1)*0.97 OR CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B1))=1 AND HIGH>=REF(LOW,1) AND LOW>LLV(LOW,16) OR CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B2))=1 AND HIGH>=REF(LOW,1) AND LOW>LLV(LOW,16) OR CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B3))=1 AND HIGH>=REF(LOW,1) AND REF(RSI3,1)>40 OR CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B4))=1 AND HIGH>=REF(LOW,1) AND LOW>LLV(LOW,16) OR CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B5))=1 AND HIGH>=REF(LOW,1) AND REF(RSI3,1)>50,LINETHICK0;
- DRAWTEXT(COUNT(超短,2)=1 AND NOT(超短),LLV(LOW,2),'----------'),colorFFFF;
- DRAWTEXT(COUNT(超短,2)=1 AND NOT(超短),LLV(LOW,2)*0.99,'止损线'),colorFFFF;
- STICKLINE(CLOSE>=OPEN AND HIGH>REF(LOW,BARSLAST(超短))*1.03 AND BARSLAST(超短)>=1 AND BARSLAST(超短)<=5,OPEN,CLOSE,8,0),colorFF;
- STICKLINE(CLOSE>=OPEN AND HIGH>REF(LOW,BARSLAST(超短))*1.03 AND BARSLAST(超短)>=1 AND BARSLAST(超短)<=5,HIGH,LOW,0,0),colorFF;
- STICKLINE(CLOSE<OPEN AND HIGH>REF(LOW,BARSLAST(超短))*1.03 AND BARSLAST(超短)>=1 AND BARSLAST(超短)<=5,OPEN,CLOSE,8,0),colorFF00;
- STICKLINE(CLOSE<OPEN AND HIGH>REF(LOW,BARSLAST(超短))*1.03 AND BARSLAST(超短)>=1 AND BARSLAST(超短)<=5,HIGH,LOW,0,0),colorFF00;
- DRAWICON(超短 AND MA3=MA5,LOW*0.99,1),ALIGN1;
- DRAWTEXT(超短 AND MA3=MA5,LOW*0.99,'阴线短操→'),ALIGN2,colorFFFF;
- 短超参考价:A4,LINETHICK0,colorFF00;
- {05-阴线分时}
- A:="Ⅶ-阴线短操.超短#day";
- B:="CPS.A#day";
- DRAWICON(A AND LOW<B*1.005,LOW,1);
上一篇:飞狐精品指标-操盘线
下一篇:飞狐精品指标-箱体顶底