以下是通达信 生命线源码(无源码的请下载附件导入)
NOTEXT1:=HHV(EMA(ADVANCE,17),2);
NOTEXT2:EMA(ADVANCE,17),COLORRED,LINETHICK2;
NOTEXT3:IF(NOTEXT1=NOTEXT2 AND UPNDAY(NOTEXT1,3),NOTEXT1,DRAWNULL),COLORRED,LINETHICK2;
NOTEXT4:IF(REF(NOTEXT1,2)>NOTEXT2,NOTEXT2,DRAWNULL),COLORGREEN,LINETHICK2;
若上述公式在汇盈系列行情数据分析软件中有异常,请尝试如下公式:
NOTEXT1:=HHV(EMA(CLOSE,17),2);
NOTEXT2:EMA(CLOSE,17),COLORRED,LINETHICK2;
NOTEXT3:IF(NOTEXT1=NOTEXT2 AND UPNDAY(NOTEXT1,3),NOTEXT1,DRAWNULL),COLORRED,LINETHICK2;
NOTEXT4:IF(REF(NOTEXT1,2)>NOTEXT2,NOTEXT2,DRAWNULL),COLORGREEN,LINETHICK2;
{-----------------------------------}
|