以下是财富红飘带{通达信的趋势图,主图,顶部收窄减仓或清仓}

{DRAWGBK(CURRBARSCOUNT=1, RGB(110,600,108),RGB(110,600,108));
 DRAWGBK(CURRBARSCOUNT=0, RGB(88,120,100), RGB(88,120,100));}
 AAA:=(3*C+H+L+O)/6;
 VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
 VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
 VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
 VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
 VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
 DRAWBAND(VAR1,RGB(155,50,50),VAR6,RGB(250,250,0));
 DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
买:= VAR1 > VAR6 AND REF(VAR1 = VAR6, 1);
卖:= VAR6 >= VAR1 AND REF(VAR1 > VAR6, 1);
 DRAWTEXT(买, LOW * 0.994, ‘买’);
DRAWTEXT(卖, HIGH * 1.006, ‘卖’);
短线:VAR1,COLORWHITE;
中线:VAR6,COLORYELLOW;
下跌:IF(VAR1=VAR6,VAR6,DRAWNULL),COLORGREEN;
 N1:=5;N2:=7;N3:=11;EM1:=EMA(C,N1),COLORWHITE;
 EM2:=EMA(C,N2),COLORRED;
 EM3:=EMA(C,N3),COLORGREEN;
 TJ:=BETWEEN(EM2,EM1,EM3);
 MA20:MA(C,20),LINETHICK3;
 IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK3;

-=================================================================

财富红飘带选股器指标源代码
 

AAA:=(3*C+H+L+O)/6;
 VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
 VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
 VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
 VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
 VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;

 ENTERLONG: VAR1 > VAR6 AND REF(VAR1 = VAR6, 1) AND CAPITAL < 10000000;

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。