筹码均线主图(通达信公式 主图 源码 测试图)
通达信免费指标
10-16
阅读:1175
评论:0
触底:EMA(COST(0.001),0),LINETHICK2;
止跌:EMA(COST(0.01),0),LINETHICK2;
吸筹:EMA(COST(0.1),0),LINETHICK2;
起涨:EMA(COST(50),0),LINETHICK2;
主力建仓成本:EMA(COST(20),0),LINETHICK2;
主升浪启动点:EMA(COST(60),0),LINETHICK2;
{日线图}
DRAWKLINE(H,O,L,C);
{涨K线}
STICKLINE(C>O,C,O,2.6,0),COLOR000088;
STICKLINE(C>O,C,O,1.9,0),COLOR0000AA;
STICKLINE(C>O,C,O,1.2,0),COLOR0000CC;
STICKLINE(C>O,C,O,0.4,0),COLOR0000EE;
{跌K线}
STICKLINE(O>=C,C,O,2.6,0),COLOR009900;
STICKLINE(O>=C,C,O,1.9,0),COLOR00BB00;
STICKLINE(O>=C,C,O,1.2,0),COLOR00DD00;
STICKLINE(O>=C,C,O,0.4,0),COLOR00FF00;
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TR1,10);
VAR1:=REF(CLOSE,1)-REF(ATR,1);
LSX:HHV(VAR1,13),LINETHICK1,COLORLIBLUE;
LSX1:IF(C>=LSX,LSX,DRAWNULL),COLORMAGENTA,LINETHICK2;
{划K线}
STICKLINE(C>=LSX,O,C,2.5,1),COLORRED;
STICKLINE(C>=LSX
AND C>=O,C,H,0,1),COLORRED;
STICKLINE(C>=LSX
AND C>=O,O,L,0,1),COLORRED;
STICKLINE(C>=LSX
AND C<O,O,H,0,1),COLORRED;
STICKLINE(C>=LSX
AND C<O,C,L,0,1),COLORRED;
STICKLINE(C<LSX,O,C,2.5,1),COLORGREEN;
STICKLINE(C<LSX
AND C>O,C,H,0,1),COLORGREEN;
STICKLINE(C<LSX
AND C>O,O,L,0,1),COLORGREEN;
STICKLINE(C<LSX
AND C<O,O,H,0,1),COLORGREEN;
STICKLINE(C<LSX AND C<O,C,L,0,1),COLORGREEN;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!