趋势黄金主图 MA233:=MA(CLOSE,233);
STICKLINE(C>0,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR404050;
STICKLINE(C>MA233,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR001050;
主趋势线:=EMA(EMA(C,10),10),COLORRED,LINETHICK3;
AAAZ:=(3*C+H+L+O)/6;
VAR101:=(8*AAAZ+7*REF(AAAZ,1)+6*REF(AAAZ,2)+5*REF(AAAZ,3)+4*REF(AAAZ,4)+3*REF(AAAZ,5)+2*REF(AAAZ,6)+REF(AAAZ,8))/36;
VAR201:=(HHV(VAR101,5)+HHV(VAR101,10)+HHV(VAR101,20))/3;
VAR301:=(LLV(VAR101,5)+LLV(VAR101,10)+LLV(VAR101,20))/3;
VAR401:=(HHV(VAR201,5)+HHV(VAR201,10)+HHV(VAR201,20))/3;
VAR501:=(LLV(VAR301,5)+LLV(VAR301,10)+LLV(VAR301,20))/3;
VAR601:=(LLV(VAR101,2)+LLV(VAR101,4)+LLV(VAR101,6))/3;
DRAWBAND(VAR101,RGB(155,50,50),VAR601,RGB(250,250,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
短线:VAR101,LINETHICK2;
NOTEXT1:IF(C>=短线,短线,DRAWNULL),LINETHICK2,COLORYELLOW;
NOTEXT2:IF(C< 短线,短线,DRAWNULL),LINETHICK2,COLORGREEN;
中线:VAR601,COLORWHITE,LINETHICK1;
大趋势线:MA(CLOSE,144),COLORGREEN,LINETHICK4;
NOTEXT3:IF(C>=大趋势线,大趋势线,DRAWNULL),LINETHICK4,COLORRED;
AZ1:=C>REF(C,4);
NT:=BARSLASTCOUNT(AZ1);
TJ11:=NT=9;
TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;
DRAWTEXT(AY>0,H*1.002,VAR2STR(AY,0)),COLORFF00FF;
DRAWTEXT(NT=9,H*1.002,'9'),COLORGREEN;
BZ1:=C< REF(C,4);
NT0:=BARSLASTCOUNT(BZ1);
TJ21:=NT0=9 ;
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWTEXT(AY1>0,L*0.998,VAR2STR(AY1,0)),COLORFF00FF;
DRAWTEXT(NT0=9,L*0.998,'9'),COLORGREEN;
VAR0:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;
DRAWTEXT(CROSS(82,VAR0),H*1.01,'|||快卖'),COLORWHITE;
S:=C-REF(C,1);
DX:=100*EMA(EMA(S,6),6)/EMA(EMA(ABS(S),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX< 0,2) AND CROSS(DX,MA(DX,2)),1,0);
T:=150;
TT:=3;
AMOV:=VOL*(OPEN+CLOSE)/2;
成本价:=SUM(AMOV,5)/SUM(VOL,5),LINETHICK1,COLOR209FFF;
高1:=REF(HHV(H,T),TT);
低1:=REF(LLV(L,T),TT);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:REFDATE(高1,DATE),COLORFFFF00;
一:REFDATE(H1,DATE),DOTLINE,COLORYELLOW;
二:REFDATE(H2,DATE),DOTLINE,COLORMAGENTA;
三:REFDATE(H3,DATE),DOTLINE,COLOR00FFFF;
四:REFDATE(H4,DATE),DOTLINE,COLORMAGENTA;
五:REFDATE(H5,DATE),DOTLINE,COLORYELLOW;
低:REFDATE(低1,DATE),COLOR00FF00;
TT4:=(CURRBARSCOUNT=1);
DRAWTEXT(TT4 AND 顶,顶,'顶'),COLOR208FFF;
DRAWTEXT(TT4 AND 一,一,'0.809'),COLOR208FFF;
DRAWTEXT(TT4 AND 二,二,'0.618'),COLOR208FFF;
DRAWTEXT(TT4 AND 三,三,'0.5'),COLOR208FFF;
DRAWTEXT(TT4 AND 四,四,'0.382'),COLOR208FFF;
DRAWTEXT(TT4 AND 五,五,'0.191'),COLOR208FFF;
DRAWTEXT(TT4 AND 低,低*1.009,'底'),COLOR208FFF;
操作线:=MA(C,13);
AA8:=C>=操作线 OR 操作线>REF(操作线,1);
BB8:=C< 操作线;
DD:=CLOSE< OPEN;
DRAWKLINE(H,O,L,C);
STICKLINE(AA8,L,H,0,0),COLOR2F2FFF;
STICKLINE(AA8,C,O,3.1,0),COLOR000033;
STICKLINE(AA8,C,O,2.1,0),COLOR000099;
STICKLINE(AA8,C,O,1.5,0),COLOR0000CC;
STICKLINE(AA8,C,O,0.3,0),COLOR0000FF;
STICKLINE(BB8,L,H,0,0 ),COLORFFFF00;
STICKLINE(BB8,C,O,3.1,0 ),COLOR000000;
STICKLINE(BB8,C,O,2.1,0 ),COLOR6A6A00;
STICKLINE(BB8,C,O,1.5,0 ),COLORDDDD00;
STICKLINE(BB8,C,O,0.3,0),COLORFFFF00;
角线:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);
角线MA:=MA(角线,5);
ANA:=PLOYLINE(CROSS(角线,角线MA),角线MA),COLORRED;
ANB:=PLOYLINE(CROSS(角线MA,角线),角线MA),COLORFF00FF ;
角买点:=CROSS(角线,角线MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角线MA<=0) OR ((角线MA<=-45 OR CROSS(角线MA,-45)) AND (ANB< -60 OR LLV("KDJ.J",3)<=-49) AND ANB>0)),COLORGREEN;
角起涨:=COUNT(CROSS(角线,角线MA),ANA< REF(ANA,5) AND ANB>REF(ANB,5));
角卖点:=(CROSS(角线MA,角线) AND (ANB>REF(ANB,1) OR ANA< REF(ANA,1)) AND ANB>ANA AND 角线MA>0)*1;
角始跌:=COUNT(CROSS(角线MA,角线),ANA< REF(ANA,5) AND ANB>REF(ANB,5));
DRAWTEXT(角买点,L,'━━短线买'),COLOR00FFFF;
X_1:=VOL/REF(MA(VOL,5),1);
X_2:=(CLOSE/REF(CLOSE,1)-1)*100;
X_3:=CLOSE=HHV(CLOSE,30);
X_4:=BARSLAST(FILTER(CROSS(0.9,X_3),2))+1;
平台高点:REF(CLOSE,X_4),NODRAW,COLOR8800FF;
X_5:=CLOSE=LLV(CLOSE,30);
X_6:=BARSLAST(FILTER(CROSS(0.9,X_5),2))+1;
平台低点:REF(CLOSE,X_6),NODRAW,COLORFF8800;
X_7:=IF(FINDHIGHBARS(平台高点,1,20,1)>=10,1,0);
X_8:=CROSS(CLOSE,平台高点);
STICKLINE(X_8>0 AND X_1>1 AND X_2>=3 AND X_7>0,OPEN,CLOSE,2,0),COLORYELLOW;
平台突破:IF(X_8>0 AND X_1>1 AND X_2>=3 AND X_7>0,1,0),NODRAW,COLORYELLOW;
STICKLINE(X_4<=30,平台高点,平台高点,4,0),LINETHICK3,COLORWHITE;
STICKLINE(X_6<=30,平台低点,平台低点,4,0),LINETHICK3,COLORWHITE;
持股角度:=ATAN((操作线/REF(操作线,1)-1)*100)*180/3.1416,NODRAW;
DRAWTEXT_FIX(C!=0,0.9,0.05,0,STRCAT('持股角度: ',STRCAT(CON2STR(持股角度,2),' °'))),COLORFFFF00;
盘整天数:=5;
下探幅度:=5;
上冲幅度:=25;
涨停:=(C-REF(C,1))/REF(C,1)>0.09;
缩量:=HHV(VOL,盘整天数-2)< REF(VOL,盘整天数-1) AND SUM(VOL, 盘整天数)>2* SUM(VOL, 盘整天数-2);
阳涨幅:=3.5;
阳倍量:=1.9;
单阳收:=C;
单阳开:=O;
单阳:=单阳收>=REF(C,1)*(1+阳涨幅/100)AND VOL>REF(VOL,1)*阳倍量;
DRAWTEXT(CURRBARSCOUNT< 100 AND 单阳,L*0.98,'阳'),COLOR00FFFF;
高不破价:=REF(C,BARSLAST(单阳));
低不破价:=REF(L,BARSLAST(单阳));
单阳不破:=CURRBARSCOUNT< 100 AND BARSLAST(单阳)< 11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价);
STICKLINE(单阳不破,低不破价-低不破价*0.0005,低不破价,4,0),COLORGREEN;
STICKLINE(单阳不破,高不破价,高不破价,4,0),COLORRED;
STICKLINE(单阳,单阳开,单阳收,2,0),COLORYELLOW;
DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),COLORGREEN;
DRAWTEXT_FIX(1,0,70,0,'~★~壹股经公众号~★~'),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,HYBLOCK),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.07,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.13,0,GNBLOCK),COLORFF00FF;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.2,0,FGBLOCK),COLOR0080FF;
X_1A:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
X_2A:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
X_3A:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
X_4A:=X_2A+100;
X_5A:=IF(CLOSE>REF(CLOSE,1),VOL,0);
X_6A:=IF(CLOSE< REF(CLOSE,1),VOL,0);
X_7A:=SUM(X_5A,13);
X_8A:=SUM(X_6A,13);
X_9:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_10:=MA(X_9,2);
X_11:=X_4A< 10 OR REF(X_4A,1)< 10 OR REF(X_4A,2)< 10 OR REF(X_4A,3)< 10;
X_12:=X_4A< 10 OR REF(X_4A,1)< 10 OR REF(X_4A,2)< 10 OR REF(X_4A,3)< 10 AND (X_10< 10 OR REF(X_10,1)< 10 OR REF(X_10,2)< 10 OR REF(X_10,3)< 10);
X_13:=(CLOSE+LOW+HIGH)/1.5;
X_14:=EMA(X_13,3);
X_15:=EMA(X_14,2.5);
DRAWICON(CROSS(X_14,X_15) AND X_11>0.1,LOW*0.98,9),COLORRED;
DRAWICON(CROSS(X_14,X_15) AND X_12>0.1,LOW*0.9398,1),COLORRED;
MA3:MA(C,60),LINETHICK2,COLORFF00FF;
|
- 软件大小:8.00 KB
- 推荐星级:
- 更新时间:2023-02-02 00:15:28
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: 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年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!