主图007 突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
基准:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));
重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
【操盘线】:=EMA(((SLOPE(C,22)*20)+C),55),coloryellow,LINETHICK2;
【黄金线】:=IF(重心>=【操盘线】,【操盘线】,DRAWNULL),colorlired,LINETHICK2;
【空仓线】:=IF(重心<【操盘线】,【操盘线】,DRAWNULL),colorcyan,LINETHICK2;
变:=EMA(CLOSE,5),LINETHICK1,coloryellow,LINETHICK2;
金:=IF(变>REF(变,1),变,DRAWNULL),colorlired,LINETHICK2;
空:=IF(变<REF(变,1),变,DRAWNULL),colorliblue,LINETHICK2;
DRAWGBK(变>=【操盘线】),RGB(139,0,139);
DRAWGBK(变<【操盘线】),RGB(85,107,47);
BB6:(ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)<REF(ZIG(3,35),2))
*90,NODRAW;
SS2: (ZIG(3,35)<REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)>REF(ZIG(3,35),2))
*90,NODRAW;
DRAWICON(BB6,L*1.004,11);
DRAWICON(SS2,H*1.002,12);
MB1:C,coloryellow,LINETHICK2,NODRAW;
MB2:EMA(MB1,10),colorred,LINETHICK2;
MB3:=(SMA(HIGH,10,1)*1);
MB4:SMA(MB3,3,1),colorred,LINETHICK1;
MB5:=SMA(MB4,5,1);
MB6:IF(CROSS(MB4,MB5) AND CROSS(MA(C,5),MA(C,10) AND MB4>50) ,MB5*2,MB5),coloryellow;
MB7:=EMA(CLOSE,8);
MB8:=EMA(CLOSE,20);
STICKLINE(MB4<MB5,MB4,MB5,0,0),COLORFFBB00;
STICKLINE(MB4>MB5,MB4,MB5,0,0),colorred;
MB9:=LLV(MB1,20),COLORFFBB00;
MB10:=REF(MB9,3),COLORFFBB00,DOTLINE;
趋势:EMA(CLOSE,245),colorwhite,LINETHICK2;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
A:=IF(CROSS(0,DEA),1,0);
A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);
SS:=IF(A,SUM(A1,0),0);
SSB:=HHV(SS,0);
SSS:=SUM(A1,0);
BB1:=(SSS-SSB=2 AND SSS>REF(SSS,1)),NODRAW;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
BB2:VARO7<10,NODRAW;
MA2:=EMA(C,2);MA5:=EMA(C,5);MA13:=EMA(C,13);MA30:=EMA(C,30);
MA55:=EMA(C,55);YCX:=MA5>=REF(MA5,1);
H1:=MAX(MAX(MA5,MA13),MA30);
L1:=MIN(MIN(MA5,MA13),MA30);
BB3:=H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1),NODRAW;
VAR2:=0.0001*AMOUNT;
MA1:=0.0001*MA(AMOUNT,5);
MA20:=0.0001*MA(AMOUNT,10);
BB100:=LLV(VAR2,100)=VAR2,NODRAW;
AA05:=MA(C,5);
五日乖离率:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3);
AA10:=MA(C,10);AA20:=MA(C,20);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
AA30:=MA(C,30);
三拾日乖离率:=(C-AA30)/AA30*100;
(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1),NODRAW;
(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1),NODRAW;
BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
BB9:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10),NODRAW;
BB11:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)
AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10),NODRAW;
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
BB4:FILTER(MR,10),NODRAW;
BB5:=BB4*5+BB3*5+BB2+BB1+BB9+BB11,NODRAW;
DRAWICON(BB5>10,L*0.998,9);
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
短期趋势:3*Q3-2*Q4,NODRAW;
中期趋势:EMA(Q3, 3),NODRAW;
DRAWICON(REF(CROSS(短期趋势,中期趋势),1) AND 短期趋势>1.3*中期趋势,L*1.02,38);
VAR3:=PEAKBARS(3,5,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
SS1:=顶>REF(顶,1),NODRAW;
DRAWICON(SS1,H*1.002,2);
Y1:=BARSLAST(CROSS(MA(C,5),MA(C,20))) AND MA(C,5)>MA(C,20);
Y2:=Y1 AND BARSLAST(CROSS(MA(C,5),MA(C,90)));
Y3:=Y2 AND CROSS(MA(C,20),MA(C,90));
DRAWICON(Y3,L*0.998,25);
F0:=BARSLAST(CROSS(MA(C,5),MA(C,90)));
F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90)));
F2:=F1 AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,90);
DRAWICON(F2,L*0.998,26);
VAR15:=ZIG(3,N1)<REF(ZIG(3,N1),1) AND REF(ZIG(3,N1),1)>REF(ZIG(3,N1),2);
VAR16:=ZIG(3,N1)>REF(ZIG(3,N1),1) AND REF(ZIG(3,N1),1)<REF(ZIG(3,N1),2);
DRAWICON(VAR15,H*1.001,4);
DRAWICON(VAR16,L*0.999,5);
YC2:=REF(CLOSE,2);
YC:=REF(CLOSE,1),LINETHICK0;
TJ:=YC>=YC2;
YH:=MAX(YC2,YC),LINETHICK0;
YL:=MIN(YC2,YC),LINETHICK0;
TH:=MAX(YC,CLOSE),LINETHICK0;
TL:=MIN(YC,CLOSE),LINETHICK0;
RH:=TH,LINETHICK0;
RL1:=IF(TJ=0,YH,MAX(TL,YL)),LINETHICK0;
RL:=IF(RL1>RH,RH,RL1),LINETHICK0;
GL:=TL,LINETHICK0;
GH1:=IF(TJ=0,MIN(YH,TH),YL),LINETHICK0;
GH:=IF(GH1<GL,GL,GH1),LINETHICK0;
BASE1:=IF(C<REF(C,1) AND REF(C,1)<REF(C,2) AND L<REF(L,1) AND L>REF(L,2),REF(C,2),IF(C>REF(C,1),C,REF(C,1)));
TOWER:=BASE1,LINETHICK0;
STICKLINE(GH>GL,GH,GL,9,0),colorgreen;
STICKLINE(RH>RL,RH,RL,9,0),colorred;
STICKLINE(RH=RL AND GH=GL,RH,RL,9,0),colorred;
MB2:EMA(C,10),colorred,LINETHICK2;
PAR2:=ROUND((TOWER/8)+0.5);
PAR1:=PAR2*0.03;
T4:=REF(TOWER,4),LINETHICK0;
T3:=REF(TOWER,3),LINETHICK0;
T2:=REF(TOWER,2),LINETHICK0;
T1:=REF(TOWER,1),LINETHICK0;
A:=RH-RL,LINETHICK0;
B:=GH-GL,LINETHICK0;
P1:=IF(A>2*B,1,0);
P2:=IF(B>2*A,1,0);
BUY1:=ABS(T1-T3)<=PAR1 AND ABS(T2-T3)<=PAR1 AND P1=1;
SALE:=ABS(T1-T3)<=PAR1 AND ABS(T2-T3)<=PAR1 AND P2=1;
SALE1:=SALE AND VOL<REF(VOL,1)*0.7 AND CLOSE>REF(CLOSE,1)*0.965;
DRAWICON(REF(SALE1,1) AND P1=1,HIGH*1.01,9);
Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
Var6:=CROSS(Var3,Var4) AND Var3<20,NODRAW;
DRAWICON(FILTER(Var6,10)=1,L,23);
Var7:=CROSS(Var4,Var3) AND Var3>80,NODRAW;
DRAWICON(FILTER(Var7,5)=1,H,27);
Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4,NODRAW;
DRAWICON(Var8,H*1.002,6);
AA:=CLOSE > REF(CLOSE, 1) AND REF(CLOSE, 1) > REF(CLOSE, 2) AND REF(CLOSE, 1) < REF(CLOSE, 3) AND IF(REF(CLOSE, 3) < REF(CLOSE, 4),1,IF(REF(CLOSE, 4)
< REF(CLOSE, 5),REF(CLOSE, 1) < REF(CLOSE, 4) OR( REF(CLOSE, 2) < REF(CLOSE, 4) AND REF(CLOSE, 3) >= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) < REF(CLOSE, 6),
1, REF(CLOSE, 6) < REF(CLOSE, 7)))) ;
XG:AA AND C>REF(O,2),NODRAW;
DRAWICON(XG,L,1);
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!