同花顺高低分时指标
源码
最新:IF(ISNULL(NEW),PRE,NEW);
MA13:MA(NEW,13);
MA34:MA(NEW,34);
DIFF : =EMA(NEW,13) - EMA(NEW,34);
DEA : =EMA(DIFF,13);
MACDFS : =2*(DIFF-DEA/2);
PARTLINE(MA13,MA13 REF(MA13,1),RGB(222,0,222),MA13 REF(MA13,1),RGB(0,255,255)),LINETHICK2;
PARTLINE(MA34,MA34 REF(MA34,1),RGB(255,0,0),MA34 REF(MA34,1),RGB(0,255,255)),LINETHICK2;
PARTLINE(最新,最新 REF(最新,1),RGB(255,0,0),最新 REF(最新,1),RGB(0,255,255)),LINETHICK1;
高分:HHV(MA13,15);
低分:LLV(MA13,15);
低分1:LLV(MA13,34);
DRAWTEXT(CROSS(最新,低分1) AND MACDFS DIFF AND MA13 低分1 ,低分1,'买入');