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

软件名称:[B]晴天线,波段趋势操盘指标(同花顺公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:11.0 KB
官方主页:Home Page
更新时间:2020-10-21 00:10:14
软件简介:

晴天线

中轨20日均线,波段指标,趋势指标,操盘指标

//晴天线
//中轨20日均线,波段指标,趋势指标,操盘指标
N:=20;
P:=20;
mid:=MA(CLOSE,N),linethick0;
UPPER:= MID + P/10*STD(CLOSE,N);
LOWER:= MID - P/10*STD(CLOSE,N);
UP0:MID+(UPPER-MID)*0.382,colormagenta;
DOWN:MID-(MID-LOWER)*0.382,colorligreen;
PARTLINE(MID,C>MID,RGB(255,48,48),C<MID,RGB(34,139,34),1,RGB(0,0,255)),LINETHICK1;
买:=C>MID;
卖:=C<MID;
STICKLINE(买>卖 AND CLOSE>=OPEN,OPEN,CLOSE,9,1),RGB(255, 48, 48);
STICKLINE(买>卖 AND CLOSE>=OPEN,OPEN,LOW,0,0),RGB(255, 48, 48);
STICKLINE(买>卖 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),RGB(255, 48, 48);
STICKLINE(买>卖 AND CLOSE<OPEN,OPEN,CLOSE,9,0),RGB(255, 48, 48);
STICKLINE(买>卖 AND CLOSE<OPEN,LOW,HIGH,0,0),RGB(255, 48, 48);
STICKLINE(买<卖 AND CLOSE<=OPEN,OPEN,CLOSE,9,0),colorligreen;
STICKLINE(买<卖 AND CLOSE<=OPEN,LOW,HIGH,0,0),colorligreen;
STICKLINE(买<卖 AND CLOSE>OPEN,OPEN,CLOSE,9,1),colorligreen;
STICKLINE(买<卖 AND CLOSE>OPEN,OPEN,LOW,0,0),colorligreen;
STICKLINE(买<卖 AND CLOSE>OPEN,CLOSE,HIGH,0,0),colorligreen;
PL20:=ZIG(3,20);
EN3:=PL20>REF(PL20,1) AND REF(PL20,1)<=REF(PL20,2) AND REF(PL20,2)<=REF(PL20,3);
EX3:=PL20<REF(PL20,1) AND REF(PL20,1)>=REF(PL20,2) AND REF(PL20,2)>=REF(PL20,3);
DRAWTEXT(EN3,L*0.98,'↖买',20),colormagenta,LINETHICK2;
DRAWTEXT(Ex3,H*1.02,'↙卖',20),coloryellow,LINETHICK2;
DRAWICON((EX3),H*1.0085,2);
DRAWICON((EN3),L*0.995,1);
//DRAWLINE(EN2,L,EX2,H,0),COLOR34A6FA,LINETHICK1;
//DRAWLINE(EX2,H,EN2,L,0),,COLOR34A6FA,LINETHICK1;
MA20:=MA(C,20);
BTma20:=(CLOSE>ma20) AND (REF(CLOSE,1)>REF(ma20,1)) AND (REF(CLOSE,2)>REF(ma20,2)) AND (REF(CLOSE,3)>REF(ma20,3));
vol120:=MA(VOL,120);
BTvol120:= (VOL > vol120) AND (REF(VOL,1) > REF(vol120,1)) AND (REF(VOL,2) > REF(vol120,2));
bb:=C>O AND REF(C,1)<REF(O,1) AND REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)>REF(O,4) AND REF(O,3) <REF(C,4) AND V>REF(V,1);
cc:= C>O AND REF(C,1)>REF(O,1) AND REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)>REF(O,4) AND REF(O,3) <REF(C,4) AND V>REF(V,1) AND REF(V,1)<REF(V,2);
dd:= C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)>REF(O,4) AND REF(O,3) <REF(C,4) AND V>REF(V,1) AND REF(V,2)<REF(V,3);
ff:= C>O AND REF(C,1)>REF(O,1) AND REF(C,2)>REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)>REF(O,4) AND REF(O,3) <REF(C,4) AND V>REF(V,1) AND REF(V,2)<REF(V,3) AND REF(V,1)<REF(V,2);
gg:=C<REF(C,4) AND REF(C,1)<REF(C,4) AND REF(C,2)<REF(C,4) AND REF(C,3)<REF(C,4) AND REF(O,1)<REF(C,4) AND REF(O,2)<REF(C,4) AND REF(O,3)<REF(C,4) ;
ee:=(bb OR cc OR dd OR ff) AND BTvol120 AND BTma20 AND gg;
DRAWTEXT(ee,L,'↖短线洗盘',20),colorred;
aa:=REF(C,1)>REF(O,1) AND REF(V,1)>REF(V,2) AND C>O AND V>REF(V,1) AND BTma20 AND BTvol120;
DRAWTEXT(aa,L,'↖放量',20),coloryellow;
每股净资产:=TOSTRING('每股净资产:',1);
净资产值:=TOSTRING(MGJZC,2);
DRAWTEXT_FIX(ISLASTBAR,0.33,0.05,0,每股净资产),COLOR34A6FA;
DRAWTEXT_FIX(ISLASTBAR,0.46,0.05,0,净资产值),COLOR34A6FA;
市净率:=TOSTRING('市净率:',1);
净值:=TOSTRING(CLOSE/MGJZC,2);
DRAWTEXT_FIX(ISLASTBAR,0.53,0.05,0,市净率),COLOR34A6FA;
DRAWTEXT_FIX(ISLASTBAR,0.65,0.05,0,净值),COLOR34A6FA;
净资产收益率:=TOSTRING('净资收益率:',1);
收益率值:=TOSTRING(JLR/GDQYHJ*100,2);
DRAWTEXT_FIX(ISLASTBAR,0.33,0.08,0,净资产收益率),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.46,0.08,0,收益率值),colormagenta;
★MA均线★:STRLEFT('MA  20 ',50),COLOR34A6FA;
净利润增长:=TOSTRING('净利润增长:',1);
净利增值:=TOSTRING((JLR-REP(&JLR,2))/REP(&JLR,2)*100,2);
DRAWTEXT_FIX(ISLASTBAR,0.53,0.08,0,净利润增长),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.65,0.08,0,净利增值),colormagenta;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.88,0,BLOCK(0,0)),COLOR34A6FA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.13,0.88,0,BLOCK(1,0)),COLOR34A6FA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.26,0.88,0,BLOCK(2,0)),COLOR34A6FA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.94,0,BLOCK(3,0)),COLOR34A6FA;
IF(PERIODNAME<>"日线")
{统计:"该指标只在日线周期下有效。";RETURN;}
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,5,0),coloryellow;
涨停:=IF((C-C2)*100/C2>=(20-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,5,0),colormagenta;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,5,0),colorblue;
 
 
 

[url=http://www.70822.com/soft/sort013/sort036/down-151595.html]晴天线,波段趋势操盘指标(同花顺公式 主图 源码 测试图)[/url]

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