CHECK1:=1-2; {www.fxjgsw.com}
VAR1:=IF((CHECK1 < 0),(((HIGH + LOW) + CLOSE))/(3),0);
VAR2:=IF((CHECK1 < 0),((VAR1 - MA(VAR1,14)))/((0.015)*(AVEDEV(VAR1,14))),0);
VAR3:=IF((CHECK1 < 0),((VAR1 - MA(VAR1,70)))/((0.015)*(AVEDEV(VAR1,70))),0);
VAR4:=IF((CHECK1 < 0),IF(((((VAR2 >= 150) and (VAR2 < 200)) and (VAR3 >= 150)) and (VAR3 < 200)),10,0),0);
VAR5:=IF((CHECK1 < 0),IF(((((VAR2 <= (0 - 150)) and (VAR2 > (0 - 200))) and (VAR3 <= (0 - 150))) and (VAR3 > (0 - 200))),(0 - 10),VAR4),0);
VAR6:=IF((CHECK1 < 0),(((CLOSE - MA(CLOSE,13)))/(MA(CLOSE,13)))*(100),0);
VAR7:=IF((CHECK1 < 0),(100 - ABS(VAR6)),0);
VAR8:=IF((CHECK1 < 0),IF((VAR7 < 90),VAR7,100),0);
PJX:=IF((CHECK1 < 0),(MA(((100)*((CLOSE - LLV(CLOSE,34))))/((HHV(HIGH,34) - LLV(LOW,34))),5) - 20),0);
短期强弱:PJX,colorYellow;
VAR1A:=IF((PJX > 0),PJX,0);
VAR1B:=(IF(((VAR3 >= 200) and (VAR2 >= 150)),15,IF(((VAR3 <= (0 - 200)) and (VAR2 <= (0 - 150))),(0 - 15),VAR5)) + 60);
VAR1C:=(((VAR1A > 48) and (VAR1B > 60)) and (VAR8 < 100));
VAR1D:=(((VAR1A < 48) and (VAR1B < 60)) and (VAR8 < 100));
DRAWTEXT((VAR1D and (COUNT(VAR1D,30) = 1)),80,'短线反弹'),linethick1,colorRed;
STICKLINE((VAR1D and (COUNT(VAR1D,30) = 1)),60,80,5,0),colorRed;
DRAWTEXT((VAR1C and (COUNT(VAR1C,30) = 1)),80,'短线高点'),linethick1,ColorFFCC66;
STICKLINE((VAR1C and (COUNT(VAR1C,30) = 1)),60,80,5,0),ColorFFCC66;
VAR2C:=(IF(((VAR3 >= 200) and (VAR2 >= 150)),15,IF(((VAR3 <= (0 - 200)) and (VAR2 <= (0 - 150))),(0 - 15),0)) + 30);
VAR2E:=(((VAR1A < 48) and (VAR2C < 30)) and (VAR8 < 100));
VAR2F:=(((VAR1A < 48) and (VAR2C > 30)) and (VAR8 < 100));
DRAWTEXT((VAR2E and (COUNT(VAR2E,30) = 1)),50,'短线反弹2'),linethick1,colorRed;
STICKLINE((VAR2E and (COUNT(VAR2E,30) = 1)),30,50,5,0),colorRed;
DRAWTEXT((VAR2F and (COUNT(VAR2F,30) = 1)),50,'短线高点2'),linethick1,ColorFFCC66;
STICKLINE((VAR2F and (COUNT(VAR2F,30) = 1)),30,50,5,0),ColorFFCC66;
VAR3D:=IF(((VAR3 <= 200) and (VAR2 <= 150)),(0 - 15),IF(((VAR3 >= (0 - 200)) and (VAR2 >= (0 - 150))),15,VAR5));
VAR3E:=((VAR3D > 0) and (VAR8 < 100));
VAR3F:=(((VAR1A < 48) and (VAR3D < 0)) and (VAR8 < 100));
DRAWTEXT(((((VAR7 < 90) and ((VAR2 + VAR3) <= 0)) and VAR3F) and (COUNT(VAR3F,30) = 1)),20,'短线反弹3'),linethick1,colorRed;
STICKLINE(((((VAR7 < 90) and ((VAR2 + VAR3) <= 0)) and VAR3F) and (COUNT(VAR3F,30) = 1)),20,0,5,0),colorRed;
DRAWTEXT((VAR3E and (COUNT(VAR3E,30) = 1)),20,'短线高点3'),linethick1,ColorFFCC66;
STICKLINE((VAR3E and (COUNT(VAR3E,30) = 1)),20,0,5,0),ColorFFCC66;
强势线:60,colorRed;
VAR9:=IF((VAR7 < 90),40,30);
分界线:30,colorWhite;
STICKLINE(FILTER((VAR1B = 45),5),(0 - 20),(0 - 10),5,0),colorWhite;
DRAWTEXT(FILTER((VAR1B = 45),5),0,'强支撑'),linethick1,colorWhite;
STICKLINE(FILTER((VAR1B = 75),5),75,60,5,0),colorWhite;
DRAWTEXT(FILTER((VAR1B = 75),5),75,'高压'),linethick1,colorWhite;
STICKLINE((PJX <= (0 - 19)),(0 - 25),(0 - 20),12,0),colorMagenta;
STICKLINE((PJX >= 70),85,80,12,0),colorGreen;
DRAWTEXT(FILTER((VAR5 < 0),5),30,'★'),linethick1,colorRed;
DRAWTEXT(FILTER((VAR5 > 0),5),30,'★'),linethick1,ColorFFCC66;
多空预警:0,ColorFFCC66;{www.fxjgsw.com}
PARTLINE((((VAR9 = 40) and (VAR2 >= 0)) and (VAR3 >= 0)),多空预警),linethick2,colorGreen;
PARTLINE((((VAR9 = 40) and (VAR2 <= 0)) and (VAR3 <= 0)),多空预警),linethick2,colorRed;
{资金趋势}
a:=vol*close;
b:=sum(a,1)/sum(vol,1);
b1:=emA(b,17);
资金:(b-b1)*100/b,colorred;
庄趋势: EMA(100*(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)),3);
XF:IF(庄趋势>=80,庄趋势,80),colorred,LINETHICK2;
XA:IF(庄趋势<=20,庄趋势,20),color00ff00,linethick2;
顶线: 80;
底线:20;
中线:50; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!