/*
{M1=5 M2=13 M3=34 M4=55 M5=89 M6=144 M7=233}
涨停:STICKLINE(C>REF(C,1)*,C,O,3,0),COLORCC00CC;
跌停:STICKLINE(REF(C,1)*>C,C,O,3,0),COLORGREEN;
EMA5:EMA(C,M1);
EMA13:EMA(C,M2);
EMA21:EMA(C,M5),COLOR5CADAD;
EMA34:EMA(C,M3);
EMA55:EMA(C,M4),COLORRED,LINETHICK2;
EMA144:EMA(C,M6),COLOR20BA22;
EMA233:EMA(C,M7),COLORBLUE;
X1:=EMA(EMA(CLOSE,9),9);
X2:=(X1-REF(X1,1))/REF(X1,1);
DRAWICON(CROSS(X2,0),L*,1);
DRAWNUMBER(ISLASTBAR,LOW,BARSLAST(NOT(EMA(C,M1)<REF(EMA(C,M1),1))));
IF(EMA55<REF(EMA55,1),EMA55,DRAWNULL),COLORGREEN,LINETHICK2;
倍量:=VOL>=REF(V,1)* AND C>O;
缩量:=REF(V,1)>=VOL* AND C<O;
STICKLINE(倍量,OPEN,(C+O)*,,0),COLORRED;
STICKLINE(缩量,OPEN,(C+O)*,,0),COLORBLUE;
上跳:STICKLINE(LOW>REF(C,1) ,L*,L*,2,0),COLORRED;
下跳:STICKLINE(H<REF(C,1) ,H*,H*,2,0),COLORBLUE;
双线持币:HHV(MA(HIGH,(3)),2),LINETHICK1,COLOR00FF00;
单线持股:LLV(MA(HIGH,(3)),1),LINETHICK1,COLOR0000FF;
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
文华财经指标公式源码文华财经指标MACD低位金叉二次金叉指标 来自淘豆网m.daumloan.com转载请标明出处.