通达信高点注意卖出主图公式源码

[复制链接]
查看106 | 回复0 | 2021-8-19 18:50:01 | 显示全部楼层 |阅读模式

以下是通达信高点注意卖出主图公式源码(无源码的请下载附件导入)

N:=5;P1:=55;

MA13:EMA(C,13);

成本线: EMA(COST(81),10) COLORYELLOW,LINETHICK1;

STICKLINE(REF(C>O,2) AND REF(C<O OR C<REF(C,1),1) AND (C>EMA(C,200) AND C>=O AND C>EMA(C,200)),EMA(C,210),EMA(C,170),1.5,0),COLORBLUE;

STICKLINE(EMA(C,200)>REF(EMA(C,200),1) AND EMA(C,50)>REF(EMA(C,50),1) ,EMA(C,200),EMA(C,180),1,0),COLORRED;

TY:=C;

A1:=REF(TY,10)=HHV(TY,2*10+1);

B1:=FILTER(A1,10); 

C1:=BACKSET(B1,10+1);

HD:=FILTER(C1,10);

A2:=REF(TY,10)=LLV(TY,2*10+1);

B2:=FILTER(A2,10); 

C2:=BACKSET(B2,10+1); 

LD:=FILTER(C2,10);

前期高位:REF(C,BARSLAST(HD)),COLOR8000FF,POINTDOT;

STICKLINE(C,前期高位,前期高位,8,0),COLOR8000FF;

A0:=REF(TY,7)=HHV(TY,2*7+1);

B0:=FILTER(A0,7); 

C0:=BACKSET(B0,7+1);

HD0:=FILTER(C0,7);

前期高位0:=REF(C,BARSLAST(HD0)),COLORBLUE,POINTDOT;

STICKLINE(C,前期高位0,前期高位0,8,0),COLORBLUE; 

VAR1W:=(C+H+O+L)/4;   

卖出:=XMA(VAR1W,N)*(1+P1/1000);    

STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;   

STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;   

STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;   

STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;   

STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;   

71433805.gif

71433805.gif

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则