同花顺三线开合副图指标
源码
CG:MA(C,20);
FL:HHV(CG,5);
FS:IF(CG FL,(CG-(FL-CG)),FL),colorred;
DRAWTEXT(fs=fl AND fs REF (fl,2),fs*0.97,'买'),colorred;
DRAWTEXT(fs fl AND REF(fs,1)=REF (fl,1),fs*1.03,'卖'),color00FF00;
STICKLINE(C O OR (C=O AND C REF (C,1)),C,H,0.1,0),colorred;
STICKLINE(C O OR (C=O AND C REF (C,1)),O,L,0.1,0),colorred;
STICKLINE(C O OR (C=O AND C REF (C,1)),O,C,7,0),colorred;
STICKLINE(C O OR (C=O AND C =REF (C,1)),H,L,0.1,0),COLOR009900;
STICKLINE(C O OR (C=O AND C =REF (C,1)),O,C,7,0),COLOR009900;