移动端手指操控左右滑动的菜单
Facebook
Twitter
LinkedIn

分时图指标

同花顺默认分时指标图

				
					NEW1:=IF(ISNULL(NEW[1]),PRE,NEW[1]);
最新:IF(ISNULL(NEW),NEW1,NEW),colorwhite;
IF (ISNULL(RANGE_AVG_PRICE) OR RANGE_AVG_PRICE <= 0)
{  
	IF((MARKETTYPE==16 OR MARKETTYPE==32)AND CODETYPE==0)
	{
		领先:(INDEXLEAD/10000 + 1)*PRE;
	}
	ELSE IF (MARKETTYPE == 232 OR MARKETTYPE == 56 OR MARKETTYPE==64 OR MARKETTYPE==128 OR MARKETTYPE == 80 OR MARKETTYPE==88 OR (VOL > 1 AND VOL<100))
	{
		b=SUBSAMEDAY(&VOL) ;
		m=SUM(b*最新,0);
		均价:IF(m>0,m/VOL,PRE);
	}
	ELSE IF(CODETYPE!=0 AND MONEY>0 AND MARKETTYPE != 48 AND MARKETTYPE != 104)
	{
		IF(ISNULL(MONEY) OR ISNULL(VOL) OR VOL==0 OR MONEY==0)
			均价:IF(ISNULL(均价[1]),PRE,均价[1]);
   		ELSE IF(VOL==VOL[1] OR MONEY==MONEY[1])
      		均价:均价[1];
   		ELSE
      		均价:MONEY/VOL;
	}
	ELSE IF (MARKETTYPE == 176)
	{
		b=SUBSAMEDAY(&MONEY);
		m=SUM(b*最新,0);
		IF(m>0)
			均价:m/MONEY;
	}
}
ELSE
{
	均价:RANGE_AVG_PRICE,,coloryellow;
}
DRAWGBK(MARKETTYPE==32 AND FORMATTIME(1)<10 AND TRADETIME>242),RGB(0,0,128);
RETURN;
hx_star;
hx_star_p;

a:=SUBSAMEDAY(&MONEY);
b:=SUBSAMEDAY(&NEW);
资金流出:=-SUM(IF(b<0,a,0),0);
资金流入:=SUM(IF(b>0,a,0),0);
资金差:=资金流入+资金流出;
分时动向:资金差-REF(资金差,1),COLORSTICK;
x1:EMA(SUM(分时动向,0),5);
x2:EMA(x1,10);

				
			

修改后分时指标图

				
					最新:IF(ISNULL(NEW),PRE,NEW);
H1:EMA(最新,6),colorlimagenta;
H2:EMA(H1,18),colorlimagenta;
STICKLINE(H1>H2,H1,H2,0.1,2),color771C63;
STICKLINE(H1<H2,H2,H1,0.1,1),color0F9B08;

DRAWTEXT_FIX(1,0.10,30.07,0,'概念:'+BLOCK (1,15)+','+BLOCK(3,0,)+BLOCK(2,0)),colorcyan;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,50.7,0,BLOCK(0,0));

前高:HHV(NEW,0) ,DOTLINE,coloryellow;
新低:LLV(NEW,0) ,DOTLINE,colorgreen;
IF(前高<NEW,NEW,DRAWNULL);
IF(前高>NEW,前高,DRAWNULL);
IF(新低>NEW,NEW,DRAWNULL);
IF(新低<NEW,新低,DRAWNULL);

最新:IF(ISNULL(NEW),PRE,NEW);

上涨:=INDEXDATA("1A0002",&RISECOUNT) + INDEXDATA("399002",&RISECOUNT);
下跌:=INDEXDATA("1A0002",&FALLCOUNT) + INDEXDATA("399002",&FALLCOUNT);
DRAWTEXT_FIX(ISLASTBAR,0.87,0.71,1,"上涨:"+TOSTRING(上涨,0)),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.87,0.77,1,"下跌:"+TOSTRING(下跌,0)),colorgreen;
S1:=BARSLAST(FORMATTIME(1)=1);
竞额:=REF(MONEYFS,S1)/10000;
竞量:=REF(VOL,S1)/100;
DRAWTEXT_FIX(ISLASTBAR,0.89,0.83,1,"今竞价:"+TOSTRING(竞额,1)+'万'),coloryellow;
S2:=BARSLAST(DAY!=REF(DAY,1),1);
昨竞额:=REF(MONEYFS,S2)/10000+'万';
DRAWTEXT_FIX(ISLASTBAR,0.99,0.83,1,"昨竞价:"+TOSTRING(昨竞额,1)+'万'),colorwhite;


