文档介绍:/*
分时上突:=CROSS(C,上穿分时);
上突:=C<上穿分时 AND 上穿分时>底支;
VAR106:=BARSCOUNT(CLOSE);
VAR107:=MAX(GETPRICE('YCLOSE'),GETPRICE('HIGH'));
VAR108:=MIN(GETPRICE('YCLOSE'),GETPRICE('LOW'));
VAR109:=VAR107-VAR108;
VAR110:=VAR108+VAR109*7/8;
VAR111:=VAR108+VAR109*;
DRAWICON(LONGCROSS(VAR111,CLOSE,2),CLOSE,1);
DRAWICON(LONGCROSS(CLOSE,VAR110,2),CLOSE,2);
HH:=(H+C)/2;
LL:=(L+O)/2;
三日均高:=(H+REF(H,2)+REF(H,3))/3;
三日收盘:=(C+REF(C,2)+REF(C,3))/3;
强势线:EMA((三日均高+三日收盘)/2,7),COLORRED,LINETHICK2;
支撑线:EMA((LL+REF(LL,2)+REF(LL,3))/3,7),COLOR00FF00,LINETHICK2;
IF(强势线>REF(强势线,1),强势线,NULL),LINETHICK2,COLORRED;
IF(强势线<REF(强势线,1),强势线,NULL),LINETHICK2,COLORGREEN;
IF(支撑线>REF(支撑线,1)*,支撑线,NULL),LINETHICK4,COLORRED;
IF(支撑线<REF(支撑线,1)*,支撑线,NULL),LINETHICK4,COLORGREEN;
量比:=GETPRICE1('量比'),NODRAW;
VAR3:=REF(CLOSE,1);
VAR4:=(SMA(MAX(CLOSE-VAR3,0),6,1))/(SMA(ABS(CLOSE-VAR3),6,1))*100;
上穿双轨:=(CROSS(C,强势线) AND CROSS(C,支撑线)) OR (支撑线>REF(支撑线,1) AND L<支撑线 AND C>强势线) OR REF(CROSS(C,支撑线),1)=1 AND CROSS(C,强势线);
双穿卖出:=(CROSS(强势线,C) AND CROSS(支撑线,C)) OR ( (C<支撑线 AND H>强势线) OR (REF(H,1)>强势线 AND CROSS(支撑线,C)));
STICKLINE(上穿双轨 ,OPEN,CLOSE,,0),COLOR0055FF;
BL:=IF(AX=0,150,IF(AX=1,50,IF(AX=2,30,IF(AX=3,17,IF(AX=4,15,IF(AX=5,8,
IF(AX=6,3,IF(AX=7,2,IF(AX=8,50,IF(AX=9,3,))))))))));
FM:=(EMA(CLOSE,*9+1));
FCL:=IF(FM<=,ABS(FM)+,0)