请通达信改为文华指标 [文华财经]
at:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
mso-bidi-font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-font-kerning:1.0pt;}
at:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
mso-bidi-font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-font-kerning:1.0pt;}
文华技术人员:一不同软件函数机制不同,加载效果会有差异,请理解
请参考
TYP:=(CLOSE+HIGH+LOW)/3;CCI:(TYP-MA(TYP,25))/(0.015*AVEDEV(TYP,25)),COLORSTICK,COLOR40FF00;DRAWICON(CROSS(200,CCI),250,2);DRAWICON( CROSS(CCI,-200),-250,1);转强:CCI>0,COLOR0000D5,NODRAW;STICKLINE(CCI>0,0,CCI,2,0),COLOR0000D5;弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,NODRAW;STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,NODRAW;STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLOR00CA00;生命CCI线:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),COLORWHITE;底部线:-100.00,COLORYELLOW,LINETHICK2;警戒线:300.00,COLORWHITE,LINETHICK2;生命线:100.00,COLORRED,LINETHICK2;DRAWTEXT(CROSS(生命CCI线,底部线),底部线,'★主升浪'),COLORRED;DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,'★警惕'),COLORRED;DRAWTEXT(CROSS(生命CCI线,生命线),生命线,'★强'),COLORMAGENTA;200;-200;100; 文华客服: 二不同软件函数机制不同,加载效果会有差异,请理解
请参考
V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20; V2:=2*ABS(V1); V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1),15,1)); V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1),15,1)); V5:=(H+L+C)/3; V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10)); V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30)); V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0); V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8); VA:=(C-MA(C,13))/MA(C,13)*100; VB:=100-ABS(VA);INDEXH:="999001$HIGH";INDEXC:="999001$CLOSE";INDEXL:="999001$LOW";INDEXO:="999001$OPEN"; VC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2 *SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1); VD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55)) *100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1); VE:=REF(L,1)*0.9; VF:=L*0.9;CAPITAL:=GETPRICE1('流通股本'); V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL; V11:=EMA(V10,30); V12:=V11-C; V13:=REF(C,1); V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100; V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100; V16:=BARSCOUNT(C); V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2; V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100; V1A:=(SMA(V19,4,1)-50)*2; V1B:=SMA(V1A,3,1); V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; V1D:=SMA(V1C,4,1); V1E:=SMA(V1D,3,1); V1F:=(HHV(H,30)-C)/C*100; V20:=IF(V17<=25 AND V18<-95 AND V1F>20 AND V1B<-30 AND V1E<30 AND V12>=-0.25 AND V14<22 AND V15<28 AND V16>50,80,0);
趋势线: V3; 顶线: IF(VB<90,VB,90); 底线:20,COLORCYAN,LINETHICK1; 多方: IF(V1>0,V1,0); 空方: -IF(V1<0,V2,0),COLOR00FFFF,COLORFF99FF; 抄底: V20,COLORRED,LINETHICK1; 预警系统: (IF((V7>=200 AND V6>=150) OR CROSS(65,多方),15,IF(V7<=-200 AND V6<=-150,-15,V9))+65),COLORGREEN; STICKLINE(V3<=REF(V4,1),V3,V4,8,0),COLORWHITE; STICKLINE(V3>REF(V4,1),V3,V4,8,0),COLORRED; T1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1); T2:=C; T3:=多方>60 AND 预警系统>65 AND 顶线=100; T4:=多方>48 AND 预警系统>65 AND 顶线<100; T5:=空方<-38 AND 预警系统<65; T6:=抄底>50 AND 顶线<90; T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1); T8:=V3<=REF(V4,1) AND C AND 空方>=REF(空方,1) AND VC; DRAWTEXT(T1 AND COUNT(T1,30)=1,0.0000001,'多'),COLORYELLOW; DRAWTEXT(T2 AND COUNT(T2,30)=1,55,'下降通道!'),COLOR00FFFF; DRAWTEXT(T3 AND COUNT(T3,30)=1,55,'上涨过急!'),COLOR00FFFF; DRAWTEXT(T4 AND COUNT(T4,30)=1,75,'出 货'),COLOR00FFFF; DRAWTEXT(T5 AND COUNT(T5,30)=1,50,'反 弹'),COLOR00FFFF; DRAWTEXT(T6 AND COUNT(T6,30)=1,30,'抢反弹!'),COLOR00FFFF; DRAWTEXT(T7 AND COUNT(T7,30)=1,-10,'资金进场!'),COLOR00FFFF; DRAWTEXT(T8 AND COUNT(T8,30)=1,90,'见顶回落!'),COLOR00FFFF; STICKLINE(1,100,0,10,0),COLOR222222; 中线:50,COLOR996699,LINETHICK1;买入信号: IF(CROSS(趋势线,50),100,0),STICK,COLORRED;卖出信号: IF(CROSS(50,趋势线),100,0),STICK,COLORGREEN;
来源:程序化99
请参考
TYP:=(CLOSE+HIGH+LOW)/3;CCI:(TYP-MA(TYP,25))/(0.015*AVEDEV(TYP,25)),COLORSTICK,COLOR40FF00;DRAWICON(CROSS(200,CCI),250,2);DRAWICON( CROSS(CCI,-200),-250,1);转强:CCI>0,COLOR0000D5,NODRAW;STICKLINE(CCI>0,0,CCI,2,0),COLOR0000D5;弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,NODRAW;STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,NODRAW;STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLOR00CA00;生命CCI线:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),COLORWHITE;底部线:-100.00,COLORYELLOW,LINETHICK2;警戒线:300.00,COLORWHITE,LINETHICK2;生命线:100.00,COLORRED,LINETHICK2;DRAWTEXT(CROSS(生命CCI线,底部线),底部线,'★主升浪'),COLORRED;DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,'★警惕'),COLORRED;DRAWTEXT(CROSS(生命CCI线,生命线),生命线,'★强'),COLORMAGENTA;200;-200;100;
来源: WWW.CXH99.COM
请参考
V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20; V2:=2*ABS(V1); V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1),15,1)); V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1),15,1)); V5:=(H+L+C)/3; V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10)); V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30)); V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0); V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8); VA:=(C-MA(C,13))/MA(C,13)*100; VB:=100-ABS(VA);INDEXH:="999001$HIGH";INDEXC:="999001$CLOSE";INDEXL:="999001$LOW";INDEXO:="999001$OPEN"; VC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2 *SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1); VD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55)) *100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1); VE:=REF(L,1)*0.9; VF:=L*0.9;CAPITAL:=GETPRICE1('流通股本'); V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL; V11:=EMA(V10,30); V12:=V11-C; V13:=REF(C,1); V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100; V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100; V16:=BARSCOUNT(C); V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2; V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100; V1A:=(SMA(V19,4,1)-50)*2; V1B:=SMA(V1A,3,1); V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; V1D:=SMA(V1C,4,1); V1E:=SMA(V1D,3,1); V1F:=(HHV(H,30)-C)/C*100; V20:=IF(V17<=25 AND V18<-95 AND V1F>20 AND V1B<-30 AND V1E<30 AND V12>=-0.25 AND V14<22 AND V15<28 AND V16>50,80,0);
趋势线: V3; 顶线: IF(VB<90,VB,90); 底线:20,COLORCYAN,LINETHICK1; 多方: IF(V1>0,V1,0); 空方: -IF(V1<0,V2,0),COLOR00FFFF,COLORFF99FF; 抄底: V20,COLORRED,LINETHICK1; 预警系统: (IF((V7>=200 AND V6>=150) OR CROSS(65,多方),15,IF(V7<=-200 AND V6<=-150,-15,V9))+65),COLORGREEN; STICKLINE(V3<=REF(V4,1),V3,V4,8,0),COLORWHITE; STICKLINE(V3>REF(V4,1),V3,V4,8,0),COLORRED; T1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1); T2:=C; T3:=多方>60 AND 预警系统>65 AND 顶线=100; T4:=多方>48 AND 预警系统>65 AND 顶线<100; T5:=空方<-38 AND 预警系统<65; T6:=抄底>50 AND 顶线<90; T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1); T8:=V3<=REF(V4,1) AND C AND 空方>=REF(空方,1) AND VC; DRAWTEXT(T1 AND COUNT(T1,30)=1,0.0000001,'多'),COLORYELLOW; DRAWTEXT(T2 AND COUNT(T2,30)=1,55,'下降通道!'),COLOR00FFFF; DRAWTEXT(T3 AND COUNT(T3,30)=1,55,'上涨过急!'),COLOR00FFFF; DRAWTEXT(T4 AND COUNT(T4,30)=1,75,'出 货'),COLOR00FFFF; DRAWTEXT(T5 AND COUNT(T5,30)=1,50,'反 弹'),COLOR00FFFF; DRAWTEXT(T6 AND COUNT(T6,30)=1,30,'抢反弹!'),COLOR00FFFF; DRAWTEXT(T7 AND COUNT(T7,30)=1,-10,'资金进场!'),COLOR00FFFF; DRAWTEXT(T8 AND COUNT(T8,30)=1,90,'见顶回落!'),COLOR00FFFF; STICKLINE(1,100,0,10,0),COLOR222222; 中线:50,COLOR996699,LINETHICK1;买入信号: IF(CROSS(趋势线,50),100,0),STICK,COLORRED;卖出信号: IF(CROSS(50,趋势线),100,0),STICK,COLORGREEN;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 或微信:cxhjy888 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容