六脉趋势 MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
马线:=MA(牛线,6);
STICKLINE(C>牛线,2.5,4,8,0),colorred,LINETHICK;
STICKLINE(C<马线,2.5,4,8,0),colorgreen,LINETHICK2;
STICKLINE(牛线>=C AND C>=马线,2.5,4,8,0),colorgreen,LINETHICK;
A:=MAX(MA(C,60),MA(C,120));
B:=MIN(MA(C,60),MA(C,120));
STICKLINE(C>=A,0.5,2,8,0),colorred,LINETHICK2;
STICKLINE(C<=B,0.5,2,8,0),colorgreen,LINETHICK2;
STICKLINE(A>=C AND C>=B,0.5,2,8,0),colorgreen,LINETHICK2;
R:=0;
E:=MAX(MA(C,45),MA(C,90));
F:=MIN(MA(C,45),MA(C,90));
STICKLINE(C>E,-1.5,0,8,0),colorred,LINETHICK2;
STICKLINE(C<F,-1.5,0,8,0),colorgreen,LINETHICK2;
STICKLINE(E>=C AND C>=F,-1.5,0,8,0),colorgreen,LINETHICK2;
J:=MAX(MA(C,30),MA(C,60));
K:=MIN(MA(C,30),MA(C,60));
STICKLINE(C>J,-3.5,-2,8,0),colorred,LINETHICK2;
STICKLINE(C<K,-3.5,-2,8,0),colorgreen,LINETHICK2;
STICKLINE(J>=C AND C>=K,-3.5,-2,8,0),colorgreen,LINETHICK2;
TYP:=(HIGH+LOW+CLOSE)/3;
F1:=ZIG(3,15);
方向:=IF((F1> REF(F1,1)),-100,100);
STICKLINE(方向>90,6.2,7.3,8,0),COLOR00FF00;
STICKLINE(方向<0,6.2,7.3,8,0),colorred;
量倍值:VOL/REF(VOL,1),colorliblue,NODRAW;
STICKLINE(VOL>REF(VOL,1)*1.6 AND C>REF(C,1) AND VOL>REF(VOL,2),6.4,7.1,4,0),coloryellow;
LWR35:=100-100*(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35)),colorliblue,NODRAW;
LWR40:=100-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40)),colorliblue,NODRAW;
STICKLINE(LWR35=LWR40 OR (LWR40-LWR35<9 AND LWR40-LWR35>0) ,4.3,5.8,8,0),colorred;
STICKLINE((LWR40-LWR35>9 OR LWR40-LWR35<0),4.3,5.8,8,0),COLOR00FF00;
STICKLINE((LWR40>20 AND LWR40>REF(LWR40,2) ) OR (LWR35>20 AND LWR35>REF(LWR35,2)),4.5,5.6,4,0),colorblue;
///////·强弱钝化线·///////
ma5:=MA(C,5);
ma13:=MA(C,13);
ma21:=MA(C,21);
ma34:=MA(C,34);
ma55:=MA(C,55);
ma89:=MA(C,89);
ma144:=MA(C,144);
ma233:=MA(C,233);
ma377:=MA(C,377);
tmp1:=IF(C>ma5,1,0);
tmp2:=IF(C>ma13,1,0);
tmp3:=IF(C>ma21,1,0);
tmp4:=IF(C>ma34,1,0);
tmp5:=IF(C>ma55,1,0);
tmp6:=IF(C>ma89,1,0);
tmp7:=IF(C>ma144,1,0);
tmp8:=IF(C>ma233,1,0);
tmp9:=IF(C>MA377,1,0);
强弱钝化线:tmp1+tmp2+tmp3+tmp4+tmp5+tmp6+tmp7+tmp8+tmp9+-3.8,coloryellow,LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) *89.06);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),-4,'↖买',),colorred;
RSI1:=((SMA(MAX((CLOSE - (REF(CLOSE,1))),0),3,1) / SMA(ABS((CLOSE - (REF(CLOSE,1)))),3,1))*89.06);
DRAWTEXT(CROSS(88,RSI1) AND (MA(C,3))>(EMA(C,3)) ,8,'↙顶'),colorgreen;
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
DRAWTEXT((B1 = 1),-4,'↖跟进'),coloryellow;
DRAWTEXT((B2 = 1),-4,'↖加码'),COLORFFAAFF;
WR3快:=100-100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),colorlired,NODRAW;
LWR10:=100-100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10)),colorliblue,NODRAW;
买:= ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2), colorred,LINETHICK3;
STICKLINE(买,-4,2.5,2,0),colorblue;
DRAWICON(买,-4,1);
卖:= ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),COLORF0F000,LINETHICK3;
STICKLINE(卖,7.6,8.5,4,0),colorgreen;
DRAWICON(卖,8.5,2);
XA_18:=TROUGHBARS(3,15,1)<4;
STICKLINE(FILTER(XA_18=1,5 ),0,-4,5,0),coloryellow;
DRAWTEXT(FILTER(XA_18=1,5) ,(-4),'底'),coloryellow;
RSV1=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
a1=SMA(RSV1,3,1);
b1=SMA(a1,3,1);
e1=3*a1-2*b1;
J短:=e1,COLORFF00FF;
买点1:=J短>REF(J短,1) AND J短>REF(J短,2) AND J短<40 AND C>REF(C,1)AND 方向<0;
GG:=EMA(ZIG(3,5)+0.5,2);
STICKLINE((CROSS(ZIG(3,5)+0.5,GG) AND 方向<0),-4,2.5,2,0),colorblue;
DRAWTEXT((CROSS(ZIG(3,5)+0.5,GG) AND 方向<0),(-5),'↖买'),colorblue;
DIF18:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA18:=EMA(DIF18,9);
ABA1:=(DIF18-DEA18)*2*60;
AAB:=ABA1-REF(ABA1,1);
VAR18:=(CLOSE*2+HIGH+LOW)/4;
VAR28:=EMA(VAR18,13)-EMA(VAR18,34);
VAR38:=EMA(VAR28,5);
BBA:=(VAR38-VAR28)*5,colorgreen,LINETHICK2;
CCA:=(VAR28-VAR38)*5,colorwhite,LINETHICK2;
STICKLINE((CROSS(AAB,15) AND CCA>BBA AND 方向<0),-2,3,4,0),colorblue;
DRAWTEXT((CROSS(AAB,15) AND CCA>BBA AND 方向<0),(-5),'↖买'),colorblue;
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((VARC=1 AND 方向<0),-4,-1.5,4,0),colorlired;
DRAWTEXT((VARC=1 AND 方向<0),(-5),'↖买'),colorred;
DRAWTEXT((VARD=1 ),8,'↙卖'),Color00FF00;
DRAWICON(WR3快>REF(WR3快,1) AND WR3快>REF(WR3快,2) AND WR3快<40 AND C>REF(C,1)AND 方向<0,-4,'BUY'),COLOROOFFOO;
STICKLINE(WR3快>REF(WR3快,1) AND WR3快>REF(WR3快,2) AND WR3快<40 AND C>REF(C,1),3.5,-2,2,0),colorblue;
DRAWICON(WR3快>REF(WR3快,1) AND WR3快<50 AND J短>REF(J短,1) AND J短<50 AND C>REF(C,1)AND 方向<0,-4,'BUY'),COLOROOFFOO;
DRAWICON((CROSS(WR3快,20) OR CROSS(WR3快,50)) AND WR3快<80 AND WR3快>REF( WR3快,1) AND LWR40 >55 AND J短>REF(J短,1) AND 方向<0,-5,'BUY'),colorred;
买点:=CROSS(LWR40,20) AND LWR10<80 AND YJ003>0 AND 方向<0;
STICKLINE(买点 AND 方向<0,-4,0,2,0),colorblue;
DRAWICON(买点,-5,'BUY'),colorred;
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
STICKLINE(VAR11 AND COUNT(VAR11,30)=1,-4,-5.2,4,0),COLORFF00FF;
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,-5.2,'↖机构进场'),LINETHICK1,COLORFF00FF;
//DRAWTEXT_FIX(1,0.01,0.14,0, '趋势-'),coloryellow;
//DRAWTEXT_FIX(1,0.01,0.28,0, '散户-'),coloryellow;
//DRAWTEXT_FIX(1,0.01,0.47,0, '游资-'),coloryellow;
//DRAWTEXT_FIX(1,0.01,0.60,0, '机构-'),coloryellow;
//DRAWTEXT_FIX(1,0.01,0.79,0, '主力-'),coloryellow;
|
- 软件大小:13.0 KB
- 推荐星级:
- 更新时间:2023-07-12 00:02:58
- 软件类别: 国产软件 / 同花顺公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: 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年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!