{游资八戒作品八戒神龙主图源码如下}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
CY:STICKLINE(CLOSE/REF(CLOSE,1)>=1.1 ,CLOSE-(CLOSE-OPEN)/3,OPEN,2,0),COLORYELLOW;
ZT:STICKLINE(CLOSE/REF(CLOSE,1)>=1.0989 AND CLOSE=HIGH ,CLOSE,OPEN,2,0),COLORYELLOW;
DY:STICKLINE(CLOSE/REF(CLOSE,1)>=1.05 AND CLOSE/REF(CLOSE,1)<1.0989,CLOSE,OPEN,2,0),COLORMAGENTA;
ZY:STICKLINE(CLOSE/REF(CLOSE,1)>=1.03 AND CLOSE/REF(CLOSE,1)<1.05,CLOSE,OPEN,2,0),COLORRED;
TZB:=HIGH=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE<HIGH;
ZQ:=100*(C-REF(C,12))/REF(C,12);
CQ:=((H+L+C)/3-MA((H+L+C)/3,88))/(0.015*AVEDEV((H+L+C)/3,88));
TD:=1.07*DMA(C,ABS((2*C+H+L)/4-MA(C,26))/MA(C,26));
QS:=MA(ATAN(TD-REF(TD,1)),3);
QS1:=IF((C>O OR C<O) AND H>=REF(C,1),ATAN(MA(H,5)*1.02-REF(MA(C,5)*1.02,1)),0);
QS2:=IF((C>O OR C<O) AND H<REF(C,1),-ATAN(REF(MA(C,5)*1.02,1)-MA(H,5)*1.02),0);
FJ:=MA(REF((QS1+QS2),1),26);
QQS:=QS>FJ AND QS>REF(QS,1);
CN:=QQS AND CQ>200 AND ZQ>20 AND C>REF(C,1);
DRAWTEXT(CN,L*0.95,'↖八戒神龙'),COLORYELLOW ,LINETHICK2;
TT:(EMA(C,5) * 7 + EMA(C,10) * 3) / 10,,NODRAW;
DRAWTEXT(FILTER(CROSS(TT,MA(H,30) * (1 + 13 / 100)),5),MA(H,30) * (1 + 13 / 100) * 0.96,'↖捉大妖'),COLORYELLOW;
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,LINETHICK2,COLORRED;
VAR2:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/3;
BB:(HHV(VAR2,2)+HHV(VAR2,4)+HHV(VAR2,8))/3,COLORYELLOW,LINETHICK4;
IF((VAR1 <= REF(VAR1,1)),VAR1,DRAWNULL),COLORGREEN,LINETHICK4;
IF((VAR1 >= REF(VAR1,1)),VAR1,DRAWNULL),COLORMAGENTA,LINETHICK4;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;
STICKLINE(BB>VAR1,BB,VAR1,0,0),COLORBLUE;
DRAWTEXT(REF(VAR6,1)=REF(VAR1,1) AND VAR6<VAR1,L*0.98,'↖加仓'),COLORYELLOW;
LC:=REF(CLOSE,1);
LC1:=REF(CLOSE,1);
RSI1:=((SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1)))*(100);
DRAWTEXT(CROSS(84,RSI),HIGH,'→ 逃顶 '),COLORBLUE,LINETHICK2;
DRAWTEXT(CROSS(RSI,11),LOW*0.95,'→ 低吸 '),COLORWHITE;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
VAR5:=CROSS(CCI,-100);
VAR8:=CCI>=200;
DRAWTEXT(VAR8,HIGH*1.02,'←----小心'),COLORLIRED;
{游资八戒作品八戒神龙副图源码如下}
C1:=O>REF(C,1) AND L>REF(H,1);
C2:=BETWEEN(C/O,1.045,0.98);
C3:=H/MAX(C,O)>MAX(C,O)/MIN(C,O) OR H/MAX(C,O)>1.03;
C4:=MIN(C,O)/L<MAX(C,O)/MIN(C,O) AND MIN(C,O)/L<1.02;
C5:=BETWEEN(V/REF(V,1),1.1,4);
C6:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20);
C7:=C=HHV(C,7);
八戒昨天:=C1 AND C2 AND C3 AND C4 AND C5 AND C6 AND C7;
D1:=O/REF(C,1)>0.98;
D2:=L>REF(H,2);
D3:=C/REF(MAX(C,O),1)>1.01;
八戒今天:=D1 AND D2 AND D3;
XA:=REF(八戒昨天,1) AND 八戒今天;
DRAWTEXT(XA,50,'-------八戒仙人指路'),COLORMAGENTA;
STICKLINE(XA,40,20,3.5,0),COLORA8A8A8;
STICKLINE(XA,50,49,1.7,0),COLORA8A8A8;
STICKLINE(XA,49,48,1.9,0),COLORA8A8A8;
STICKLINE(XA,48,47,2.1,0),COLORA8A8A8;
STICKLINE(XA,47,46,2.3,0),COLORA8A8A8;
STICKLINE(XA,46,45,2.5,0),COLORA8A8A8;
STICKLINE(XA,45,44,2.7,0),COLORA8A8A8;
STICKLINE(XA,44,43,2.9,0),COLORA8A8A8;
STICKLINE(XA,43,42,3.1,0),COLORA8A8A8;
STICKLINE(XA,42,41,3.3,0),COLORA8A8A8;
STICKLINE(XA,41,40,3.5,0),COLORA8A8A8;
STICKLINE(XA,101,96,0.1,0),COLORWHITE;
STICKLINE(XA,96,92,0.3,0),COLORWHITE;
STICKLINE(XA,92,88,0.6,0),COLORWHITE;
STICKLINE(XA,88,84,0.9,0),COLORWHITE;
STICKLINE(XA,84,80,1.2,0),COLORWHITE;
STICKLINE(XA,80,50,1.4,0),COLORWHITE;
STICKLINE(XA,74,70,0.6,0),COLORRED;
STICKLINE(XA,65,64,1.5,0),COLORBLUE;
STICKLINE(XA,51,49,1.5,0),COLORBLUE;
STICKLINE(XA,49,25,1.5,0),COLORWHITE;
STICKLINE(XA,25,20,1.3,0),COLORRED;
STICKLINE(XA,20,13,1,0),COLORRED;
STICKLINE(XA,13,7,0.7,0),COLORRED;
STICKLINE(XA,7,1,0.3,0),COLORRED;
STICKLINE(XA,1,(-7),0.1,0),COLORRED;
STICKLINE(XA,24.799999,21.799999,1,0),COLORYELLOW;
STICKLINE(XA,21.799999,18.799999,0.5,0),COLORYELLOW;
STICKLINE(XA,18.799999,15.8,0.1,0),COLORYELLOW;
STICKLINE(XA,60,55,0.5,0),COLORRED;