逢低买明天涨,瞄准底部指标 公式 源码[通达信公式]
指标公式源码分析及使用参考说明:
源码:
N1:=21;cxhC:=LOW;cxhD:=REF(LOW,1);cxhE:=SMA(ABS(cxhC-cxhD),3,1)/SMA(MAX(cxhC-cxhD,0),3,1)*100;cxhF:=MA(cxhE/10,3);RSV:=(((CLOSE - LLV(LOW,29)) / (HHV(HIGH,29) - LLV(LOW,29))) * 100);K:=MA(RSV,5);D:=MA(K,2);J:=((3 * K) - (2 * D));明天涨:IF((J < 5),50,0),COLORMAGENTA;DRAWTEXT((J < 5),60,'明天涨'),COLORRED;cxh10:=LLV(LOW,30);cxh11:=HHV(cxhF,30);MA(IF(LOW<=cxh10,(cxhF+cxh11*2)/2,0),3);cxh1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;cxh2A:=SMA(cxh1A,9,1)+100;cxh3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;cxh4A:=SMA(cxh3A,3,1);cxh5A:=SMA(cxh4A,3,1)+100;cxh6A:=cxh5A-cxh2A;cxhQ1:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);cxhG7:=SMA(cxhQ1,3,1);趋势:SMA(cxhG7,3,1),COLOR0000FF,LINETHICK2;人气:SMA(趋势,3,1),COLORYELLOW,LINETHICK2;出击:IF(CROSS(趋势,人气) AND (趋势<30),20,0),COLOR0000FF,LINETHICK2;DRAWTEXT(CROSS(趋势,人气) AND 趋势<30,25,'立地 '),COLORWHITE;短卖:IF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK3;DRAWTEXT(CROSS(趋势, 人气) AND REF(人气,1)>80, REF(人气,3), '顶'),COLORRED,LINETHICK5;逢低买:DRAWTEXT(REF(CROSS(趋势,人气),82) AND 人气>1.3*趋势,85,'逢低买'),LINETHICK1;买: DRAWTEXT(REF(CROSS(趋势,人气),1) AND 趋势>1.3*人气,85,'买'),COLORRED,LINETHICK1;端庄窝:=IF(cxh6A>N1,cxh6A-N1,0),COLORWHITE;果断出击:IF(CROSS(端庄窝,0.01),100,0),STICK,COLORGREEN,LINETHICK2;DRAWICON(果断出击>0,100,1),COLORGREEN;LC:=REF(CLOSE,1);RSI:=((SMA(MAX(CLOSE - LC,0),4.1,1))/(SMA(ABS(CLOSE - LC),4.1,1)))*(100);WWWcxh99COM:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2;瞄准底部:(CROSS(RSI,11))*(70),COLORRED;DRAWTEXT(瞄准底部,69,'瞄准底部'),COLOR66FFCC;{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容