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)*FDGX)-52)*2;
趋:(EMA(100*(C-FDSB)/FDSX,8)-48)*2,COLORFFFF33;
:2*(FDJB-FDTG),COLORSTICK;
:(FDXN-FDTB)*2,COLORSTICK;
JCCOUNT:=COUNT(CROSS(FDJB,FDTG),BARSLAST(FDTG =0));
FDSG:=CROSS(FDJB,FDTG) AND FDTG =0 AND COUNT(JCCOUNT=2,21)=1;
FDPS:=REF(FDTH,1) FDTH;
FDSJ:=REF(FDTH,1) =FDTH;
FDNS:=BARSLAST(REF(CROSS(FDSN,FDBX),1));
FDGB:=BARSLAST(REF(CROSS(FDBX,FDSN),1));
FDJX:=( =1.90*REF(VOL,1))*FDBN AND C REF(C,1) AND KDJ
FDXP:=(VOL =1.90*REF(VOL,1))*FDBN AND C REF(C,1) AND KDJ
FDHJ:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
FDHB:=FDGH 0 AND FDGH REF(FDGH ,1) AND REF(FDGH ,1) REF(FDGH ,2)
AND REF(FDGH ,2) REF(FDGH ,3)
AND REF(FDGH ,3) REF(FDGH ,4);
FDJH:=LLV(FDHJ,2)=LLV(FDHJ,7) AND COUNT(FDHJ 0,2) AND CROSS(FDHJ,MA(FDHJ,2));
FDPX:=(VOL=LLV(VOL,100))*FDBN;
FDBT:=(VOL*1.98 =REF(VOL,1))*FDBN AND KDJ
FDXJ:=(VOL*1.98 =REF(VOL,1))*FDBN AND KDJ
FDXH:=REF(CLOSE,FDNS+1) CLOSE AND FDSN REF(FDSN,FDNS+1) AND CROSS(FDSN,FDBX);
FDGT:=REF(CLOSE,FDGB+1) CLOSE AND REF(FDBX,FDGB+1) FDBX AND CROSS(FDBX,FDSN);
KJD:=(FDXN-FDTB)/1;
高抛价:FDHG*2-L,COLORRED;
抄底价:FDHG*2-H,COLORGREEN;
短线价:MA(FDBJ,5),COLOR0099FF;
中线价:LLV(FDBJ,13),COLORFF9900;
度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100 100,100,
(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),COLOR2DFFFF;
STICKLINE(KDJ =0 AND FDNB =0 ,76,64,2,0),COLOR0000A8;
STICKLINE(KDJ =0 AND FDNB =0 ,76,64,2,0),COLOR008800;
STICKLINE(FDNB 0,80,77,6,0),COLOR0000A8;
STICKLINE(FDNB 0,80,77,6,0),COLOR008800;
STICKLINE(FDNB 0,60,63,6,0),COLOR0000A8;
STICKLINE(FDNB 0,60,63,6,0),COLOR008800;
STICKLINE((CROSS(FDJB,FDTG) AND FDJB =0),76,64,4,0),COLOR98FB98;
STICKLINE((CROSS(FDJB,FDTG) AND FDJB 0),76,64,4,0),COLOR0099FF;
STICKLINE(FDSG,73,67,4,0),COLORRED;
STICKLINE(KDJ 0,KDJ,-2,6,0),COLORAF60FF;
STICKLINE(KDJ 0,KDJ,2,6,0),COLORGREEN;
DRAWTEXT(FDJX,-5, 放 ),COLORB0C4DE;
DRAWTEXT(FDXP,25, 放 ),COLORB0C4DE;
DRAWTEXT(FDBT,-5, 缩 ),COLORFF8899;
DRAWTEXT(FDXJ,25, 缩 ),COLORFF8899;
DRAWTEXT(FDPX,35, 百 ),COLOR98FB98;
DRAWTEXT(CROSS(99,FDGS),60, 回 ),COLORFF6EC7;
DRAWTEXT(CROSS(120,FDGS),63, 顶 ),COLOR0099FF;
DRAWTEXT(CROSS(FDGS,130) AND KDJ REF(KDJ ,1),63, 顶 ),COLOR0099FF;
DRAWTEXT(CROSS(FDGS,110) AND KDJ REF(KDJ ,1),63, 顶 ),COLOR0099FF;
DRAWTEXT(CROSS(FDGS,5),-37, 反 ),COLORFFAACC;
DRAWTEXT(FDXH 0,-40, 底 ),COLORFF8855;
DRAWTEXT(FDGT 0,63, 顶 ),COLOR0099FF;
STICKLINE(FDSJ,-80,-75,8,0),COLOR0000A8;
STICKLINE(FDPS,-80,-75,8,0),COLOR02FF9A;
STICKLINE(FDSJ,-63,-60,8,0),COLOR0000A8;
STICKLINE(FDPS,-63,-60,8,0),COLOR02FF9A;
STICKLINE(FDHB,44,30,2,0),COLORGRAY;
STICKLINE(FDHB,60,44,4,0),COLORRED;
STICKLINE(FDJH,-59,-47,4,0),COLORRED;
STICKLINE(FDJH,-74,-64,4,0),COLORRED;
STICKLINE(CROSS(-10,FDGS),-74,-64,3,0),COLORRED;
STICKLINE(CROSS(FDGS,-5),-74,-64,3,0),COLORRED;
STICKLINE(CROSS(FDSN,50),-74,-64,4,0),COLORFF0088;
STICKLINE(CROSS(FDSN,50),-40,-59,4,0),COLORFF0088;