AAA:=(MA(CLOSE,13)+MA(CLOSE,17))/2; CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC>1.88,MA(DDD,3),DDD);
平仓:ZZZ*1.145,LINETHICK1,colorFFFF00;
风险:ZZZ*1.095,LINETHICK1,colorFF00;
回档:ZZZ*1.04,LINETHICK1,colorFFFF;
平衡:ZZZ*0.986,LINETHICK1,colorFFFFFF;
反弹:ZZZ*0.918,LINETHICK1,colorFF00FF;
超低:ZZZ*0.88,LINETHICK1,colorFF;
满仓:ZZZ*0.83,LINETHICK2,colorFF0000;
YB:=SYSPARAM(2);
A:=SYSPARAM(3);
P:=A-YB;
S4:=SYSPARAM(4);
S5:=SYSPARAM(5);
HH:=HHVBARS(HIGH,P+1);
LL:=LLVBARS(LOW,P+1);
Z:=BARPOS=A-HH[A];
Y:=BARPOS=A-LL[A];
K:=(S4-S5)/(A-YB);
DRAWSL(Z,HIGH,-15*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(Z,HIGH,-30*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(Z,HIGH,-45*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(Z,HIGH,-60*K/60,0,0),colorFFFF00;
DRAWSL(Z,HIGH,-85*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(Z,HIGH,-120*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(Z,HIGH,-165*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(Z,HIGH,-240*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(Z,HIGH,-360*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(Z,HIGH,-600*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(Y,LOW,10*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,30*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,60*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,90*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,120*K/60,0,0),colorFF00FF;
DRAWSL(Y,LOW,180*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,300*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,540*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,1020*K/60,0,0),POINTDOT,colorFF00FF;
A1AA:=9;
A2AA:=REF(CLOSE,A1AA+1)<CLOSE;
DRAWTEXT(FILTER(A2AA>-0.5,84),HIGH*1.05,'←---小心变盘'),colorFF00;
VAR6:=REF(CLOSE,1);
VAR7:=(SMA(MAX(CLOSE-VAR6,0),6,1))/(SMA(ABS(CLOSE-VAR6),6,1))*100;
DRAWTEXT(CROSS(82,VAR7),HIGH*1.02,'←---逃顶'),colorFFFF;
VAR3AA:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR4AA:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND VAR3AA>0,91,0);
DRAWTEXT(FILTER(VAR4AA>90,45),LOW*0.93,'←---大胆搏 '),colorFFFFFF;
V1:=MA(HIGH,30)*1.15;
V2:=MA(HIGH,3)*1.03;
V3:=MA(LOW,3)*0.97;
V4:=MA(LOW,30)*0.85;
L5:=ZIG(3,5);
EN1:=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);
EX1:=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);
PL10:=ZIG(3,10);
EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);
EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);
PL20:=ZIG(3,20);
EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);
EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);
PL40:=ZIG(3,40);
走强2:=BARSLAST(PL10<REF(PL10,1));
走弱2:=BARSLAST(PL10>REF(PL10,1));
走强3:=BARSLAST(PL20<REF(PL20,1));
走弱3:=BARSLAST(PL20>REF(PL20,1));
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);
DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);
ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);
DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);
DRAWTEXT(EN1 AND DTJZ5=1,LOW*0.96,'㈠'),color1;
DRAWTEXT(EX1 AND DTJD5=2,HIGH*1.04,'㈡'),color1;
DRAWTEXT(EN2 AND ZTJZ5=1,LOW*0.96,'㈢'),color1;
DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,HIGH*1,'⑴'),colorFFFF;
DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,LOW*0.98,'⑵'),colorFFFF;
DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,HIGH*1,'⑶'),colorFFFF;
DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,LOW*0.98,'⑷'),colorFFFF;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,HIGH*1,'⑸'),colorFFFF;
DRAWTEXT(EN2 AND DTJZ10=1,LOW*0.9,'Ⅰ'),colorFF;
DRAWTEXT(EX2 AND DTJD10=2,HIGH*1.08,'Ⅱ'),colorFF;
DRAWTEXT(EN3 AND ZTJZ10=1,LOW*0.9,'Ⅲ'),colorFF;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,HIGH*1.02,'①'),colorFF00;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,LOW*0.92,'②'),colorFF00;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,HIGH*1.02,'③'),colorFF00;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,LOW*0.92,'④'),colorFF00;
E:=(HIGH+LOW+OPEN+2*CLOSE)/5;
ZL:=2*E-LOW;
ZC:=2*E-HIGH;
FZ:=E-(HIGH-LOW);
MA5:MA(CLOSE,5),LINETHICK0,colorF4E202;
MA6:=MA(CLOSE,6);
MA18:=MA(CLOSE,18);
MA13:MA(CLOSE,13),LINETHICK0,colorFF;
BALANCE:=EMA(CLOSE,30);
UP:=BALANCE+2*STD(CLOSE,30);
DOWN:=BALANCE-2*STD(CLOSE,30);
VAR9Q:=CLOSE=HHV(CLOSE,4) AND (REF(CLOSE,1)>=REF(CLOSE,2) OR REF(CLOSE,1)>=REF(CLOSE,3)) OR REF(CLOSE,1)=HHV(CLOSE,4) AND CLOSE>=REF(CLOSE,2) OR REF(CLOSE,2)=HHV(CLOSE,4) AND REF(CLOSE,3)=LLV(CLOSE,4) AND CLOSE>=REF(CLOSE,1) OR REF(CLOSE,3)=HHV(CLOSE,4) AND CLOSE>=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARAQ:=CLOSE=HHV(CLOSE,4) AND REF(CLOSE,1)=LLV(CLOSE,4);
VARBQ:=CLOSE=LLV(CLOSE,4) AND (REF(CLOSE,1)<REF(CLOSE,2) OR REF(CLOSE,1)<REF(CLOSE,3)) OR REF(CLOSE,1)=LLV(CLOSE,4) AND CLOSE<REF(CLOSE,2) OR REF(CLOSE,2)=LLV(CLOSE,4) AND REF(CLOSE,1)<>HHV(CLOSE,4) AND CLOSE<REF(CLOSE,1) OR REF(CLOSE,3)=LLV(CLOSE,4) AND CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARCQ:=REF(CLOSE,1)=LLV(CLOSE,4) AND CLOSE>=REF(CLOSE,2) OR REF(CLOSE,2)=LLV(CLOSE,4) AND REF(CLOSE,1)<=REF(CLOSE,3) AND REF(CLOSE,2)<REF(CLOSE,4) AND CLOSE>=REF(CLOSE,1);
VARDQ:=REF(CLOSE,1)=HHV(CLOSE,4) AND CLOSE<REF(CLOSE,2) OR (REF(CLOSE,2)=HHV(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,3) OR REF(CLOSE,3)=HHV(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,2)) AND REF(CLOSE,2)>=REF(CLOSE,4) AND CLOSE<REF(CLOSE,1);
Y1:=REF(EMA(DMA((HIGH+LOW+CLOSE*2)/4.15,0.9),3),1);
VAR1W:=100-90*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
VAR2W:=100-90*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
VAR3W:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),34);
VAR3P:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND IF(CLOSE>REF(CLOSE,1),88,0)>0,91,0);
SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);
SC:=LOW<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND HIGH>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN;
MR:=SC AND COUNT(SS,2);
买:=MR AND NOT(REF(MR,1));
多方:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW, |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!