通达信富力五线主图源码加密
STICKLINE(ISLASTBAR,B332 ,B332 ,A32*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B333 ,B333 ,A33*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B334 ,B334 ,A34*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B335 ,B335 ,A35*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B336 ,B336 ,A36*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B337 ,B337 ,A37*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B338 ,B338 ,A38*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B339 ,B339 ,A39*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B340 ,B340 ,A40*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B341 ,B341 ,A41*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B342 ,B342 ,A42*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B343 ,B343 ,A43*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B344 ,B344 ,A44*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B345 ,B345 ,A45*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B346 ,B346 ,A46*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B347 ,B347 ,A47*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B348 ,B348 ,A48*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,LB ,LB ,A50*50 ,0 ),COLORGRAY;
TT:=IF(ISLASTBAR,240/FROMOPEN,1);
ON1:SMA(C,20,1)+6.18*SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),17,1),DOTLINE,COLOR9F9F5F;
ON2:SMA(C,20,1)+3.82*SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),17,1),DOTLINE,COLOR9F9F5F;
UN1:SMA(C,20,1)-3.82*SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),17,1),DOTLINE,COLOR9F9F5F;
UN2:SMA(C,20,1)-6.18*SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),17,1),DOTLINE,COLOR9F9F5F;
LNN:SMA(C,20,1),DOTLINE,COLOR9F9F5F;
STICKLINE(C>=O,H,L,0,0),COLOR7F7F5F;
STICKLINE(C>=O,C,O,3,1),COLOR7F7F5F;
STICKLINE(C<O,H,L,0,0)COLOR00FF00;
STICKLINE(C<O,C,O,3,1)COLOR00FF00;
N:=13;
M:=5;
STICKLINE(CLOSE>MA(CLOSE,N),O,C,3,0) COLOR9F9F5F;
STICKLINE(CLOSE>MA(CLOSE,N),O,C,2,0) COLOR7F7F3F;
STICKLINE(CLOSE>MA(CLOSE,N),O,C,1,0) COLOR5F5F1F;
STICKLINE(CLOSE<MA(CLOSE,N),O,C,3,0)COLOR006600;
STICKLINE(CLOSE<MA(CLOSE,N),O,C,2,0)COLOR008800;
STICKLINE(CLOSE<MA(CLOSE,N),O,C,1,0),COLOR00FF00;
STICKLINE(CLOSE>MA(CLOSE,M) AND CLOSE<MA(CLOSE,N),O,C,3,0)COLORFF2400;
AAA3:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100;
AAA4:=SMA(A3,3,1);
AAA5:=SMA(A4,3,1);
AAA6:=3*A4-2*A5;
AAA:=C-REF(C,1);
AAA8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
STICKLINE(买,OPEN,CLOSE,3,0),COLORRED;
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37)))*(100);
VARJ:=MA(VARE,30)+STD(VARE,30);
BIAS18:=((CLOSE-MA(CLOSE,20))/(MA(CLOSE,20)))*(100);
K:=SMA(VARF,3,1);
顶:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (K>79);
DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (K>79),H*1.02,'¥'),COLORYELLOW;