飞狐精品指标-英雄趋势线
-
相关简介:C/C++ Code 复制内容到剪贴板 {Ⅴ-英雄趋势线} input:W(1,1,2); AA:=MA(CLOSE,23); STICKLINE(CLOSE=AA,LOW,HIGH,0.1,0),colorFF; STICKLINE(CLOSE=AA,OPEN,CLOSE,8,0),colorFF; STICKLINE(CLOSEAA,LOW,HIGH,0.1,0),colorFF00; STICKLINE(CLOSEAA,OPEN,CLOSE,8,0),color
-
文章来源:择股网作者:股海网发布时间:2009-06-13浏览次数:
C/C++ Code复制内容到剪贴板
- {Ⅴ-英雄趋势线}
- input:W(1,1,2);
- AA:=MA(CLOSE,23);
- STICKLINE(CLOSE>=AA,LOW,HIGH,0.1,0),colorFF;
- STICKLINE(CLOSE>=AA,OPEN,CLOSE,8,0),colorFF;
- STICKLINE(CLOSE<AA,LOW,HIGH,0.1,0),colorFF00;
- STICKLINE(CLOSE<AA,OPEN,CLOSE,8,0),colorFF00;
- S1:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100;
- S2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
- T1:=IF(S1<18.5 AND REF(S1,1)>18.5 AND REF(S1,2)<18.5,1,0);
- T2:=IF(S1>18.5 AND S1<REF(S1,1) AND REF(S1,1)>REF(S1,2),1,0);
- T5:=IF(S1<18.5 AND S1<REF(S1,1) AND REF(S1,1)>REF(S1,2) AND REF(S1,1)>18.5,1,0);
- T3:=IF(S2<29.5 AND REF(S2,1)>29.5 AND REF(S2,2)<29.5,1,0);
- T4:=IF(S2>29.5 AND S2<REF(S2,1) AND REF(S2,1)>REF(S2,2),1,0);
- T6:=IF(S2<29.5 AND S2<REF(S2,1) AND REF(S2,1)>REF(S2,2) AND REF(S2,1)>29.5,1,0);
- IF W=1 THEN
- DRAWICON(T1=1 OR T2=1 OR T3=1 OR T4=1 OR T5=1 OR T6=1,HIGH*1.1,'ch');
- IF W=2 THEN
- DRAWICON(T1=1 OR T2=1 OR T3=1 OR T4=1 OR T5=1 OR T6=1,HIGH*1.1,'cb');
- T7:=MA(CLOSE,23);
- T8:=CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,2)>REF(CLOSE,3) AND REF(CLOSE,3)>REF(CLOSE,4);
- IF W=1 THEN
- DRAWICON(ALL(CLOSE<T7,3) AND T8,HIGH*1.08,'fh');
- IF W=2 THEN
- DRAWICON(ALL(CLOSE<T7,3) AND T8,HIGH*1.08,'fb');
- T9:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,2)<REF(CLOSE,3);
- T10:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,2)<REF(CLOSE,3) AND REF(CLOSE,3)<REF(CLOSE,4);
- T11:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,2)<REF(CLOSE,3) AND REF(CLOSE,3)<REF(CLOSE,4) AND REF(CLOSE,4)<REF(CLOSE,5);
- DRAWTEXT(CLOSE>=T7 AND (T9 OR T10 OR T11),LOW,'↑'),colorFF00FF;
- {Ⅲ-乾坤一线}
- 【上市时间】:REF(YEAR,BARSCOUNT(CLOSE)-1),LINETHICK0,colorFF;
- 月:REF(MONTH,BARSCOUNT(CLOSE)-1),LINETHICK0,colorFF00FF;
- 日:REF(DAY,BARSCOUNT(CLOSE)-1),LINETHICK0,colorFFFF;
- DRAWTEXTEX(CLOSE,1,10,5,'版块:'+BLKNAME+'\n'),colorFF00;
- TFC势:IF(CLOSE<0,0,(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15)+MA(CLOSE,20))/4),colorFF;
- PARTLINE(TFC势>REF(TFC势,1),TFC势),LINETHICK3,colorFF;
- PARTLINE(TFC势<REF(TFC势,1),TFC势),LINETHICK3,colorFF00;
- DRAWTEXTEX(CLOSE,1,1,1000,'【'),colorFF;
- DRAWTEXTEX(CLOSE,1,20,1000,'舞庄理念:'),colorFF00FF;
- DRAWTEXTEX(CLOSE,1,100,1000,'把握趋势,与庄共舞!'),colorFFFF00;
- DRAWTEXTEX(CLOSE,1,250,1000,'】'),colorFF;
上一篇:飞狐精品指标-乾坤中线
下一篇:飞狐精品指标-与庄共舞