股舞风云瀑布线(通达信公式 主图指标公式 公式、源码 测试图)[通达信公式]
相关标签:
某群的招会员的公式
{股舞风云瀑布线}cxh100:=1;cxh1:=(2*CLOSE+HIGH+LOW+OPEN)*cxh100/5;A1: (EMA(cxh1,3)*cxh100+EMA(cxh1,6)*cxh100+EMA(cxh1,12)*cxh100+EMA(cxh1,24))/4*cxh100;A2: EMA(A1,2),COLORLIGRAY;A3: EMA(A2,2)*cxh100;A4: EMA(A3,2)*cxh100;A5: EMA(A4,2)*cxh100;A6: EMA(A5,2)*cxh100;A7: EMA(A6,2)*cxh100;长趋线:EMA(CLOSE,55)*cxh100, CIRCLEDOT;cxh11:=MA(CLOSE,1)*cxh100;cxh22:=MA(CLOSE,3)*cxh100;cxh33:MA(cxh22,1)*cxh100;cxh44:MA(cxh22,3)*cxh100;STICKLINE(cxh33>cxh44*cxh100,cxh33*cxh100,cxh44*cxh100,1,0),COLORFF00FF;STICKLINE(cxh33<cxh44*cxh100,cxh33*cxh100,cxh44*cxh100,1,0),COLORFFCC00;A:=IF(CLOSE>=OPEN,(CLOSE-OPEN)/4,0)*cxh100;{阳线上下影}STICKLINE(CLOSE>=OPEN,CLOSE,HIGH,0,0), COLORRED;STICKLINE(CLOSE>=OPEN,OPEN,LOW,0,0), COLORRED;{阴线上下影}STICKLINE(CLOSE<OPEN,OPEN,HIGH,0,0), COLOR00EC00;STICKLINE(CLOSE<OPEN,CLOSE,LOW,0,0), COLOR00EC00;{阳K线}STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2.8.2,0),COLOR0000B5;STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.9.2,0),COLOR0000C5;STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.8,0),COLOR0000D4;STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,0.4,0),COLOR0000EC;STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,0.2,0),COLOR0000FF;{阴K线}STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.8.2,0),COLOR009000;STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.9.2,0),COLOR00B400;STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.8,0),COLOR00C100;STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.4,0),COLOR00DB00;STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.2,0),COLOR00EC00;ZDZ:=CONST(HHV(MAX(H,长趋线),120));ZXZ:=CONST(LLV(MIN(L,长趋线),120));T1:=IF(FINDSTR(EXTERNSTR(0,13),'万元'),STRCAT('敢死队席位:',EXTERNSTR(0,13)),'');T2:=IF(FINDSTR(EXTERNSTR(0,12),'。'),STRCAT('智能诊断:',EXTERNSTR(0,12)),'');T3:=IF(FINDSTR(EXTERNSTR(0,8),'公告'),STRCAT('年报业绩:',EXTERNSTR(0,8)),'');T4:=IF(FINDSTR(EXTERNSTR(0,10),','),STRCAT('主题投资:',EXTERNSTR(0,10)),'');T5:=IF(FINDSTR(EXTERNSTR(0,15),'-'),STRCAT('解禁日期:',EXTERNSTR(0,15)),'');T6:=IF(FINDSTR(EXTERNSTR(0,1),','),STRCAT('决策提示:',EXTERNSTR(0,1)),'');T7:=IF(FINDSTR(EXTERNSTR(0,14),'-'),STRCAT('业绩预报:',EXTERNSTR(0,14)),'');T8:=IF(FINDSTR(EXTERNSTR(0,11),'-'),STRCAT('机构评级:',EXTERNSTR(0,11)),'');T9:=IF(FINDSTR(EXTERNSTR(0,9),'-'),STRCAT('中报业绩:',EXTERNSTR(0,9)),'');N:=IF(TOTALBARSCOUNT>=120,120,TOTALBARSCOUNT);{本输出适用于锁定K线数为120,N可改为你习惯的K线数,见下图}HH0:=HHV(H,N);LL0:=LLV(L,N);MM0:=CONST((HH0+LL0)*0.5);S01:=CONST(IF(REF(C,N-15)>MM0,1.00,-0.08));S02:=CONST(IF(REF(C,N-15)>MM0,-1,1));S1:=IF(FINDSTR(EXTERNSTR(0,13),'万元'),S01+(0.08*S02),S01),NODRAW;S2:=IF(FINDSTR(EXTERNSTR(0,12),'。'),S1+(0.08*S02),S1),NODRAW;S3:=IF(FINDSTR(EXTERNSTR(0,8),'公告'),S2+(0.08*S02),S2),NODRAW;S4:=IF(FINDSTR(EXTERNSTR(0,10),','),S3+(0.08*S02),S3);S5:=IF(FINDSTR(EXTERNSTR(0,15),'-'),S4+(0.08*S02),S4);S6:=IF(FINDSTR(EXTERNSTR(0,1),','),S5+(0.08*S02),S5);S7:=IF(FINDSTR(EXTERNSTR(0,14),'-'),S6+(0.08*S02),S6);S8:=IF(FINDSTR(EXTERNSTR(0,11),'-'),S7+(0.08*S02),S7);S9:=IF(FINDSTR(EXTERNSTR(0,9),'-'),S8+(0.08*S02),S8);KK:=IF(S1<=0,0.05,IF(S1>=0,-0.05,0));DRAWTEXT_FIX(1,0,S1+KK,0,T1)COLOR00FFFF;DRAWTEXT_FIX(1,0,S4+KK,0,T4)COLOR0088FF;DRAWTEXT_FIX(1,0,S5+KK,0,T5)COLOR00FF00;DRAWTEXT_FIX(1,0,S6+KK,0,T6)COLOR0000FF;{程序化交易 www.cxh99.com }
{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容