筹码均线 通达信主图指标 源码 贴图
筹码均线 通达信主图指标 源码 贴图
触底: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;
{WWW.GPXIAZAI.COM}
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;
- 上一篇公式:萧啸擒龙捉妖X 抓妖股 通达信主图指标 源码 贴图
- 下一篇公式:战神持仓 关注金叉 通达信副图指标 源码 贴图