通达信涨幅度买卖主图指标公式

2024-07-05 18:58发布

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(OSS(LOW,买入),LOW*0.95,'B'),COLORRED,LINETHICK2;DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'S'),COLORGREEN;
 解锁全文需 1  财富值,免费注册即送20财富值!