分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]龙头趋势买卖(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2023-05-09 00:06:05
软件简介:

龙头趋势买卖

自用测试,买卖点有未来函数,请慎用!

//百盈趋势
DIFF:=(EMA(CLOSE,14) - EMA(CLOSE,53))*100;//macd指标
DEA:=(EMA(DIFF,5));
UP:=(DIFF-DEA)*2,colorred,LINETHICK1;
DN:=MA(UP,5),colorgreen,LINETHICK1;
多:(((UP-DN)-(REF(UP,1)-REF(DN,1)))/REF(CLOSE,1)*1.1)*100,colorlired,LINETHICK1;
空:100*(HHV(HIGH,53)-CLOSE)/(HHV(HIGH,53)-LLV(LOW,53)),colorblue,LINETHICK1;//LWR威廉指标
上差:up-REF(up,1),colorblack,LINETHICK1;
WJ:=(HIGH+LOW+CLOSE)/3;
V1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
V2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
V3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
V4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
V5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
买量:=(V9+V8)/10000;
卖量:=-(V6+V7)/10000;
日差:=((V9+V8)-(V6+V7))/10000,nodraw;
总差:=SUM(日差,60),nodraw;
总能:=总差*10000/CAPITAL*100,nodraw;
日差比:日差*10000/CAPITAL*100,colormagenta,nodraw;
三量:=SUM(日差,3)/10,colorblack,LINETHICK1;
换隔:=SUMBARS(VOL,CAPITAL),colorgray,nodraw;
//涨隔:=BARSLAST(CLOSE/REF(CLOSE,1)>=1.098),coloryellow,nodraw;
近高:=HHVBARS(HIGH,90),nodraw;
高比:=HHV(HIGH,90)/CLOSE,nodraw;
获利:WINNER(CLOSE)*100,nodraw;
利差:=(WINNER(CLOSE)-WINNER(REF(CLOSE,1)))*100,nodraw;
换手:=VOL*100/CAPITAL,nodraw;
换差:=换手-REF(换手,1),nodraw;
量差:三量-REF(三量,1),nodraw;
Z:=RANGE(换手,3,25);
KPSJ:=FROMOPEN;//开盘时间
ZT:=COUNT(CLOSE/REF(CLOSE,1)>=1.097,5);//5日涨停天数
五涨:=(CLOSE/REF(CLOSE,5)-1)*100,nodraw;//5日涨幅
RB:=SUM(日差比,5),nodraw;
五占:=COST(RB),nodraw;//5日买入占比
五差:=五占-REF(五占,1),nodraw;
异动值:五差-REF(五差,1),nodraw;
买卖值:上差-REF(上差,1),nodraw;
////未来函数买卖
买线:=ZIG(3,10);
卖线:=MA(买线,3);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(买线>=卖线 AND 日差比>0,0,日差比*50,4,0),colorred;
STICKLINE(买线>=卖线 AND 日差比<0,0,日差比*50,4,0),colorliblue;
STICKLINE(买线<卖线 AND 日差比>0,0,日差比*50,4,0),colormagenta;
STICKLINE(买线<卖线 AND 日差比<0,0,日差比*50,4,0),colorgreen;
DRAWTEXT(BU,-10,'B'),LINETHICK1,coloryellow;
DRAWTEXT(SEL,-10,'S'),LINETHICK1,colorred;
STICKLINE(CLOSE/REF(CLOSE,1)>=1.098,0,-20,1,0),colorred;
STICKLINE(CLOSE/REF(CLOSE,1)<=0.91,0,-20,1,0),colorblack;
T0:=IF(总能-REF(总能,1)>5 AND 日差比>2,2,0);
STICKLINE(T0>1,0,日差比*25,2,0),colorligray;
T1:=IF(总能-REF(总能,1)<-3 AND 日差比<-2,2,0);
STICKLINE(T1>1,日差比*25,日差比*50,2,0),colorligray;
T2:=IF(CROSS(多,空) AND 多>20 AND UP>DN AND 日差比>2 AND CLOSE/REF(CLOSE,1)>=1.05,2,0);
STICKLINE(T2>1,日差比*25,日差比*50,2,0),coloryellow;
//趋势买卖百盈
//XC0:=BARSLAST(CLOSE/REF(CLOSE,1)>=1.098);
//XC1:=BARSLAST(五占=0);
//XC2:=IF(异动值>3 OR 异动值<-3,2,0);
//XC3:=IF(买卖值>4,2,0);
//XC4:=IF(OPEN/REF(CLOSE,1)>1.098,2,0);
////Z:=IF(BETWEEN(换手,2,25),2,0);
//XC:=IF(高比<1.31 AND XC1<5 AND XC2>1 AND XC3>1 AND XC4<1 AND UP>DN AND UP<160 AND CLOSE/REF(CLOSE,1)>1.06,2,0);
//DRAWTEXT(XC>1,-10,'★'),coloryellow;
//XV1:=BARSLAST(XC>1);
//XV2:=COUNT(XV1<20 AND 上差<0,XV1);
//XV3:=LLVBARS(XV2,XV1);
//DRAWTEXT(XV3=1,-10,'▼'),colorblue;
//XZ:=IF(XV1=1 AND 买卖值>0,2,0);
//DRAWTEXT(XZ>1,-10,'▲'),colorred;
M5:=MA(CLOSE,5),nodraw;
M60:=MA(CLOSE,60),nodraw;
V10:=IF(RANGE(UP,-5,45) AND DN>-10 AND UP-DN<20 AND UP>DN  AND 日差比>0 AND CLOSE/REF(CLOSE,1)>=1.05,2,0);
V11:=IF(CROSS(多,空) AND 空<60 AND M5/M60<1.1 AND  M60-REF(M60,3)>-0.08,2,0);
V12:=BARSLAST(CROSS(多,空));
B:=IF(V10>1 AND V11>1,2,0);
VB1:=BARSLAST(V10>1 AND V11>1);
B1:=IF(T0>1 AND 换差>6 AND V12<=3 AND VB1<15 AND 多>50 AND DN>-10 AND UP>DN AND 空<30,2,0);
DRAWTEXT(B>1,-20,'买'),colorred;
DRAWTEXT(B1>1,-20,'入'),colorred;
VB2:=COUNT(VB1<20 AND 上差<0,VB1);
VB3:=LLVBARS(VB2,VB1);
DRAWTEXT(VB3=1,-10,'卖'),colorblack;
 

[url=http://www.70822.com/soft/sort013/sort036/down-167501.html]龙头趋势买卖(同花顺指标 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.50000 毫秒