工作线精准买点和卖点指标公式[通达信公式]
相关标签:
简单实用,一目了然。<精准买逃>
原理解析:
源码:
工作线:EMA(CLOSE,14),COLORFF00FF,LINETHICK1;二号线:EMA(CLOSE,25),COLORYELLOW;三号线:EMA(CLOSE,99),COLORGREEN;四号线:EMA(CLOSE,144),COLORBLUE;生命线:EMA(CLOSE,453),COLORYELLOW,LINETHICK2;VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);VAR6:=VAR4*100/VAR1;VAR7:=VAR5*100/VAR1;VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);VAR9:=(VAR8+REF(VAR8,15))/2;A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);B:=ZIG(3,5)*100;G:=MA(B,2);D:=CROSS(B,G);W:=CROSS(G,B);E:=REF(INDEXC,1);F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);VAR10:=F AND F<8;VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR12:=SMA(VAR11,3,1);VAR13:=SMA(VAR12,3,1);VAR14:=VAR13 AND VAR13<20;DRAWTEXT(FILTER(D=1,5),LOW-0.1,'↖买'),COLORYELLOW;DRAWTEXT(W=1,HIGH*1.02,'逃'),COLORGREEN;STICKLINE(W=1,O,C,3,0),COLORBLUE;STICKLINE(D=1,O,C,3,0),COLORYELLOW;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容