文华财经江太短线升级系指标源码[文华财经公式]
文华财经江太短线升级系指标源码:[code]
M1:=MA(CLOSE,5);
M2:MA(CLOSE,20),COLORYELLOW;
ZYZS:IF((M1 > M2),M2,M1),COLORGREEN;
PARTLINE(ZYZS > REF(ZYZS,1) && ZYZS = M2,ZYZS,COLORGREEN);
D:=(SMA(CLOSE,SHORT,X) > SMA(CLOSE,LONG,X));
K:=(SMA(CLOSE,SHORT,X) < SMA(CLOSE,LONG,X));
Z:=CLOSE >=OPEN;
Y:=CLOSE < OPEN;
STICKLINE(K && Z,OPEN,CLOSE,COLORGREEN,1);
DRAWLINE(K && Z,HIGH, K && Z,CLOSE,COLORGREEN);
DRAWLINE(K && Z,LOW, K && Z,OPEN,COLORGREEN)// cxh99.com //;
STICKLINE(K && Y,OPEN,CLOSE,COLORGREEN,0);
DRAWLINE(K && Y,HIGH, K && Y,LOW,COLORGREEN)// cxh99.com //;
STICKLINE(D && Z,OPEN,CLOSE,COLORRED,1);
DRAWLINE(D && Z,HIGH, D && Z,CLOSE,COLORRED);
DRAWLINE(D && Z,LOW, D && Z,OPEN,COLORRED);
STICKLINE(D && Y,OPEN,CLOSE,COLORRED,0);
DRAWLINE(D && Y,HIGH, D && Y,LOW,COLORRED);
[/code]
页:
[1]