通达信买卖价格主图指标公式

2024-02-22 16:58发布

D3X3:REF(EMA(C,3),1),COLORWHITE;DA:=5;FY:=5;CT:=1;P:=0;N:=3;NS:=IF((HHV(A(((HHV(CLOSE,DA)/LLV(CLOSE,DA))-1)),DA)>(10/100)),5,DA);N1:=IF((MINUTE=5),(NS*48),IF((MINUTE=20),(NS*16),IF((MINUTE=30),(NS*8),IF((MINUTE=60),(NS*4),NS))));MM:=IF(((P=0) OR (=0)),MA(CLOSE,N1),((SUM(AMOUNT,N1)/SUM(,N1))/100));M1:=REF(MM,1);:=IF(OSS(CLOSE,M1),M1,0);:=IF(CROSS(M1,CLOSE),M1,0);DW:=BARSLAST((卖出>0));EX10:=HHV((买入>0),(DW+1));BJ:=IF((EX10>REF(EX10,1)),买入,0);SJ:=IF((EX10<REF(EX10,1)),卖出,0);DRAWICON(CROSS(CLOSE,M1
 解锁全文需 1  财富值,免费注册即送20财富值!