标志性k线(源码、副图、贴图)介绍
标志性k线(源码、副图、贴图)
原码:Z,:=(C-REF(C,1))/REF(C,1)*100;
TJ:=Z,>=4 OR Z,<=-4;
STICKLINE(TJ AND CLOSE>OPEN,C,o,3,0 ),COLORYELLOW;
STICKLINE(TJ AND OPEN>=CLOSE,C,o,3,0 ),COLORYELLOW;
下限:REF(LOW,BARSLAST(TJ)),LINETHICK0;
上限:REF(HIGH,BARSLAST(TJ)),LINETHICK0;
AA:=IF(REF(H,BARSLAST(TJ))<REF(C,BARSLAST(TJ)+1),
REF(C,BARSLAST(TJ)+1),REF(H,BARSLAST(TJ)));
CC:=IF(REF(LOW,BARSLAST(TJ))>REF(C,BARSLAST(TJ)+1),
REF(C,BARSLAST(TJ)+1),REF(LOW,BARSLAST(TJ)));
重心:(AA+CC)/2,LINETHICK0;
PARTLINE((AA+CC)/2,BARSLAST(TJ)),COLORBLUE;
PARTLINE(REF(LOW,BARSLAST(TJ)),BARSLAST(TJ)),COLORred;
PARTLINE(REF(HIGH,BARSLAST(TJ)),BARSLAST(TJ)),COLORYELLOW;
gd14098