通达信时空线副图公式 判别时空线运行状态
{公式名称:时空线 }
{公式描述:*判别时空线运行状态。(副图) }
{参数:(N 1 100 34)(M1 2 40 5)(M2 2 40 3)(0; 20; 50; 80; 100; )}
QXSD:=1;
0,COLORGREEN,LINETHICK1;
20,COLORGREEN,LINETHICK1;
80,COLORGREEN,LINETHICK1;
100,COLORGREEN,LINETHICK1;
{实心柱}
STICKLINE(1>0,1,20,2,0),COLORBROWN,NODRAW;
STICKLINE(2>0,99,80,2,0),COLORBROWN,NODRAW;
RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100*QXSD;
时空线:SMA(RSV,5,1),COLORRED,LINETHICK4;
空:=SMA(时空线,3,1)*QXSD;
差:=3*时空线-2*空*QXSD;
612333397.jpg
|