聚点和DDX LC:=REF(CLOSE,1);
RSV:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
K:=SMA(RSV,5,1);
D:=SMA(K,5,1);
LC2:=REF(CLOSE,2);
A:=SMA(MAX(LC-LC2,0),6,1);
B:=SMA(ABS(LC-LC2),6,1);
左侧归位:LC+5*B-100*5*A/19.9,NODRAW;
合值:RSI+K+D,NODRAW;
S:=RSI+K+D;
FSMA3:=EMA(CLOSE,3);
FSMA30:=EMA(CLOSE,30);
VO1:=MA(VOL,1);
VO3:=MA(VOL,3);
VO5:=MA(VOL,5);
VO10:=MA(VOL,10);
VO0110:=VO1/VO10;
VO0105:=VO1/VO5;
VO0103:=VO1/VO3;
VL0:=REF(VOL,0);
VL1:=REF(VOL,1);
VL:=VL0/VL1;
JG0:=CLOSE;
JG1:=REF(CLOSE,1);
JG:=(ABS(JG0-JG1))/JG0*100;
FSH1:=HIGH;
FS1:=FSH1/FSMA3;
QMA3:=REF((EMA(CLOSE,3)),1);
GTMA3:=FSMA3/QMA3;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
资金流入:=(V9+V8);
资金流出:=-(V6+V7);
资金流向:=资金流入+资金流出;
两日均量:=SUM(资金流向,2)/2;
三日均量:=SUM(资金流向,3)/3;
资金趋势:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VARQ8:=LLV(LOW,34);
VARQ11:=HHV(HIGH,34);
BQ1:=EMA(((VAR6-VARQ8)/(VARQ11-VARQ8))*(100),8);
机构持仓:=EMA(BQ1,13);
MA240:EMA(CLOSE,240),colorgreen;
MA120:EMA(CLOSE,120),colorred;
MA3:EMA(CLOSE,3),colorblue;
MA5:EMA(CLOSE,5),colorliblue;
MA8:EMA(CLOSE,8),colorliblue;
MA10:EMA(CLOSE,10),colorliblue;
MA12:EMA(CLOSE,12),colorliblue;
MA15:EMA(CLOSE,15),colorliblue;
MA30:EMA(CLOSE,30),colorgray;
MA35:EMA(CLOSE,35),colorgray;
MA40:EMA(CLOSE,40),colorgray;
MA45:EMA(CLOSE,45),colorgray;
MA50:EMA(CLOSE,50),colorgray;
MA60:EMA(CLOSE,60),colorgray;
拟合H03:=ABS((H-MA3)/MA3);
拟合HC:=ABS((H-C)/C);
拟合0315:=ABS((MA3-MA15)/MA15);
DRAWTEXT((FS1>1 AND CLOSE>OPEN AND S<105 AND VO0110>1 AND JG>0.3 AND 资金流向>0 AND 两日均量>0),L,'B'),colorwhite;
DRAWTEXT((FS1>1 AND CLOSE>OPEN AND S<105 AND VO0110>1 AND GTMA3>1 AND JG>0.3 AND 资金流向>0 AND 两日均量>0 AND 三日均量>0),L,'买'),colorwhite;
DRAWTEXT((CROSS(FSMA3,FSMA30) AND JG>2 AND VO0110>2 AND 资金流向>0),L,'★买★'),colorwhite;
DRAWTEXT((VO0110>1 AND VO0105>1 AND VO0103>1 AND RSI<40 AND CLOSE>OPEN AND 资金流向>0),L,'阳底'),colorwhite;
DRAWTEXT((VO0110>1 AND VO0105>1 AND VO0103>1 AND RSI<40 AND OPEN>=CLOSE AND 资金流向>0),L,'阴底'),colorwhite;
DRAWTEXT((VO0110>1.2 AND VO0105>1.2 AND VO0103>1.2 AND RSI>60 AND CLOSE>OPEN AND ((资金流向<=0 AND (资金趋势+机构持仓)>120) OR (资金流向>0 AND CLOSE<HIGH AND VO0110>1.2 AND (资金趋势+机构持仓)>99)) AND L>MA15 AND 拟合HC>0.03 AND 拟合H03>0.05),H,'阳顶'),coloryellow;
DRAWTEXT((VO0110>1 AND VO0105>1 AND VO0103>1 AND VL>1 AND RSI>60 AND OPEN>=CLOSE AND 资金流向<0 AND (资金趋势+机构持仓)>100 AND 拟合HC>0.03 AND 拟合H03>0.05),H,'阴顶'),coloryellow;
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWTEXT(CROSS(82,VARR1) AND (REF(资金流向,1)+2*资金流向)<0,H,'跑'),coloryellow;
DRAWTEXT(MA3>L AND MA5>L AND MA8>L AND MA10>L AND MA12>L AND MA15>L AND MA3<H AND MA5<H AND MA8<H AND MA10<H AND MA12<H AND MA15<H AND MA3>=MA30 AND MA30>=MA60 AND 资金趋势<70 AND 资金趋势>50 AND 拟合0315<0.07,L,'聚点'),colorred;
DRAWTEXT(MA30>L AND MA35>L AND MA40>L AND MA45>L AND MA50>L AND MA60>L AND MA3<H AND MA5<H AND MA8<H AND MA10<H AND MA12<H AND MA15<H AND MA3>=MA30 AND MA30>=MA60 AND 资金趋势<70 AND 资金趋势>50 AND 拟合0315<0.07,L,'大聚点'),colorred;
EXP1:=EMA(CLOSE, 12), coloryellow, LINETHICK1;
EXP2:=EMA(CLOSE, 47), colorlimagenta, LINETHICK1;
STICKLINE(C>EXP1 AND C>EXP2, H, L, 0, 0), colorred;
STICKLINE(C>EXP1 AND C>EXP2 AND C>=O, O, C, 10, 1), colorred;
STICKLINE(C>EXP1 AND C>EXP2 AND C<O, O, C, 10, 0), colorred;
STICKLINE(C<EXP1 AND C>EXP2, H, L, 0, 0), coloryellow;
STICKLINE(C<EXP1 AND C>EXP2 AND C>=O, O, C, 10, 1), coloryellow;
STICKLINE(C<EXP1 AND C>EXP2 AND C<O, O, C, 10, 0),coloryellow;
STICKLINE(C>EXP1 AND C<EXP2, H, L, 0, 0),COLORFF8000;
STICKLINE(C>EXP1 AND C<EXP2 AND C>=O, O, C, 10, 1), COLORFF8000;
STICKLINE(C>EXP1 AND C<EXP2 AND C<O, O, C, 10, 0),COLORFF8000;
STICKLINE(C<EXP1 AND C<EXP2, H, L, 0, 0), colorgreen;
STICKLINE(C<EXP1 AND C<EXP2 AND C>=O, O, C, 10, 1), colorgreen;
STICKLINE(C<EXP1 AND C<EXP2 AND C<O, O, C, 10, 0), colorgreen;
CC2:=MA3>L AND MA5>L AND MA8>L AND MA10>L AND MA12>L AND MA15>L AND MA3<H AND MA5<H AND MA8<H AND MA10<H AND MA12<H AND MA15<H AND MA3>=MA30 AND MA30>=MA60 AND 资金趋势<70 AND 资金趋势>50 AND 拟合0315<0.07;
CC3:=MA30>L AND MA35>L AND MA40>L AND MA45>L AND MA50>L AND MA60>L AND MA3<H AND MA5<H AND MA8<H AND MA10<H AND MA12<H AND MA15<H AND MA3>=MA30 AND MA30>=MA60 AND 资金趋势<70 AND 资金趋势>50 AND 拟合0315<0.07;
N:=20;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000);
DDXSUM:=SUM(DDX,5);
DRAWICON(CROSS(DDXSUM,0),L,1);
DRAWICON(CROSS(0,DDXSUM),H,2);
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!