以下是通达信expm公式源码和截图
通达信expm公式源码:
MA1:EXPMA(CLOSE,10),LINETHICK2,COLORMAGENTA;
MA2:EXPMA(CLOSE,60),LINETHICK2;
IF(MA1 REF(MA1,1),MA1,DRAWNULL),COLORGREEN,LINETHICK2;
IF(MA2 REF(MA2,1),MA2,DRAWNULL),COLORFFFF00,LINETHICK2;
VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR2222:=CROSS(VAR1111,0.9);
VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR4444:=CROSS(VAR3333,0.9);
压力:= REF(HIGH,BARSLAST(VAR2222));
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;
支撑:= REF(LOW,BARSLAST(VAR4444));
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;
支撑价:LLV(LOW,19) ,COLORBLUE,DOTLINE;
阻力价:HHV(HIGH,19),COLORBLUE,DOTLINE;
通达信expm公式截图