DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,'448',0); DRAWBAND(MA(CLOSE,60),RGB(200,80,80),MA(CLOSE,120),RGB(0,0,115));
{WWW.fxjgsw.com}
MA15:EMA(CLOSE,15),COLORBLUE,LINETHICK3;
MA40:EMA(CLOSE,40),COLORLIBLUE,LINETHICK3;
MA25:EMA(CLOSE,25),,COLORYELLOW,LINETHICK3;
MA3:EMA(CLOSE,3)COLORWHITE,LINETHICK3;
MA60:EMA(CLOSE,60),COLORFF99FF,LINETHICK3;
MA70:EMA(CLOSE,70),COLORLIGRAY,CIRCLEDOT;
MA120:MA(CLOSE,120),COLOR0000FF,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
BDGD:=C=HHV(C,13);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;
高点:REF(C,GDSJ),COLORFF00FF,POINTDOT;
突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,NODRAW;
STICKLINE(GDSJ<=6,高点,高点,3,0),COLORFF00FF;
DRAWTEXT(突破,LOW,'↑'),COLOR00FFFF;
BDDD:=C=LLV(C,13);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;
低点:REF(C,DDSJ),COLOR00FF00,POINTDOT;
STICKLINE(DDSJ<=6,低点,低点,3,0),COLOR00FF00;
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
回调买:=(AV + NEWVOL);
DRAWTEXT(CROSS(回调买,0),L*0.95,'←回调买'),COLORYELLOW;
DRAWICON(CROSS(回调买,-5),L*0.98,1);
AAAA:=ZIG(1,6);IF(AAAA<REF(AAAA,1),AAAA,DRAWNULL)COLORBLUE,LINETHICK5;
DRAWTEXT_FIX(1,0.45,8,0,EXTERNSTR(0,1))COLOR0000FF,LINETHICK3;
TH:=HHVBARS(H,0),COLORRED,NODRAW;
TL:=LLVBARS(L,0),COLORGREEN,NODRAW;
高:HHV(H,TH),COLORRED,NODRAW;
低:LLV(L,TL),COLORGREEN,NODRAW;
H1:=高-(高-低)*0.191,LINETHICK3;
H2:=高-(高-低)*0.382,LINETHICK4;
H3:=高-(高-低)*0.5,LINETHICK3;
H4:=高-(高-低)*0.618,LINETHICK3;
H5:=高-(高-低)*0.809,LINETHICK3;
顶:REFDATE(高,DATE),COLORCYAN,POINTDOT,LINETHICK5;
%19.1:REFDATE(H1,DATE),COLORYELLOW,POINTDOT,LINETHICK3;
%38.2:REFDATE(H2,DATE),COLORMAGENTA,POINTDOT,LINETHICK4;
%50:REFDATE(H3,DATE),COLORWHITE,POINTDOT,LINETHICK3;
%61.8:REFDATE(H4,DATE),COLORMAGENTA,POINTDOT,LINETHICK3;
%80.9:REFDATE(H5,DATE),COLORYELLOW,POINTDOT,LINETHICK3;
底:REFDATE(低,DATE),COLORCYAN,POINTDOT,LINETHICK3;
DRAWTEXT(ISLASTBAR,顶,'顶'),COLORCYAN;
DRAWTEXT(ISLASTBAR,%19.1,'%19.1'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%38.2,'%38.2'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%50,'%50'),COLORWHITE;
DRAWTEXT(ISLASTBAR,%61.8,'%61.8'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%80.9,'%80.9'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,底,'底'),COLORCYAN;
{WWW.fxjgsw.com}
VAR21:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR22:=8;
QQ:=CROSS(VAR21,VAR22);
DRAWTEXT(QQ,L*0.98,'买进!'),COLOR0099FF;
VAR01:=MA(CLOSE,30);
水平面: MA(CLOSE,60), CIRCLEDOT,LINETHICK2;
DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.99,'←买') , COLORYELLOW,LINETHICK1;
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.008,'←卖') , COLORGREEN,LINETHICK1;
月K:="KDJ.K#MONTH";
月D:="KDJ.D#MONTH";
周K:="KDJ.K#WEEK";
周D:="KDJ.D#WEEK";
日K:="KD.K";
日D:="KD.D";
日金叉:=IF(CROSS(日K,日D),15,0);
周金叉:=IF(CROSS(周K,周D),25,0);
月金叉:=IF(CROSS(月K,月D),35,0);
日周月:=IF(日金叉=15 AND 周金叉=25 AND 月金叉=35,1,0);
日周月赚:=日周月=1;
日周:=IF(日金叉=15 AND 周金叉=25,2,0);
日周赚:=日周=2;
周月:=IF(周金叉=25 AND 月金叉=35,3,0);
日月:=IF(日金叉=15 AND 月金叉=35,4,0);
日月赚:=日月=4;
周月赚:=周月=3;
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
AAA:=(DIF-DEA)*2*60;
启动:=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2;
DRAWTEXT(启动,L*0.99,'↖金牛启动'),COLORYELLOW,LINETHICK2;
DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.20,0,0,DYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.30,0.00,0,'主题投资1:')COLORWHITE;
DRAWTEXT_FIX(1,0.36,0.00,0,EXTERNSTR(0,2))COLORWHITE;
DRAWTEXT_FIX(1,0.00,0.05,0,'主营业务:')COLORWHITE;
DRAWTEXT_FIX(1,0.06,0.05,0,EXTERNSTR(0,3))COLORWHITE;
DRAWTEXT_FIX(1,0.45,8,0,EXTERNSTR(0,1))COLOR0000FF,LINETHICK3; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!