- 1、本文档共3页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
【股票指标公式下载】-【通达信】买卖警戒(头部、强势线、高抛线、警戒线、指导线)
【通达信】买卖警戒(头部、强势线、高抛线、警戒线、指导线)-指标公式源码
强势线:2,LINETHICK1,COLORF强势线F00FF;
准强线:1,LINETHICK1,COLOR00FF00;
UP:=( C O OR C REF(C,1)) AND V REF(V,1);
AA:=COUNT(UP,3)=3;
BB:=LLV(L,5)=LLV(L,120);
CC:=C MA(C,3);
LLT:=AA AND BB AND CC;
{头部}
V1:=LLV(LOW,10);
V2:=HHV(H,25);
警戒线:2.9,LINETHICK1,COLOR00FFFF;
高抛线:3.5,LINETHICK1,COLOR0000FF;
指导线:EMA((C-V1)/(V2-V1)*4,4);
M5:=MA(指导线,5);
低吸线:0.415,LINETHICK1,COLORWHITE;
VAR2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)=0.85 AND CLOSE/REF(CLOSE,1)0.905 AND CLOSE/REF(CLOSE,1)1.05 AND VOL/CAPITAL*1005,50,0);
VAR3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
VAR4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
VAR5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
VAR6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
VAR7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
VAR8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
VAR9:=(VAR3+VAR4+VAR5+VAR6+VAR7+VAR8)/6;
VARA:=EMA(VAR9,3);
VARB:=ABS(VAR6-VAR8);
VARC:=(VAR9+VARB)/2;
VARD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
VARE:=VARD+VARC;
VARF:=IF(VAR20 AND VARE0,200,0);
VAR10:=IF(VARC0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)0.905 AND CLOSE/REF(CLOSE,1)1.05 AND VOL/CAPITAL*1005,-50,0);
VAR11:=IF(VARE0 AND VAR10=-50,100,0);
VAR12:=MA(CLOSE,3);
VAR13:=REF(CLOSE,2)*0.865;
VAR14:=REF(CLOSE,13)*0.772;
VAR15:=MIN(VAR13,VAR14);
VAR16:=100*VOL/CAPITAL;
VAR17:=MA(CLOSE,13);
VAR18:=IF((CLOSE-VAR15)/CLOSE0.03 AND SUM(VAR16,5)/51.8,1,0);
VAR19:=IF(VAR180 AND (VAR100 OR VAR20),100,0);
VAR1A:=VAR19;
VAR1B:=IF(VARF0 AND VAR110 AND SUM(VOL/CAPITAL*100,5)/51 OR VAR180 AND REF(CLOSE,1)/REF(CLOSE,2)0.902 OR (VARF0 AND VAR110 AND SUM(VOL/CAPITAL*100,5)/51 OR VAR180) AND (VAR100 OR VAR20) AND VAR1910,50,0);
VAR1C:=(VARF0 AND VAR110 AND SUM(VOL/CAPITAL*100,5)/51 OR VAR180) AND (VAR100 OR VAR20);
VAR1D:=VARF0 AND VAR110 AND SUM(VOL/CAPITAL*100,5)/51 OR VAR180 AND REF(CLOSE,1)/REF(CLOSE,2)0.902;
大底区域:(VAR1C OR VAR1D)*3,LINETHICK2,COLORRED;
DRAWICON(CROSS(指导线,准强线),准强线,4);
DRAWTEXT
文档评论(0)