通达信价值合金钢主图指标公式
2020/3/3 19:16:35
N:=10;N1:=20; M:=10;M1:=20;
LL:=LLV(LOW,(N + M));
HH:=HHV(HIGH,(N + M));
SR:=(2 * HH - LL);
SS:=(2 * LL - HH);
DD:=(SR - SS);
DM:=(DD / 2);
DKKPX:=(DM + SS);
SDXT:=DKKPX;
LL1:=LLV(LOW,(N1 + M1));
HH1:=HHV(HIGH,(N1 + M1));
SR1:=((2 * HH1) - LL1);
SS1:=((2 * LL1) - HH1);
DD1:=(SR1 - SS1);
DM1:=(DD1 / 2);
SDXT1:=(DM1 + SS1);
AY:=SDXT1;
AA:=SDXT;
YY:=(((HIGH + LOW) + CLOSE) / 3);
A0:=((HIGH + LOW) / 2);
A1:=SMA(A0,13,1);
A2:=HHV(HIGH,24);
A3:=LLV(LOW,24);
STICKLINE(YY < REF(AA,1),OPEN,CLOSE,3 ,0), COLORCYAN;
STICKLINE(YY < REF(AA,1),HIGH,CLOSE,0 ,0), COLORCYAN;
STICKLINE(YY < REF(AA,1),OPEN,LOW,0 ,0), COLORCYAN;
{投股票网-股票公式网站 www.tou18.cn}
STICKLINE(YY < REF(AA,1) AND A2 = REF(A2,0),OPEN,CLOSE, 3,0), COLORCYAN;
STICKLINE(YY < REF(AA,1) AND A2 = REF(A2,0),OPEN,LOW,0 ,0), COLORCYAN;
STICKLINE(YY < REF(AA,1) AND A2 = REF(A2,0),OPEN,LOW,0 ,0), COLORCYAN;
STICKLINE(YY > REF(AA,1) AND A3 > REF(A3,0),OPEN,CLOSE, 7,0), COLORRED;
STICKLINE(YY > REF(AA,1) AND A3 > REF(A3,0),OPEN,CLOSE, 0,0), COLORRED;
STICKLINE(YY > REF(AA,1) AND A3 > REF(A3,0),OPEN,CLOSE, 0,0), COLORRED;
STICKLINE(YY > REF(AA,1) AND A3 = REF(A3,0),OPEN,CLOSE, 3,0), COLORRED;
STICKLINE(YY > REF(AA,1) AND A3 = REF(A3,0),HIGH,CLOSE, 0,0), COLORRED;
STICKLINE(YY > REF(AA,1) AND A3 = REF(A3,0),OPEN,LOW, 0,0), COLORRED;
STICKLINE(YY > AA AND YY < AY,OPEN,CLOSE,3 ,0), COLORYELLOW;
STICKLINE(YY > AA AND YY < AY,HIGH,CLOSE,0,0), COLORYELLOW;
STICKLINE(YY > AA AND YY < AY,OPEN,LOW,0 ,0), COLORYELLOW;
STICKLINE(YY < AA AND YY > AY,OPEN,CLOSE,3 ,0), COLORYELLOW;
STICKLINE(YY < AA AND YY > AY,HIGH,CLOSE,0 ,0), COLORYELLOW;
STICKLINE(YY < AA AND YY > AY,OPEN,LOW,0,0), COLORYELLOW;
投 股票网 www .tou18.cn
股市公式下载推荐