梦想操作系统主图指标
DRAWGBK(C>O,RGB(8,28,47),RGB(0,0,0),0,'1',0); DRAWKLINE(H,O,L,C);
DRAWTEXT_FIX(1,0.0,5,0,'无求操作。'),COLORRED;
长期循环线:EMA(C,68)COLORLICYAN,LINETHICK1,CIRCLEDOT;
IF(长期循环线>REF(长期循环线,1),长期循环线,DRAWNULL),COLORRED,LINETHICK1,CIRCLEDOT;
IF(长期循环线<REF(长期循环线,1),长期循环线,DRAWNULL),COLORLICYAN,LINETHICK1,CIRCLEDOT;
操作线:EMA(C,12),COLORLICYAN,LINETHICK2;
IF(操作线>REF(操作线,1),操作线,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(操作线<REF(操作线,1),操作线,DRAWNULL),COLORLICYAN,LINETHICK2;
MA8:EMA(C,23),COLORRED,POINTDOT;
IF(MA8<REF(MA8,1),MA8,DRAWNULL),COLORGREEN,POINTDOT;
MA9:EMA(C,25),COLORRED,POINTDOT;
IF(MA9<REF(MA9,1),MA9,DRAWNULL),COLORGREEN,POINTDOT;
短循环线:EMA(C,24),COLORRED,DOTLINE;
IF(短循环线>REF(短循环线,1),短循环线,DRAWNULL),COLORRED,DOTLINE;
IF(短循环线<REF(短循环线,1),短循环线,DRAWNULL),COLORGREEN,DOTLINE;
{基本面}
总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');
市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');
上市日期:=STRCAT(' 上市天数: ',CON2STR(FINANCE(42),0));
股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(总股本,流通盘),市值),上市日期));
DRAWTEXT_FIX(ISLASTBAR,0.02,0.06,0,股本市值),COLORGRAY;
DRAWTEXT_FIX(ISLASTBAR=1 ,0.295,0.01,1,'【 操作原则 】:??小三线顺上短线做多;五线顺上中线做多 '),COLORLIGRAY;
{所属板块、概念}
DRAWTEXT_FIX(1,0.02,0.115,0,'行业地域:'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.115,0,HYBLOCK),COLORGRAY;{所属行业}
DRAWTEXT_FIX(1,0.12,0.115,0,GNBLOCK),COLORGRAY;{所属概念};
AAA:=(3*C+H+L+O)/6;
VAR1AA:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)
+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
波段线:VAR1AA,COLORRED,LINETHICK1;
{<<波段绝品>>}
SHORT:=12;LONG:=26;MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
空头:STICKLINE((REF(MACD,1)>MACD ) AND (C<波段线 OR (C>波段线 AND 波段线<REF(波段线,1))),C,O,3,0),COLOR808000;
STICKLINE((REF(MACD,1)> MACD AND C<波段线),H,L,0,0),COLOR808000;
头:STICKLINE(C<波段线,C,O,3,0),COLOR808000;
STICKLINE(( C<波段线),H,L,0,0),COLOR808000;
STICKLINE(空头,C,O,2.8,0),COLOR555500;
STICKLINE(空头,C,O,2,0),COLOR888800;
STICKLINE(空头,C,O,1.5,0),COLORAAAA00;
STICKLINE(空头,C,O,1,0),COLORCCCC00;
STICKLINE(空头,C,O,0.5,0),COLOREEEE00;
STICKLINE(头,C,O,2.8,0),COLOR555500;
STICKLINE(头,C,O,2,0),COLOR888800;
STICKLINE(头,C,O,1.5,0),COLORAAAA00;
STICKLINE(头,C,O,1,0),COLORCCCC00;
STICKLINE(头,C,O,0.5,0),COLOREEEE00;
{涨停}{跌停}
AAK:=CLOSE/REF(C,1)>=1.097 AND C=H AND C>EMA(C,68);
STICKLINE(AAK,C,O,1.5,0),COLORYELLOW;
STICKLINE(AAK,O,C,0.2,0),COLOR0000FF;
{共振涨板三色花}
超短:=100*(C-LLV(L,3))/(HHV(C,3)-LLV(L,3));
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
中长:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
T2X:=MA(C,20)>REF(MA(C,20),1);
T3X:= V>MA(V,5) AND V>MA(V,63);
T4:=MACD.DIF>REF(MACD.DIF,1) AND MACD.DIF>MACD.DEA;
T5:= KDJ.K>REF(KDJ.K,1) AND KDJ.K>50;
T6:=短期>=99 AND 中期>=99 AND 中长>=99 AND 长期>=99;
T7:=H>=REF(C,1)*1.099 AND C>REF(C,1);
TTS:=T2X AND T3X AND T4 AND T5 AND T6,NODRAW;
涨停1:=C>=REF(C,1)*1.0990 AND C=H AND C>EMA(C,24);
STICKLINE(涨停1 AND TTS,O,C,2,0),COLOR0000FF;
STICKLINE(涨停1 AND TTS,O,O+(C-O)*2/3,2,0),COLORYELLOW;
STICKLINE(涨停1 AND TTS,O,O+(C-O)*1/2.5,2,0),COLORFF80FF;
{攻击点}
箱底:=TROUGH(C,10,1)*1.02;
箱底1:=TROUGH(C,10,1)*1.02;
价低箱底:=COUNT(L<箱底,3);
底箱:=TROUGH(C,10,1)*1.05,COLOR008888,LINETHICK1,DOTLINE;
白银:=(EMA(C,24)<EMA(C,68) AND C>EMA(C,24) AND C<EMA(C,68))
OR (EMA(C,24)>EMA(C,68) AND C<EMA(C,24) AND C>EMA(C,68)) AND 价低箱底>=1 AND 箱底<EMA(C,24)
AND C>波段线 AND EMA(C,12)>REF(EMA(C,12),1) AND CROSS(C,底箱),COLOR00AAAA,NODRAW;
DRAWTEXT((EMA(C,24)<EMA(C,68) AND C>EMA(C,24) AND C<EMA(C,68))
OR (EMA(C,24)>EMA(C,68) AND C<EMA(C,24) AND C>EMA(C,68)) AND 价低箱底>=1 AND 箱底<EMA(C,24)
AND C>波段线 AND EMA(C,12)>REF(EMA(C,12),1) AND CROSS(C,底箱),L*0.98,'↖白银'),COLORA8A8A8;
STICKLINE(白银,OPEN,CLOSE,3.5,0),COLOR5F5F5F;
STICKLINE(白银,OPEN,CLOSE,3.0,0),COLOR6E6E6E;
STICKLINE(白银,OPEN,CLOSE,2.5,0),COLOR747474;
STICKLINE(白银,OPEN,CLOSE,2.0,0),COLOR919191;
STICKLINE(白银,OPEN,CLOSE,1.5,0),COLORA8A8A8;
STICKLINE(白银,OPEN,CLOSE,1.0,0),COLORCDCDCD;
STICKLINE(白银,OPEN,CLOSE,0.5,0),COLOREBEBEB;
STICKLINE(白银,OPEN,CLOSE,0.1,0),COLORWHITE;
杂银:=C<EMA(C,24) AND C<EMA(C,68) AND 价低箱底>=1 AND 箱底<EMA(C,24)
AND C>波段线 AND EMA(C,12)>REF(EMA(C,12),1) AND CROSS(C,底箱),COLOR00AAAA,NODRAW;
DRAWTEXT(C<EMA(C,24) AND C<EMA(C,68) AND 价低箱底>=1 AND 箱底<EMA(C,24)
AND C>波段线 AND EMA(C,12)>REF(EMA(C,12),1) AND CROSS(C,底箱),L*0.98,'↖杂银'),COLORA8A8A8;
BG1:=(C-O);
STICKLINE(杂银,OPEN,C,3.5,0),COLOR5F5F5F;
STICKLINE(杂银,OPEN,C,1,0),COLORB3F5F9;
STICKLINE(杂银,OPEN,O+BG1/2,3.5,0),COLOR5F5F5F;
STICKLINE(杂银,OPEN,O+BG1/2,3.0,0),COLOR6E6E6E;
STICKLINE(杂银,OPEN,O+BG1/2,2.5,0),COLOR747474;
STICKLINE(杂银,OPEN,O+BG1/2,2.0,0),COLOR919191;
STICKLINE(杂银,OPEN,O+BG1/2,1.5,0),COLORA8A8A8;
STICKLINE(杂银,OPEN,O+BG1/2,1.0,0),COLORCDCDCD;
STICKLINE(杂银,OPEN,O+BG1/2,0.5,0),COLOREBEBEB;
STICKLINE(杂银,OPEN,O+BG1/2,0.1,0),COLORWHITE;
白金:C>EMA(C,24) AND C>EMA(C,68) AND EMA(C,24)>EMA(C,68) AND (EMA(C,24)>REF(EMA(C,24),1)
AND EMA(C,68)>REF(EMA(C,68),1)) AND 价低箱底>=1 AND 箱底<EMA(C,24) AND C>波段线 AND
EMA(C,12)>REF(EMA(C,12),1) AND CROSS(C,底箱),COLOR00AAAA,NODRAW;
DRAWTEXT(C>EMA(C,24) AND C>EMA(C,68) AND EMA(C,24)>EMA(C,68) AND (EMA(C,24)>REF(EMA(C,24),1)
AND EMA(C,68)>REF(EMA(C,68),1)) AND 价低箱底>=1 AND 箱底<EMA(C,24) AND C>波段线 AND
EMA(C,12)>REF(EMA(C,12),1) AND CROSS(C,底箱),L*0.98,'↖白金'),COLOR00CCCC;
STICKLINE(白金,OPEN,CLOSE,3.5,0),COLOR008888;
STICKLINE(白金,OPEN,CLOSE,1.6,0),COLOR00AAAA;
STICKLINE(白金,OPEN,CLOSE,0.8,0),COLOR00CCCC;
STICKLINE(白金,OPEN,CLOSE,0.2,0),COLOR00FFFF;
黄金:C>EMA(C,24) AND C>EMA(C,68) AND EMA(C,24)<EMA(C,68)
AND 价低箱底>=1 AND 箱底<EMA(C,24) AND C>波段线 AND
EMA(C,12)>REF(EMA(C,12),1) AND CROSS(C,底箱),COLOR00AAAA,NODRAW;
DRAWTEXT(C>EMA(C,24) AND C>EMA(C,68) AND EMA(C,24)<EMA(C,68)
AND 价低箱底>=1 AND 箱底<EMA(C,24) AND C>波段线 AND
EMA(C,12)>REF(EMA(C,12),1) AND CROSS(C,底箱),L*0.98,'↖黄金'),COLOR00CCCC;
BG:=(C-O);
STICKLINE(黄金,OPEN,C,3.5,0),COLOR008888;
STICKLINE(黄金,OPEN,C,1,0),COLORWHITE;
STICKLINE(黄金,OPEN,O+BG/2,3.5,0),COLOR008888;
STICKLINE(黄金,OPEN,O+BG/2,1.6,0),COLOR00AAAA;
STICKLINE(黄金,OPEN,O+BG/2,0.8,0),COLOR00CCCC;
STICKLINE(黄金,OPEN,O+BG/2,0.2,0),COLOR00FFFF;
IF(波段线<REF(波段线,1),波段线,DRAWNULL),COLORGREEN,LINETHICK1;
攻击线:MA(C,3),COLORGRAY,LINETHICK1,DOTLINE;
IF(攻击线>REF(攻击线,1),攻击线,DRAWNULL),COLORWHITE,LINETHICK1,DOTLINE;
IF(攻击线<REF(攻击线,1),攻击线,DRAWNULL),{COLOR045324}COLORGRAY,LINETHICK1,DOTLINE;
低点转折:=DRAWICON(CROSS(ZIG(3,6),REF(ZIG(3,6),1)),L*0.98,9) ;
DRAWTEXT((低点转折=1),L*0.99,'↖捞'),COLOR1665F8;
高点转折:=DRAWICON(CROSS(REF(ZIG(3,4),1),ZIG(3,4)),H*1.015,15);
DRAWTEXT((高点转折=1),H*1.01,'↙衰'),COLOR77EE3E;
{KD\MACD金叉、死叉显示}
金叉:=CROSS(KDJ.J,KDJ.D);
死叉:=CROSS(KDJ.D,KDJ.J);
CO1:=(C-O);
STICKLINE(金叉,O,C,0,0),COLORYELLOW;
STICKLINE(金叉,O,O+CO1/2,0.01,0),COLORYELLOW;
STICKLINE(金叉,O,O+CO1/2,0,0),COLORRED;
STICKLINE(金叉,O,O+CO1/5,3.4,0),COLOR335555;
STICKLINE(金叉,O,O+CO1/5,2,0),COLOR338888;
STICKLINE(金叉,O,O+CO1/5,1.5,0),COLOR33AAAA;
STICKLINE(金叉,O,O+CO1/5,1,0),COLOR33CCCC;
STICKLINE(金叉,O,O+CO1/5,0,0),COLOR33EEEE;
金:=CROSS(MACD.DIF,MACD.DEA);
CO11:=(C-O);
STICKLINE(金,O,C,0,0),COLORYELLOW;
STICKLINE(金,O,O+CO11/2,0.3,0),COLORYELLOW;
STICKLINE(金,O,O+CO11/2,0,0),COLORRED;
STICKLINE(金,O,O+CO11/5,3.4,0),COLOR000055;
STICKLINE(金,O,O+CO11/5,2,0),COLOR000088;
STICKLINE(金,O,O+CO11/5,1.5,0),COLOR0000AA;
STICKLINE(金,O,O+CO11/5,1,0),COLOR0000CC;
STICKLINE(金,O,O+CO11/5,0,0),COLOR0000EE;
STICKLINE(死叉,O,O+CO1/5,1.4,0),COLOR4BFE59;
{本文为分析家公式网WWW.FXJGSW.COM发布}
注意红色圈圈的位置
选股的源码是: AAA:=(3*C+H+L+O)/6;
VAR1AA:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)
+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
波段线:=VAR1AA;
箱底:=TROUGH(C,10,1)*1.02;
箱底1:=TROUGH(C,10,1)*1.02;
价低箱底:=COUNT(L<箱底,3);
底箱:=TROUGH(C,10,1)*1.05,COLOR008888,LINETHICK1,DOTLINE;
黄金:C>EMA(C,24) AND C>EMA(C,68) AND EMA(C,24)<EMA(C,68)
AND 价低箱底>=1 AND 箱底<EMA(C,24) AND C>波段线 AND
EMA(C,12)>REF(EMA(C,12),1) AND CROSS(C,底箱);
|
- 软件大小:8.00 KB
- 推荐星级:
- 更新时间:2023-03-13 00:15:35
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: 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年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!