您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:大私募牛股王 副图源码

大私募牛股王 副图源码


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-06-21 08:17:00
公式简介:

参数
N.1.300.20
M.1.300.32
P1.1.300.80
P1.1.300.80

源码
VAR1:=(C+H+O+L)/4;
卖出:EMA(VAR1,N)*(1+P1/900),COLORGREEN,LINETHICK2;
买入:EMA(VAR1,M)*(1-P2/900),COLORMAGENTA,LINETHICK2;
MA1:=MA(VAR1,3);
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),4,0),COLORGREEN;
STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),4,0),COLORGREEN;
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,50),COLORGREEN;
STICKLINE(卖出<LOW,OPEN,CLOSE,4,0),COLORGREEN;
STICKLINE(卖出<LOW,HIGH,LOW,1,0),COLORGREEN;
STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),4,0),COLORMAGENTA;
STICKLINE(买入>MIN(C,O) AND 买入<MAX (C,O),买入,MIN(OPEN,CLOSE),4,0),COLORMAGENTA;
STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,1,0),COLORMAGENTA;
STICKLINE(买入>HIGH,OPEN,CLOSE,4,0),COLORMAGENTA;
STICKLINE(买入>HIGH,HIGH,LOW,0,40),COLORMAGENTA;
DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'B'),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'S'),COLORGREEN;

DA:=(EMA(C,2)+EMA(C,1)+EMA(C,2)+EMA(C,3))/4;
DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(DA-DB,-1000.1),L*0.98,'买'),COLORRED;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(76,JH),H*1.01,'卖'),COLORGREEN;


 


[url=http://www.goodgupiao.com/gupiaogongshi/21113.html][B]大私募牛股王 副图源码[/B][/url]