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

软件名称:[B]短线决策解盘,支撑压力阻力一目了然(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:13.0 KB
官方主页:Home Page
更新时间:2021-12-19 08:03:42
软件简介:

短线决策解盘
需要L2数据支持才显示的。
支撑压力阻力一目了然

不要背景颜色,就删除第三四行源码即可。

买线:=EMA(C,1);
多空线:EMA(SLOPE(C,10)*10+C,20),COLORYELLOW;

STICKLINE(买线>=多空线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR220080;{多,深红色柱}
STICKLINE(买线<多空线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR408048;{空,深绿色柱}
{DRAWKLINE(H,O,L,C);波段淡红青K线
STICKLINE(买线>=卖线,C,O,3,0),COLOR000045;
 STICKLINE(买线>=卖线,C,O,2,0),COLOR000085; 
 STICKLINE(买线>=卖线,C,O,1,0),COLOR0000C5;
 STICKLINE(买线>=卖线,C,O,0.3,0),COLOR0000E5;
 STICKLINE(买线>=卖线,L,H,0,0),COLOR0000FF;立体红颜色;
STICKLINE(CLOSE<OPEN,L,H,0,0),COLOR00FF00;}
 
{STICKLINE(买线<卖线,L,H,0,0 ),COLORFFFF00; 
STICKLINE(买线<卖线,C,O,3.1,0  ),COLOR000000;
STICKLINE(买线<卖线,C,O,2.1,0 ),COLOR6A6A00;
 
 
{以下为资金情况,替换上面原K线,LCY}
DRAWKLINE(H,O,L,C);{画K线}
换手率:VOL/CAPITAL*100,COLORRED,NODRAW;
预换手:IF(CURRBARSCOUNT=1 AND PERIOD=5,换手率*240/FROMOPEN,DRAWNULL),COLORWHITE,NODRAW;
量比:V/REF(MA(V,5),1),NODRAW,COLORWHITE;
{预量比:DYNAINFO(17),NODRAW,COLORWHITE;}
机构:(L2_VOL(0,0) - L2_VOL(0,1))*10000/FINANCE(7),NODRAW,COLORYELLOW;
大户:(L2_VOL(1,0) - L2_VOL(1,1))*10000/FINANCE(7),NODRAW,COLORRED;
中户:(L2_VOL(2,0) - L2_VOL(2,1))*10000/FINANCE(7),NODRAW,COLORMAGENTA;
散户:(L2_VOL(3,0) - L2_VOL(3,1))*10000/FINANCE(7),NODRAW,COLORGREEN;
主力:机构+大户,NODRAW,COLORYELLOW;
{分析家公式网 WWW.70822.com 整理}
主力占比:主力/换手率*100,NODRAW,COLORMAGENTA;
 
三日主力:SUM(主力,3),COLORYELLOW,NODRAW;
五日主力:SUM(主力,5),COLORRED,NODRAW;
十日主力:SUM(主力,10),COLORMAGENTA,NODRAW;
廿日主力:SUM(主力,20),COLORWHITE,NODRAW;
 
STICKLINE(主力>0,O,C,2,1),COLORYELLOW;
STICKLINE(主力<0,O,C,2,1),COLORLIBLUE;
 
STICKLINE(机构>0,O,C,1,0),COLORYELLOW;
STICKLINE(机构<0,O,C,1,0),COLORBLUE;
STICKLINE(大户>0,O,(O+C)/2,1,0),COLORRED;
STICKLINE(大户<0,O,(O+C)/2,1,0),COLORGREEN;
 
ME2:=EMA(CLOSE,6);
五天:=EXPMA(CLOSE,5),COLORRED;
超短线:=EMA(ME2,11),COLORGREEN; LJL07:=(3*C+L+O+H)/6;
牛线:=(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,COLORRED;
熊线:=MA(牛线,5),COLORYELLOW,LINETHICK4,POINTDOT;
持股:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORWHITE;
{趋势}
赚了:=IF(EMA(CLOSE,3)>超短线,超短线,DRAWNULL),COLORRED;
持股角度:=ATAN((持股/REF(持股,1)-1)*100)*180/3.1416,COLORRED,NODRAW;
月线:=EMA(持股,30),COLORYELLOW,DOTLINE; 
双月线:=EMA(持股,60),COLORCYAN,DOTLINE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("DMI.PDI">"DMI.MDI") AND UPNDAY("DMI.ADXR",1) AND ("DMI.ADX">"DMI.ADXR"),0.460,0.26,0,'DMI 火箭升空'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("DMI.PDI"<"DMI.MDI") AND UPNDAY("DMI.ADXR",1) AND ("DMI.ADX">"DMI.ADXR"),0.460,0.26,0,'DMI 空中炸弹'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("DMI.PDI">"DMI.MDI"),0.460,0.21,0,'DMI 多头趋势'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("DMI.PDI"<"DMI.MDI"),0.460,0.21,0,'DMI 空头趋势'),COLORGREEN;
 
{以下5行LCY增加}
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("RSI.RSI1">"RSI.RSI2") {AND ("RSI.RSI2")>"RSI.RSI3")} AND ("RSI.RSI1">REF("RSI.RSI1",1)),0.460,0.61,0,'RSI 多头趋势'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("RSI.RSI1">"RSI.RSI2") {AND ("RSI.RSI2")>"RSI.RSI3"} AND ("RSI.RSI1"=REF("RSI.RSI1",1)),0.460,0.61,0,'RSI 多头平'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("RSI.RSI1">"RSI.RSI2"){AND ("RSI.RSI2")>"RSI.RSI3"} AND ("RSI.RSI1"<REF("RSI.RSI1",1)),0.460,0.61,0,'RSI 多头向下'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("RSI.RSI1"<"RSI.RSI2") {AND ("RSI.RSI2")<"RSI.RSI3"} AND ("RSI.RSI1"<REF("RSI.RSI1",1)),0.460,0.61,0,'RSI 空头趋势'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("RSI.RSI1"<"RSI.RSI2") {AND ("RSI.RSI2")<"RSI.RSI3"} AND ("RSI.RSI1">REF("RSI.RSI1",1)),0.460,0.61,0,'RSI 空头向上'),COLOR8080FF;
 
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS("KDJ.J","KDJ.K"),0.460,0.31,0,'K D J 金 叉'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS("KDJ.K","KDJ.J"),0.460,0.31,0,'K D J 死 叉'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("KDJ.J">"KDJ.K"),0.460,0.36,0,'K D J 多头趋势'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("KDJ.J"<"KDJ.K"),0.460,0.36,0,'K D J 空头趋势'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("MACD.DIF">"MACD.DEA") AND "MACD.MACD">0,0.460,0.41,0,'MACD 中线看多'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("MACD.DIF"<"MACD.DEA") AND "MACD.MACD"<0,0.460,0.41,0,'MACD 中线看空'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("MACD.DIF">"MACD.DEA"),0.460,0.46,0,'MACD 多头趋势'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ("MACD.DIF"<"MACD.DEA"),0.460,0.46,0,'MACD 空头趋势'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS("MACD.DIF","MACD.DEA"),0.460,0.51,0,'MACD 金 叉'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS("MACD.DEA","MACD.DIF"),0.460,0.51,0,'MACD 死 叉'),COLORGREEN;
{以下4行LCY增加}
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND "MACD.DIF"<=0 AND "MACD.DIF"<REF("MACD.DIF",2) AND "MACD.DIF">REF("MACD.DIF",1),0.460,0.56,0,'MACD 建仓'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND REF("MACD.DIF",1)>REF("MACD.DIF",2) AND "MACD.DIF"<REF("MACD.DIF",1),0.460,0.56,0,'MACD 减仓1'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND "MACD.DIF"<=0 AND CROSS("MACD.DIF","MACD.DEA") AND "MACD.MACD">REF("MACD.MACD",1),0.460,0.56,0,'MACD 加仓'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND "MACD.MACD">0 AND REF("MACD.MACD",1)>REF("MACD.MACD",2) AND "MACD.MACD"<REF("MACD.MACD",1),0.460,0.56,0,'MACD 减仓2'),COLORGREEN;
 
上涨:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 上涨,0.460,0.15,0,'上 涨 趋 势'),COLORFF00FF;
短线上涨:=CURRBARSCOUNT
[url=http://www.70822.com/soft/sort013/sort05/down-159742.html]短线决策解盘,支撑压力阻力一目了然(通达信公式 主图 源码 测试图)[/url]

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