通达信股票公式之支撑压力
n1 1 300 20
n2 1 300 60
{N1,20 N2,60}
VAR1:=(LOW+HIGH+CLOSE)/3;
X: MA(VAR1,5);
A1: HHV(X,N1)COLORMAGENTA;
A2: HHV(X,N2),COLORGREEN;
A3: HHV(HIGH,N2)*0.98,COLOR0000FF;
B1: LLV(X,N1);
B2: LLV(LOW,N2)*1.02;
DRAWICON(X》B1 AND REF(X,1)=REF(B1,1),B1*0.99,1);
FD:=(H-L)/3;{分段}
OPEN1:=O》FD*2+L;
OPEN3:=O《FD+L;
OPEN2:=NOT(OPEN1 OR OPEN3);
CLOSE1:=C》FD*2+L;
CLOSE3:=C《FD+L;
CLOSE2:=NOT(CLOSE1 OR CLOSE3);
DFZD:=CLOSE1 OR (OPEN3 AND CLOSE2);
WQS1:=OPEN2 AND CLOSE2;
KFZD:=NOT(DFZD OR WQS1);
ZD:=(H+L)/2;
QSXS:=ZD》REF(H,1);
QSXX:=ZD《REF(L,1);
WQS2:=NOT(QSXS OR QSXX);
S1:=DFZD AND QSXS ;
S2:=KFZD AND QSXX ;
S3:=DFZD AND QSXX;
S4:=KFZD AND QSXS;
S5:=DFZD AND WQS2;
S6:=KFZD AND WQS2;
S7:=WQS1 AND (QSXS OR QSXX OR WQS2);
STICKLINE(S2 ,C ,O,3,0 ),COLORFF2020;
STICKLINE(S1,C,O,3 ,0 ),COLOR2020FF;
STICKLINE(S3,C,O,3,0),COLORYELLOW;
STICKLINE(S4,C,O,3,0),COLORCYAN;
STICKLINE(S5,C,O,3,0),COLORMAGENTA;
STICKLINE(S6,C,O,3,0),COLORGREEN;
STICKLINE(S7,C,O,3,0),COLORGRAY;
STICKLINE(1,C,O,0,0),COLORWHITE;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!