洗盘回调介入指标 公式 源码[通达信公式]
指标公式代码分析及使用说明参考:
源码:
{洗盘回调介入}T11:=CONST(LLVBARS(LOW,10));T11HIGH:=CONST(REF(HIGH,T11));CC1:=CONST(CURRBARSCOUNT);T22:=CONST(BARSLAST(CURRBARSCOUNT>CC1+T11 AND H>T11HIGH));T22HIGH:=CONST(REF(HIGH,T22));T33:=CONST(BARSLAST(CURRBARSCOUNT>CC1+T22 AND HIGH>T22HIGH));T33HIGH:=CONST(REF(HIGH,T33));{C>=T33HIGH AND REF(C,1)<T33HIGH AND DYNAINFO(17)>2;}N:=10;T1K:=CONST(LLVBARS(LOW,N));T1HIGH:=CONST(REF(HIGH,T1K));CC:=CONST(CURRBARSCOUNT);T2K:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1K)) AND (HIGH>T1HIGH)));T2HIGH:=CONST(REF(HIGH,T2K));T3K:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2K)) AND (HIGH>T2HIGH)));T3HIGH:=CONST(REF(HIGH,T3K));洗盘杀入线:DRAWLINE(CURRBARSCOUNT=10+1,T3HIGH,ISLASTBAR, T3HIGH,1),LINETHICK1,COLORLIRED;DRAWTEXT(ISLASTBAR, T3HIGH,'杀入线')LINETHICK1,COLORLIRED;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);回调:MA(CLOSE,10000);买线:EMA(C,2),COLORRED;卖线:EMA(SLOPE(C,21)*20+C,42),COLORGREEN;指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;界: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;{STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,COLOR0000FF;}{STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,COLORFF0000;}DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'上拐点'),COLOR00FFFF;DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点'),COLOR00FF00;DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'回调!'),COLORFFFFFF;BU:=CROSS(买线,卖线);{程序化久久公式网}SEL:=CROSS(卖线,买线);STICKLINE(买线>=卖线,CLOSE,OPEN,2.5,0),COLOR0000AA;STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLOR0000CC;STICKLINE(买线<卖线,CLOSE,OPEN,2.5,0),COLORAAAA00;STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLORBBBB00;STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,1.5,0),COLOR00FFFF;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容