机构买卖主图指标公式源码(机构买入指标公式主图源码)
本文目录一览:
- 1、求高手帮我把出现机构买做成预警公式。通达信。{买卖} VAR0:=VOL/CLOSE/2; VAR1:=SUM(IF(VAR0 > 100 AND CL
- 2、通达信主图买卖(日线止损价位)指标公式源码怎样输入到通达信软件上
- 3、短线高手主力版“买卖趋势”指标公式源码
求高手帮我把出现机构买做成预警公式。通达信。{买卖} VAR0:=VOL/CLOSE/2; VAR1:=SUM(IF(VAR0 > 100 AND CL
源码如下:
涨停王
{买卖}
VAR0:=VOL/CLOSE/2;
VAR1:=SUM(IF(VAR0 100 AND CLOSE REF(CLOSE,1),VAR0,0),0);
VAR2:=SUM(IF(VAR0 100 AND CLOSE REF(CLOSE,1),VAR0,0),0);
VAR3:=SUM(IF(VAR0 100 AND CLOSE REF(CLOSE,1),VAR0,0),0);
VAR4:=SUM(IF(VAR0 100 AND CLOSE REF(CLOSE,1),VAR0,0),0);
VAR5:=VAR1 + VAR2 + VAR3 + VAR4;
VAR6:=IF(ISLASTBAR,100 * VAR1/VAR5,0);
VAR7:=IF(ISLASTBAR,100 * VAR2/VAR5,0);
VAR8:=IF(ISLASTBAR,100 * VAR3/VAR5,0);
VAR9:=IF(ISLASTBAR,100 * VAR4/VAR5,0);
{机构买:=VAR1;
机构卖:=VAR2;
散户买:=VAR3;
散户卖:=VAR4;}
机构买:VAR1,LINETHICK9,COLOR031BFA;
机构卖:VAR2,LINETHICK9,COLORFFFF55;
散户买:VAR3,COLOR5FFFFF,DOTLINE;
散户卖:VAR4,COLOR55FF55,DOTLINE;
{DRAWTEXT(CROSS(机构买,1500),2500,'机会'),COLORYELLOW,LAYER0,LINETHICK4;}
{DRAWTEXTREL(1003,870,'机构买'),LINETHICK2,COLORRED;
DRAWTEXTREL(1003,570,'机构卖'),LINETHICK2,COLORFFFF55;
DRAWTEXTREL(1003,320,'散户买'),LINETHICK2,COLORWHITE;
DRAWTEXTREL(1003,50,'散户卖'),LINETHICK2,COLORYELLOW;}
A787:=BARSSINCE(V0)+1;
均价787:=SUM(C*V,A787)/SUM(V,A787);
机:=FILTER(((CROSS(机构买,机构卖) OR (机构卖=0 AND CROSS(机构买,10))) AND C/DYNAINFO(3)1.001 AND 机构买机构卖),2400);
DRAWTEXT(机 AND C/DYNAINFO(3)0.0113 AND C=均价787 AND C DYNAINFO(3),(机构买+1000)*1.35,'机会'),COLORF000FF,LINETHICK5;
风:=FILTER(((CROSS(机构卖,机构买) OR (机构买=0 AND CROSS(机构卖,100))) AND DYNAINFO(3)/C1.0001 AND 机构买机构卖),2400);
风2:=FILTER((CROSS(散户卖,机构买) OR (机构买=0 AND CROSS(机构卖,100))) AND DYNAINFO(3)/C1.001,2400);
DRAWTEXT((风 OR 风2) AND DYNAINFO(3)/C0.0113 AND C=均价787 AND C DYNAINFO(3),(机构买+1000)*1.35,'风险'),COLORFFFF00,LINETHICK5;
如果是用通达信软件,那么预警无法实现.软件硬伤,数据不支持.
即使能预警,每天出现的股票数也会很多. 这个指标是属于盘中
分析的.
不如先选热点板块,再从热点板块里的当天强势股里分析机构进
出.再做出判断.
大智慧里可以使用,源码如下:
VAR0:=VOL/CLOSE/2;
VAR1:=SUM(IF(VAR0 100 AND CLOSE REF(CLOSE,1),VAR0,0),0);
VAR2:=SUM(IF(VAR0 100 AND CLOSE REF(CLOSE,1),VAR0,0),0);
构买:=VAR1;
机构卖:=VAR2;
A787:=BARSSINCE(V0)+1;
均价787:=SUM(C*V,A787)/SUM(V,A787);
机:=FILTER(((CROSS(机构买,机构卖) OR (机构卖=0 AND CROSS(机构买,10))) AND C/DYNAINFO(3)1.001 AND 机构买机构卖),2400);
XG: 机 AND C/DYNAINFO(3)0.0113 AND C=均价787 AND C DYNAINFO(3);
通达信主图买卖(日线止损价位)指标公式源码怎样输入到通达信软件上
点击 “ctrl” 键 和“F”键, 调出公式管理器, 新建一个附图指标,然后在 组合图界面 输入你新建的指标名称, 就可以调出来使用了。
希望对你有所帮助
短线高手主力版“买卖趋势”指标公式源码
非常准的趋势买卖(图片演示在下面网址里)
VAR1:=(C+H+O+L)/4;
卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
买入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;
幅度:100*(卖出-买入)/买入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(卖出LOW AND 卖出HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(卖出MIN(C,O) AND 卖出MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(卖出LOW AND 卖出HIGH,卖出,HIGH,0,0),COLORGREEN;
STICKLINE(卖出LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(卖出LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(买入LOW AND 买入HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;
STICKLINE(买入MIN(C,O) AND 买入MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;
STICKLINE(买入LOW AND 买入HIGH,买入,LOW,0,0),COLORMAGENTA;
STICKLINE(买入HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(买入HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'B'),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'S'),COLORGREEN;
绿上卖,红下买。