底部支撑决策主图指标公式源码[通达信公式]
相关标签:
原理解析:
来源:程序化99( WWW.CXH99.COM )
源码:
底部支撑:HHV(MA(L,11),98),COLORGREEN,LINETHICK1;
压力1:MA(底部支撑,12),COLORCYAN;
压力2:MA(底部支撑,18),COLORMAGENTA;
压力3:MA(底部支撑,24),COLORRED;
压力4:MA(底部支撑,30),COLORBLUE,LINETHICK1;
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND
CLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(HIGH,3),1,0)));
TP:=TJ2=1;
STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),1,0),COLORGREEN;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100<1.1,MAX(OPEN,REF(CLOSE,1)),CLOSE,3.5,0),COLORGREEN;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100<1.1,MAX(OPEN,REF(CLOSE,1)),LOW,0.001,0),COLORGREEN;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=1.1,MIN(OPEN,REF(CLOSE,1)),CLOSE,3.5,0),COLORWHITE;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=1.1,MIN(OPEN,REF(CLOSE,1)),HIGH,0.001,0),COLORWHITE;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=2.1,MIN(OPEN,REF(CLOSE,1)),CLOSE,3.5,0), COLORRED;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=2.1,MIN(OPEN,REF(CLOSE,1)),HIGH,0.001,0), COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容