通达信筹码主图指标 把量能柱显示到主图 源码 贴图
通达信筹码主图指标 把量能柱显示到主图 源码 贴图
{筹码主图}
成交量显示:=1;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
VAR1:=COST(90);
VAR2:=COST(70);
VAR3:=COST(50);
VAR4:=COST(30);
VAR5:=COST(2);
VAR6:=INTPART(COST(2)*100)/100;
VAR7:=INTPART(COST(0.01)*100)/100;
筹码牛熊:EMA((VAR1+VAR2+VAR3+VAR4+VAR5)/5,3),COLORYELLOW,LINETHICK3;
VAR8:=COST(90)>REF(COST(90),1) AND COST(70)>REF(COST(70),1) AND COST(50)>REF(COST(50),1) AND COST(30)>REF(COST(30),1);
VAR9:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>6 AND VAR8 AND CLOSE>COST(90) AND LOW<COST(90) AND (LOW-筹码牛熊)/筹码牛熊*100<5;
STICKLINE(VAR9,OPEN,CLOSE,2.4,0),COLORYELLOW;
DRAWICON(VAR9,LOW*0.97,26);{WWW.GPXIAZAI.COM}
VAR10:=FILTER((CLOSE-COST(2))/COST(2)*100<3 AND CLOSE>VAR6 AND VAR6>=REF(VAR6,1),3);
DRAWICON(VAR10,LOW*0.97,38);
VAR11:=BARSLAST(VAR10);
VAR12:=BARSLAST(VAR7<REF(VAR7,1) AND REF(VAR7,1)>=REF(VAR7,2));
DRAWICON(VAR7<REF(VAR7,1) AND REF(VAR7,1)>=REF(VAR7,2) AND REF(VAR11,1)<REF(VAR12,1),HIGH*1.01,39);
STICKLINE(VAR10,OPEN,CLOSE,2,0),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=1 AND CLOSE>0,筹码牛熊,(CLOSE-筹码牛熊)/筹码牛熊*100),COLORWHITE;
VAR13:=48;
VAR14:=48;
VAR15:=CONST(LLV(LOW,VAR13))*0.85;
VAR16:=VOL/(EMA(VOL,250)/EMA(CLOSE,250)*VAR14);
VAR17:=CLOSE/VAR16;
VAR18:=HIGH/VAR16;
VAR19:=LOW/VAR16;
VAR20:=OPEN/VAR16;
VAR21:=VAR16/((VAR18-VAR19)*2-ABS(VAR17-VAR20));
VAR22:=IF(VAR17>VAR20,VAR21*(VAR18-VAR19),IF(VAR17<VAR20,VAR21*(VAR18-VAR20+(VAR17-VAR19)),VAR16/2));
VAR23:=IF(VAR17>VAR20,0-VAR21*(VAR18-VAR17+(VAR20-VAR19)),IF(VAR17<VAR20,0-VAR21*(VAR18-VAR19),0-VAR16/2));
STICKLINE(CLOSE>OPEN AND 成交量显示=1,VAR16+VAR15,VAR22+VAR15,0.5,0),COLOR7777FF;
STICKLINE(CLOSE>OPEN AND 成交量显示=1,VAR15,VAR22+VAR15,0.5,0),COLOR7777FF;
STICKLINE(CLOSE<OPEN AND 成交量显示=1,VAR16+VAR15,VAR22+VAR15,0.5,0),COLOR00DD33;
STICKLINE(CLOSE<OPEN AND 成交量显示=1,VAR15,VAR22+VAR15,0.5,0),COLOR00DD33;
- 上一篇公式:通达信龙脉买卖主图指标 买卖点提示 源码 贴图
- 下一篇公式:通达信涨跌标尺主图指标 自动划线主图 源码 贴图