指南针K线主图原码公式
{双色阳}
双色阳:=C/REF(C,1)>1.05;
STICKLINE(双色阳,C,(C+O)/2,2,0),COLORFF00FF,LINETHICK1;
STICKLINE(双色阳,O,(C+O)/2,2,0),COLOR00FFFF,LINETHICK1;
{大阳}
大阳:=C/REF(C,1)>1.09;
STICKLINE(大阳,H,L,0,0),COLOR0000FF,LINETHICK1;
STICKLINE(大阳,C,O,3,0),COLOR0000FF,LINETHICK1;
{大阴}
大阴:=C/REF(C,1)<0.93;
STICKLINE(大阴,H,L,0,0),COLOR00DD00,LINETHICK1;
STICKLINE(大阴,C,O,3,0),COLOR00DD00,LINETHICK1; |