李华操盘线 简单操盘线,趋势线,可以做参考,不做买卖依据
EMA5:=EMA(C,5);
EMA10:=EMA(C,10);
EMA20:=EMA(C,20);
EMA50:=EMA(C,50);
PARTLINE(EMA5,EMA5<EMA20,RGB(0,255,0),C>EMA5,RGB(255,0,0),1,RGB(255,255,255)),LINETHICK1;
PARTLINE(EMA10,EMA10>EMA20,RGB(255, 255,0),C<EMA10,RGB(0,255,0),1,RGB(0,255,0)),LINETHICK01;
PARTLINE(EMA20,C>EMA20 AND EMA5>EMA20,RGB(255,0,255),C<EMA20,RGB(0,255,0),1,RGB(0,255,0)),LINETHICK01;
//PARTLINE(EMA50,C>EMA50,RGB(255,0,255),C<EMA50,RGB(0,255,0),1,RGB(120,120,120)),LINETHICK01;
买:=C>EMA5;
卖:=C<EMA5;
震荡:=C<EMA5 AND C>EMA20;
STICKLINE(买>卖 AND CLOSE>=OPEN,OPEN,CLOSE,9,1),RGB(255,0,0);
STICKLINE(买>卖 AND CLOSE>=OPEN,OPEN,LOW,0,0),RGB(255,0,0);
STICKLINE(买>卖 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),RGB(255,0,0);
STICKLINE(买>卖 AND CLOSE<OPEN,OPEN,CLOSE,9,0),RGB(255,0,0);
STICKLINE(买>卖 AND CLOSE<OPEN,LOW,HIGH,0,0),RGB(255,0,0);
STICKLINE(买<卖 AND CLOSE<=OPEN,OPEN,CLOSE,9,0),colorgreen;
STICKLINE(买<卖 AND CLOSE<=OPEN,LOW,HIGH,0,0),colorgreen;
STICKLINE(买<卖 AND CLOSE>OPEN,OPEN,CLOSE,9,1),colorgreen;
STICKLINE(买<卖 AND CLOSE>OPEN,OPEN,LOW,0,0),colorgreen;
STICKLINE(买<卖 AND CLOSE>OPEN,CLOSE,HIGH,0,0),colorgreen;
STICKLINE(震荡 AND CLOSE<=OPEN,OPEN,CLOSE,9,0),RGB(255,255,255);
STICKLINE(震荡 AND CLOSE<=OPEN,LOW,HIGH,0,0),RGB(255,255,255);
STICKLINE(震荡 AND CLOSE>OPEN,OPEN,CLOSE,9,1),RGB(255,255,255);
STICKLINE(震荡 AND CLOSE>OPEN,OPEN,LOW,0,0),RGB(255,255,255);
STICKLINE(震荡 AND CLOSE>OPEN,CLOSE,HIGH,0,0),RGB(255,255,255);
PL10:=ZIG(3,10);
EN2:=PL10>REF(PL10,1) AND REF(PL10,1)<=REF(PL10,2) AND REF(PL10,2)<=REF(PL10,3);
EX2:=PL10<REF(PL10,1) AND REF(PL10,1)>=REF(PL10,2) AND REF(PL10,2)>=REF(PL10,3);
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((EN2),L,'---------------',20),coloryellow;
//DRAWTEXT((Ex2),H,'--------------',20),colorgreen;
BTEma20:=(CLOSE>Ema20) AND (REF(CLOSE,1)>REF(Ema20,1)) AND (REF(CLOSE,2)>REF(Ema20,2)) AND (REF(CLOSE,3)>REF(Ema20,3));
vol120:=MA(VOL,120);
BTvol120:= (VOL > vol120) AND (REF(VOL,1) > REF(vol120,1)) AND (REF(VOL,2) > REF(vol120,2));
aa:=REF(C,1)>REF(O,1) AND REF(V,1)>REF(V,2) AND C>O AND V>REF(V,1) AND BTEma20 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;
★EMA均线★:STRLEFT('EMA 5 10 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;
//箱顶:MA(REF(HHV(C,30),1),2),colorwhite,LINETHICK2;
//箱底:MA(REF(LLV(C,30),1),2),colorligreen,LINETHICK2;
IF(PERIODNAME<>"日线")
{统计:"该指标只在日线周期下有效。";RETURN;}
C2:=REF(C,1);
大涨:=IF((C-C2)*100/C2>=(7-0.00*100/C2),1,0);
STICKLINE(大涨,OPEN,CLOSE,9,1),coloryellow;
STICKLINE(大涨,H,L,0.9,0),coloryellow;
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,9,0),coloryellow;
STICKLINE(涨停,H,L,0.9,0),coloryellow;
涨停1:=IF((C-C2)*100/C2>=(14-0.00*100/C2),1,0);
STICKLINE(涨停1,OPEN,CLOSE,9,1),colormagenta;
STICKLINE(涨停1,H,L,0.9,1),colormagenta;
涨停2:=IF((C-C2)*100/C2>=(20-0.01*100/C2),1,0);
STICKLINE(涨停2,OPEN,CLOSE,9,0),colormagenta;
STICKLINE(涨停2,H,L,0.9,0),colormagenta;
DRAWTEXT(EN3,L*0.98,'↖一买',20),colormagenta,LINETHICK2;
DRAWTEXT(Ex3,H*1.02,'↙一卖',20),coloryellow,LINETHICK2;
DRAWICON((EX2),H*1.01,2);
DRAWICON((EN2),L*0.99,1);
|
- 软件大小:7.00 KB
- 推荐星级:
- 更新时间:2023-02-20 00:05:55
- 软件类别: 国产软件 / 同花顺公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!