通达信独家精准神主图指标公式
zhenzhen
技术专家,关注我带你了解技术
``` N:=20;M:=32;P1:=80;P2:=100; VAR1:=(C+H+O+L)/4; 卖出:XMA(VAR1,N)(1+P1/1000),COLORGREEN,LINETHICK2; 买入:XMA(VAR1,M)(1-P2/1000),COLORMAGENTA,LINETHICK2; 幅度:100*(卖出-买入)/买入,NODRAW; MA1:=MA(VAR1,3); STICKLINE(卖出>LOW AND 卖出MIN(C,O) AND 卖出LOW AND 卖出LOW AND 买入MIN(C,O) AND 买入LOW AND 买入HIGH,OPEN,CLOSE,3,0),COLORMAGENTA; STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA; DRAWTEXT(crOSS(LOW,买入),LOW0.95,'B'),COLORRED,LINETHICK2; DRAWTEXT(CROSS(卖出,HIGH),HIGH1.02,'S'),COLORGREEN; ```
编辑于: 2024-01-21 11:25:10