DRAWTEXT_FIX(1,0.82,0.95,0,'真实股本:'+TOSTRING(ZYLTGB/100000000,2)+'亿股'),COLORFFAA00;


S1:=BARSLAST(FORMATTIME(1)=1);

竞量:=REF(VOL,S1)/100;
DRAWTEXT_FIX(ISLASTBAR,0.89,0.89,1,"今竞量:"+TOSTRING(竞量,0)+'手'),colorwhite;
S2:=BARSLAST(DAY!=REF(DAY,1),1);
昨竞量:=REF(VOL,S2)/100+'手';
DRAWTEXT_FIX(ISLASTBAR,0.98,0.89,1,"昨竞量:"+TOSTRING(昨竞量,0)+'手'),colorwhite;


量比:TOSTRING((VOL*TRADETIME*5)/((FORMATTIME(1)+1)*FIVEDAYVOL),2)+'%',NODRAW,colorcyan;;
 最新:IF(ISNULL(NEW),PRE,NEW);
IF (ISNULL(RANGE_AVG_PRICE) OR RANGE_AVG_PRICE <= 0)
{	
	IF (MARKETTYPE == 232 OR MARKETTYPE == 56 OR MARKETTYPE==64 OR MARKETTYPE==128  OR MARKETTYPE == 80 OR MARKETTYPE==88 OR (VOL > 1 AND VOL<100))
	{
		b=SUBSAMEDAY(&VOL) ;
		m=SUM(b*最新,0);
		均价:IF(m>0,m/VOL,PRE);
	}
	ELSE IF(CODETYPE!=0 AND MONEY>0 AND MARKETTYPE != 48)
	{
		IF(ISNULL(MONEY) OR ISNULL(VOL) OR VOL==0 OR MONEY==0)
			均价:PRE;
   		ELSE IF(VOL==VOL[1] OR MONEY==MONEY[1])
      		均价:均价[1];
   		ELSE
      		均价:MONEY/VOL;
	}
	ELSE IF (MARKETTYPE == 176)
	{
		b=SUBSAMEDAY(&MONEY);
		m=SUM(b*最新,0);
		IF(m>0)
			均价:m/MONEY;
	}
}
ELSE
{
	均价:RANGE_AVG_PRICE;
}
S1:=BARSLAST(FORMATTIME(1)=1);
DRAWICON(FILTER( NEW>REF(HHV(NEW,1200),1) ,20)  ,NEW*0.99,23),;
//DRAWICON(FILTER( NEW>REF(HHV(NEW,360),1) ,20)  ,NEW*0.99,11);
DRAWTEXT(FILTER( NEW>REF(HHV(NEW,360),1) ,20)  ,NEW*0.99,'.突破'),coloryellow;
DRAWICON(FILTER(AMOUNT>100000000 ,60) AND NEW>=REF(HHV(NEW,60),1) ,NEW*0.99,24),;
DRAWICON(FILTER( SUM(MONEYFS,15)>REF(SUM(MONEYFS,30),16),15),NEW,0);

 DRAWICON(FILTER( NEW>REF(HHV(NEW,7200),1) ,20)  ,NEW*0.99,1),;
DRAWTEXT(FILTER( NEW>REF(HHV(NEW,360),1) ,20)  ,NEW*0.99,'.突破'),coloryellow;
DRAWICON(FILTER(SUM( MAX(0,SUBSAMEDAY(&VOL)),10)>REF(SUM( MAX(0,SUBSAMEDAY(&VOL)),30),11) AND HHV(NEW,90)==NEW ,1) ,NEW,2),;
DRAWICON(FILTER(SUM( MAX(0,SUBSAMEDAY(&VOL)),10)>REF(SUM( MAX(0,SUBSAMEDAY(&VOL)),90),11) AND HHV(NEW,240)==NEW,1),NEW,9);
成交金额:TOSTRING(MONEY/100000000,2,)+'亿';
				
			

发表评论

文章目录
购物车
微信客服
首页
0
购物车
微信服务
个人中心
支付