|
{涨停三线划线公式}
涨停:=C/REF(C,1)>1.099 AND NOT(H=O) ;
T:=BARSLAST(涨停);
顶RAWLINE(T=0 AND T<=20,MAX(C,O),REF(T=0,1),REF(MAX(C,O),1),1),COLORYELLOW;
三一RAWLINE(T=0 AND T<=20,(C-O)*0.68+O,REF(T=0,1),REF((C-O)*0.68+O,1),1),COLORMAGENTA DOTLINE;
中RAWLINE(T=0 AND T<=20,(C+O)/2,REF(T=0,1),REF((C+O)/2,1),1),COLORGREEN DOTLINE;
底RAWLINE(T=0 AND T<=20,MIN(C,O),REF(T=0,1),REF(MIN(C,O),1),1),COLORCYAN;
DRAWTEXT(T=3,H,'3') COLORYELLOW;
DRAWTEXT(T=5,H,'5') COLORYELLOW;
DRAWTEXT(T=8,H,'8') COLORYELLOW; |
|