{公式名称: 画龙点睛波策 画线方法: 主图叠加}
VAR1:=EMA(CLOSE,1);
VAR2:=EMA(SLOPE(CLOSE,30)*10+CLOSE,45);
STICKLINE(VAR1>=VAR2,REFDATE(HHV(HIGH,0),DATE),REFDATE(LLV(LOW,0),DATE),6,0),COLOR000046;
STICKLINE(VAR1<VAR2,REFDATE(HHV(HIGH,0),DATE),REFDATE(LLV(LOW,0),DATE),6,0),COLOR404048;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,3,0),COLOR000045;
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2,0),COLOR000085;
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,1,0),COLOR0000C5;
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,0.3,0),COLOR0000E5;
STICKLINE(VAR1>=VAR2,LOW,HIGH,0,0),COLORRED;
STICKLINE(VAR1<VAR2,LOW,HIGH,0,0),COLORCYAN;
STICKLINE(VAR1<VAR2,CLOSE,OPEN,3.1,0),COLORBLACK;
STICKLINE(VAR1<VAR2,CLOSE,OPEN,2.1,0),COLOR6A6A00;
STICKLINE(VAR1<VAR2,CLOSE,OPEN,1.5,0),COLORDDDD00;
STICKLINE(VAR1<VAR2,CLOSE,OPEN,0.3,0),COLORCYAN;
VAR3:=CLOSE/REF(CLOSE,1)>1.05;
STICKLINE(VAR3,LOW,HIGH,0,0),COLOR0088EE;
STICKLINE(VAR3,CLOSE,OPEN,3,0),COLORBLACK;
STICKLINE(VAR3,CLOSE,OPEN,2.2,0),COLOR0088DD;
STICKLINE(VAR3,CLOSE,OPEN,1.2,0),COLOR00AAFF;
STICKLINE(VAR3,CLOSE,OPEN,0.3,0),COLORYELLOW;
VAR4:=EMA(CLOSE,6);
VAR5:=EXPMA(CLOSE,5);
VAR6:=EMA(VAR4,11);
VAR7:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR8:=(20*VAR7+19*REF(VAR7,1)+18*REF(VAR7,2)+17*REF(VAR7,3)+16*REF(VAR7,4)+15*REF(VAR7,5)+14*REF(VAR7,6)+13*REF(VAR7,7)+12*REF(VAR7,8)+11*REF(VAR7,9)+10*REF(VAR7,10)+9*REF(VAR7,11)+8*REF(VAR7,12)+7*REF(VAR7,13)+6*REF(VAR7,14)+5*REF(VAR7,15)+4*REF(VAR7,16)+3*REF(VAR7,17)+2*REF(VAR7,18)+REF(VAR7,20))/210;
VAR9:=MA(VAR8,5);{分析家公式网www.fxjgsw.com}
VAR10:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR11:=IF(EMA(CLOSE,3)>VAR6,VAR6,DRAWNULL);
VAR12:=ATAN((VAR10/REF(VAR10,1)-1)*100)*180/3.1416;
VAR13:=EMA(VAR10,30);
VAR14:=EMA(VAR10,60);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DMI.PDI>DMI.MDI AND UPNDAY(DMI.ADXR,1) AND DMI.ADX>DMI.ADXR,0.46,0.26,0,1),COLORLIRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DMI.PDI<DMI.MDI AND UPNDAY(DMI.ADXR,1) AND DMI.ADX>DMI.ADXR,0.46,0.26,0,2),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DMI.PDI>DMI.MDI,0.46,0.21,0,3),COLORLIRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DMI.PDI<DMI.MDI,0.46,0.21,0,4),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS(KDJ.J,KDJ.K),0.46,0.31,0,5),COLORLIRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS(KDJ.K,KDJ.J),0.46,0.31,0,6),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND KDJ.J>KDJ.K,0.46,0.36,0,7),COLORLIRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND KDJ.J<KDJ.K,0.46,0.36,0,8),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND MACD.DIF>MACD.DEA AND MACD.MACD>0,0.46,0.41,0,9),COLORLIRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND MACD.DIF<MACD.DEA AND MACD.MACD<0,0.46,0.41,0,10),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND MACD.DIF>MACD.DEA,0.46,0.46,0,11),COLORLIRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND MACD.DIF<MACD.DEA,0.46,0.46,0,12),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS(MACD.DIF,MACD.DEA),0.46,0.51,0,13),COLORLIRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS(MACD.DEA,MACD.DIF),0.46,0.51,0,14),COLORGREEN;
VAR15:=CURRBARSCOUNT=1 AND UPNDAY(VAR14,1) AND UPNDAY(VAR13,1) AND UPNDAY(VAR6,1) AND UPNDAY(VAR10,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND VAR15,0.46,0.15,0,15),COLORMAGENTA;
VAR16:=CURRBARSCOUNT=1 AND UPNDAY(VAR14,1) AND UPNDAY(VAR13,1) AND DOWNNDAY(VAR6,1) AND UPNDAY(VAR10,1);
VAR17:=CURRBARSCOUNT=1 AND UPNDAY(VAR14,1) AND DOWNNDAY(VAR13,1) AND DOWNNDAY(VAR6,1) AND UPNDAY(VAR10,1);
VAR18:=CURRBARSCOUNT=1 AND UPNDAY(VAR14,1) AND DOWNNDAY(VAR13,1) AND UPNDAY(VAR6,1) AND UPNDAY(VAR10,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (VAR16 OR VAR17 OR VAR18),0.46,0.15,0,16),COLORLIRED;
VAR19:=CURRBARSCOUNT=1 AND UPNDAY(VAR14,1) AND UPNDAY(VAR13,1) AND UPNDAY(VAR6,1) AND DOWNNDAY(VAR10,1);
VAR20:=CURRBARSCOUNT=1 AND UPNDAY(VAR14,1) AND DOWNNDAY(VAR13,1) AND UPNDAY(VAR6,1) AND DOWNNDAY(VAR10,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (VAR19 OR VAR20),0.46,0.15,0,17),COLORYELLOW;
VAR21:=CURRBARSCOUNT=1 AND UPNDAY(VAR14,1) AND UPNDAY(VAR13,1) AND DOWNNDAY(VAR6,1) AND DOWNNDAY(VAR10,1);
VAR22:=CURRBARSCOUNT=1 AND UPNDAY(VAR14,1) AND DOWNNDAY(VAR13,1) AND DOWNNDAY(VAR6,1) AND DOWNNDAY(VAR10,1);
VAR23:=CURRBARSCOUNT=1 AND DOWNNDAY(VAR14,1) AND DOWNNDAY(VAR13,1) AND DOWNNDAY(VAR6,1) AND DOWNNDAY(VAR10,1);
VAR24:=CURRBARSCOUNT=1 AND DOWNNDAY(VAR14,1) AND UPNDAY(VAR13,1) AND DOWNNDAY(VAR6,1) AND DOWNNDAY(VAR10,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (VAR23 OR VAR24 OR VAR21 OR VAR22),0.46,0.15,0,18),COLORYELLOW;
VAR25:=CURRBARSCOUNT=1 AND DOWNNDAY(VAR14,1) AND UPNDAY(VAR13,1) AND UPNDAY(VAR6,1) AND DOWNNDAY(VAR10,1);
VAR26:=CURRBARSCOUNT=1 AND DOWNNDAY(VAR14,1) AND UPNDAY(VAR13,1) AND DOWNNDAY(VAR6,1) AND UPNDAY(VAR10,1);
VAR27:=CURRBARSCOUNT=1 AND DOWNNDAY(VAR14,1) AND DOWNNDAY(VAR13,1) AND UPNDAY(VAR6,1) AND DOWNNDAY(VAR10,1);
VAR28:=CURRBARSCOUNT=1 AND DOWNNDAY(VAR14,1) AND DOWNNDAY(VAR13,1) AND DOWNNDAY(VAR6,1) AND UPNDAY(VAR10,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (VAR25 OR VAR26 OR VAR27 OR VAR28),0.46,0.15,0,19),COLORYELLOW;
VAR29:=CURRBARSCOUNT=1 AND DOWNNDAY(VAR14,1) AND DOWNNDAY(VAR13,1) AND UPNDAY(VAR6,1) AND UPNDAY(VAR10,1);
VAR30:=CURRBARSCOUNT=1 AND DOWNNDAY(VAR14,1) AND UPNDAY(VAR13,1) AND UPNDAY(VAR6,1) AND UPNDAY(VAR10,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (VAR29 OR VAR30),0.46,0.15,0,20),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (VAR29 OR VAR30),0.46,0.15,0,20),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.36,0.09,0,21),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND MACD.MACD>0 AND (CROSS(MACD.DIF,MACD.DEA) OR CROSS(VAR10,VAR6)) AND UPNDAY(VAR6,1),0.55,0.09,0,22),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND MACD.MACD<0 AND (CROSS(MACD.DEA,MACD.DIF) OR CROSS(VAR6,VAR10)) AND DOWNNDAY(VAR6,1),0.55,0.09,0,23),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DOWNNDAY(VAR6,1) AND DOWNNDAY(VAR10,1),0.55,0.09,0,24),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DOWNNDAY(VAR6,1) AND UPNDAY(VAR10,1),0.55,0.09,0,25),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND UPNDAY(VAR6,1) AND UPNDAY(VAR10,1),0.55,0.09,0,26),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND UPNDAY(VAR6,1) AND DOWNNDAY(VAR10,1),0.55,0.09,0,27),COLORWHITE;
VAR31:=(3*CLOSE+HIGH+LOW+OPEN)/6;
VAR32:=(8*VAR31+7*REF(VAR31,1)+6*REF(VAR31,2)+5*REF(VAR31,3)+4*REF(VAR31,4)+3*REF(VAR31,5)+2*REF(VAR31,6)+REF(VAR31,8))/36;
VAR33:=(LLV(VAR32,2)+LLV(VAR32,4)+LLV(VAR32,6))/3;
VAR34:=REF(VAR32,1)=REF(VAR33,1) AND VAR32>VAR33 AND CLOSE>VAR32;
VAR35:=VAR32>VAR33 AND VAR32>REF(VAR32,1) AND VAR33>REF(VAR33,1) AND HIGH/VAR32<1.1 AND LOW>VAR33 AND CLOSE>VAR32;
VAR36:=VAR32>VAR33 AND VAR32>REF(VAR32,1) AND VAR33>=REF(VAR33,1) AND HIGH/VAR32>1.1;
VAR37:=VAR32>VAR33 AND VAR32>REF(VAR32,1) AND VAR33>REF(VAR33,1) AND CLOSE>VAR33 AND CLOSE<VAR32;
VAR38:=VAR32>VAR33 AND VAR33>REF(VAR33,1) AND VAR32!=REF(VAR32,1) AND CLOSE<VAR33 OR (VAR32>VAR33 AND VAR32<REF(VAR32,1) AND VAR33<REF(VAR33,1) AND CLOSE<VAR33);
VAR39:=REF(VAR32,1)>REF(VAR33,1) AND VAR32=VAR33 AND CLOSE<VAR33;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!