黄龙出海主图指标源码:2赋值1:=ABS...
黄龙出海主图指标源码:2
赋值1:=ABS(REF(CCI1,1)-CCI1),LINETHICK0;
CCI2:=(WUOKJL-MA(WUOKJL,10))/(0.015*AVEDEV(WUOKJL,10));
赋值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;
CCI3:=(WUOKJL-MA(WUOKJL,20))/(0.015*AVEDEV(WUOKJL,20));
赋值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;
CCI4:=(WUOKJL-MA(WUOKJL,30))/(0.015*AVEDEV(WUOKJL,30));
赋值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;
CCI5:=(WUOKJL-MA(WUOKJL,60))/(0.015*AVEDEV(WUOKJL,60));
赋值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;
CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;
快快快:=(3*C+H+L+O)/6;
VAR1:=(8*快快快+7*REF(快快快,1)+6*REF(快快快,2)+5*REF(快快快,3)+4*REF(快快快,4)
+3*REF(快快快,5)+2*REF(快快快,6)+REF(快快快,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;
短线:VAR1,COLORWHITE;
中线:VAR6,COLORYELLOW;
DRAWBAND(短线,RGB(255,255,0),中线,RGB(256,200,0));
下跌:IF(VAR1=VAR6,VAR6, DRAWNULL),COLORGREEN;
TJ1:= CCI1>赋值4;
立桩量:=FILTER(TJ1,0);
TJ2:=IF(BARSLAST(立桩量)=1 ,1,IF(BARSLAST(立桩量)=2 ,1,
IF(BARSLAST(立桩量)=3 ,1,0)));
成立1:=TJ2;
符合条件1:=FILTER(成立1,5);
TJ11:= CCI1<-赋值4 ;
大量:=FILTER(TJ11,0);
TJ22:=IF(BARSLAST(大量)=1 AND CLOSE>REF(HIGH,1),1,
IF(BARSLAST(大量)=2 AND CLOSE>REF(HIGH,2),1,
IF(BARSLAST(大量)=3 AND CLOSE>REF(HIGH,3),1,0)));
成立2:=TJ22;
符合思路:=FILTER(成立2,5);
TJ111:=(ABS(CCI1)>CCI AND ABS( 赋值1)> ABS(赋值5))
OR (VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1);
本量:=FILTER(TJ111,5);
TJ222:=IF(BARSLAST(本量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(本量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(本量)=3 AND CLOSE>REF(HIGH,3),1,0)));
突破3:=TJ222=1;
STICKLINE(CLOSE AND 下跌!= VAR6,REF(HIGH,BARSLAST(本量)),
REF(HIGH,BARSLAST(本量)),10,1),COLORCYAN;
STICKLINE(CLOSE AND 下跌!= VAR6,REF(LOW,BARSLAST(本量)),
REF(LOW,BARSLAST(本量)),10,1),COLORYELLOW;
TJ3:=IF(BARSLAST(本量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(本量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(本量)=3 AND CLOSE>REF(LOW,3),1,0)));
赋值三日:=TJ3=1;
成立:=赋值三日 AND 突破3;
符合条件:=FILTER(成立,5);