{多空通道}
EMA10:EMA(CLOSE,M2),COLORRED,LINETHICK1;
VAR444:=C;
操作:=MA(VAR444,5);
生命线:HHV(操作,13),LINETHICK1,COLORYELLOW,DOTLINE;{收盘破此线短逃}
愚公:IF(1>10,HIGH*1.03,DRAWNULL),POINTDOT,LINETHICK9,COLORYELLOW;
QR:=(H+L+2*C)/4;
强弱分界线:EMA(QR,55),COLORFFFF00,DOTLINE;
{KD多空}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DRAWICON(CROSS(100,J),H*1.0300,6),COLORGREEN;
DRAWICON(CROSS(J,0),L*0.995,5),COLORRED;
短顶:EMA(H,55),COLORGREEN;
短底:EMA(L,55),COLORGREEN;
A111:=PLOYLINE(C>短顶,短顶);
NOTEXT_A222:IF(C>短顶,A111,DRAWNULL),COLORRED;
B111:=PLOYLINE(C>短底,短底);
NOTEXT_B222:IF(C>短底,B111,DRAWNULL),COLORRED;
STICKLINE(C>短顶,短顶,短底,0.01,1),COLORRED;
STICKLINE(C<短底,短顶,短底,0.01,1),COLORGREEN;
A1:=C>REF(C,4);
A2:=C<REF(C,4);
T1:=A2 AND REF(A1,1);
T2:=A2 AND REF(T1,1);
T3:=A2 AND REF(T2,1);
T4:=A2 AND REF(T3,1);
T5:=A2 AND REF(T4,1);
T6:=A2 AND REF(T5,1);
T7:=A2 AND REF(T6,1);
T8:=A2 AND REF(T7,1);
T9:=A2 AND REF(T8,1);
T10:=A2 AND REF(T9,1);
{DRAWTEXT(T1,L,'1'),COLORGREEN;
DRAWTEXT(T2,L,'2'),COLORGREEN;
DRAWTEXT(T3,L,'3'),COLORGREEN;
DRAWTEXT(T4,L,'4'),COLORGREEN;
DRAWTEXT(T5,L,'5'),COLORGREEN;}
DRAWTEXT(T6,L,'6'),COLORGREEN;
DRAWTEXT(T7,L,'7'),COLORGREEN;
DRAWTEXT(T8,L*0.99,'8'),COLORGREEN;
DRAWTEXT(T9,L*0.99,'9'),COLORGREEN;
长顶:EMA(H,92),COLORBLUE;
长底:EMA(L,92),COLORBLUE;
C1111:=PLOYLINE(C>长顶,长顶);
NOTEXT_C2222:IF(C>长顶,C1111,DRAWNULL),COLORMAGENTA;
D1111:=PLOYLINE(C>长底,长底);
NOTEXT_D2222:IF(C>长底,D1111,DRAWNULL),COLORMAGENTA;
STICKLINE(C>长顶,长顶,长底,0.01,1),COLORMAGENTA;
STICKLINE(C<长底,长顶,长底,0.01,1),COLORBLUE;
B1:=C<REF(C,4);
B2:=C>REF(C,4);
D1:=B2 AND REF(B1,1);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
D2:=B2 AND REF(D1,1);
D3:=B2 AND REF(D2,1);
D4:=B2 AND REF(D3,1);
D5:=B2 AND REF(D4,1);
D6:=B2 AND REF(D5,1);
D7:=B2 AND REF(D6,1);
D8:=B2 AND REF(D7,1);
D9:=B2 AND REF(D8,1);
D10:=B2 AND REF(D9,1);
{DRAWTEXT(D1,H,'1'),COLORYELLOW;
DRAWTEXT(D2,H,'2'),COLORYELLOW;
DRAWTEXT(D3,H,'3'),COLORYELLOW;
DRAWTEXT(D4,H,'4'),COLORYELLOW;
DRAWTEXT(D5,H,'5'),COLORYELLOW;}
DRAWTEXT(D6,H*1.01,'6'),COLORYELLOW;
DRAWTEXT(D7,H*1.001,'7'),COLORYELLOW;
DRAWTEXT(D8,H*1.001,'8'),COLORYELLOW;
DRAWTEXT(D9,H*1.001,'9'),COLORYELLOW;
AAA:=(2*C+H+L+2*O)/6;
VAR1:=(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;
VAR2:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/3;
VAR3:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;
VAR4:=(HHV(VAR2,2)+HHV(VAR2,4)+HHV(VAR2,8))/3;
短空:=REF(C,1)>REF(短底,1) AND C<短底;
短多:=REF(C,1)<REF(短顶,1) AND C>短顶;
短空1:=短空 AND COUNT(短空,BARSLAST(短多))=1;
短多1:=短多 AND COUNT(短多,BARSLAST(短空))=1;
长空:=REF(C,1)>REF(长底,1) AND C<长底;
长多:=REF(C,1)<REF(长顶,1) AND C>长顶;
长空1:=长空 AND COUNT(长空,BARSLAST(长多))=1;
长多1:=长多 AND COUNT(长多,BARSLAST(长空))=1;
VAR5:=(LLV(VAR3,2)+LLV(VAR3,4)+LLV(VAR3,8))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;
AAE:= WINNER(CLOSE+CLOSE*15/100)*100;
BBE:= WINNER(CLOSE+CLOSE*0/100)*100;
CCE:= AAE-BBE;
DDE:= (WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
EEE:= CCE<3 AND DDE<0.5 AND OPEN>LOW;
AE1:= DYNAINFO(6);
AE2:= IF(LOW>AE1,0,IF(HIGH<AE1,1,(AE1-LOW+0.01)/(HIGH-LOW+0.01)));
AE3:= VOL/WINNER(LOW);
AE4:= REF(HHV(CLOSE,120),1);
DRAWKLINE(H,O,L,C);
DRAWTEXT(短空1,L*1.02,'0'),COLORMAGENTA;
DRAWTEXT(短多1,L*0.98,'4'),COLORMAGENTA;
DRAWTEXT(长多1,L*0.98,'10'),COLORMAGENTA;
DRAWTEXT(长空1,L*0.98,'6'),COLORMAGENTA;
AE5:= REF(LLV(CLOSE,120),1);
AE6:= 100*(CLOSE-AE5)/(AE4-AE5);
AE7:= AE2>0 OR AE2=1;{分析家公式网}
AE8:= AE7 AND AE3/REF(AE3,3)>=3 AND AE6<80;
AE9:= REF(AE8,1) OR REF(AE8,2) OR REF(AE8,3) OR REF(AE8,4);
AE10:= AE8 AND AE9;AE11:= IF(FILTER(AE8,3),5,0);
AE12:= FILTER(IF(FILTER(AE10,3) OR EEE,10,0),3);
ZT_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
ZT_2:=ZT_1>=0.099 AND CLOSE=HIGH AND LOW!=HIGH;
STICKLINE(ZT_2,OPEN,CLOSE,2.4,0),COLORYELLOW;
流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT('【行业】',HYBLOCK),STRCAT('【地域】',DYBLOCK)),STRCAT('【概念】',GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0,0,0,所属板块),COLORLIRED;
解禁日期:=STRCAT('【解禁日期】',STRCAT(STRCAT('【1】',EXTERNSTR(0,9)),STRCAT('【2】',EXTERNSTR(0,8))));
DRAWTEXT_FIX(ISLASTBAR,0,0.04,0,解禁日期),COLORLIRED;
DRAWTEXT_FIX(1,0.01,1,0,'主题投资:')COLOR0000FF;
DRAWTEXT_FIX(1,0.07,1,0,EXTERNSTR(0,1))COLOR0000FF;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!