转强要拉一波,趋势转强了要拉一波指标 公式 源码[通达信公式]
cxh1A:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);cxh4AA:=CLOSE/(REF(CLOSE,1))>1.05 AND (HIGH/CLOSE<1.01);{1.05;1.01}游资进场:=(FILTER(cxh4AA>0,34)AND DYNAINFO(4)>0)*8,COLORYELLOW;A10:10,COLORYELLOW;{STICKLINE(XYSHSL>2.1 AND CYS13>5,53,86,5,0 ),COLOR000055;}STICKLINE(游资进场,10,66,6,0),COLORBLUE;LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));拉升:=FILTER(LS,28);M:=10;N:=9;散户线:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORGREEN,LINETHICK2;{COLORFFFF00青线}RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;庄筹线:EMA(J,6),COLORRED,LINETHICK3;{粉线COLORFF00FF}IF(散户线<庄筹线,散户线,DRAWNULL),COLORRED,LINETHICK3;IF(庄筹线<散户线,庄筹线,DRAWNULL),COLORGREEN,LINETHICK2;IF(散户线>A10,散户线,DRAWNULL),COLORGREEN,LINETHICK2;XG1P:=CROSS(散户线,A10);{DRAWICON(XG1,OPEN+1,18);}{STICKLINE(XG1P,L*4.40,L*1.05,1,0),COLORWHITE;DRAWTEXT(XG1P,L*3.89,'--主图空仓'),COLORBLUE;}{程序化久久公式网}STICKLINE(拉升,10,58,0.5,0)COLORGREEN;DRAWTEXT(拉升,40,' 芝麻开花'),COLORGREEN;DRAWICON(拉升,66,9);DRAWICON(游资进场=8,44,34);DRAWICON(游资进场=8,30,33);DRAWICON(游资进场=8,14,18);DRAWTEXT(游资进场=8,66,' 要拉一波'),COLORCYAN;cxh1:=IF(YEAR>=2038 AND MONTH>=1,0,1);cxh2:=REF(LOW,1)*cxh1;cxh3:=SMA(ABS(LOW-cxh2),3,1)/SMA(MAX(LOW-cxh2,0),3,1)*100*cxh1;GG:=100*(1-WINNER(C))>99.8 AND V/CAPITAL*100<5 AND 100*(WINNER(1.1*C)-WINNER(0.9*C))<3.9;DRAWTEXT(C>REF(C,1) AND REF(GG,1)>0 AND cxh3,85,'低位建仓'),COLORYELLOW;KC:=FORCAST(((2*C+H+L)/4*0.618+C*0.382),3);AAX:=(KC-MA(KC,9))/MA(KC,9)*100; cxh0:=MIN(EXIST(KC,55),9);AAX1:=EMA(AAX,cxh0)*cxh0; AAX2:=MA(AAX1,3);AAX3:=MA(AAX1,5); 卖:=AAX3>3 AND AAX1<REF(AAX1,1) AND CROSS(AAX2,AAX1);VBA:=FILTER(卖,5);能量线:=EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),LINETHICK0;{2指.RSI} RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,LINETHICK0;{3指.KDJ} RSVF:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK0;KF:=SMA(RSVF,3,1);DF:=SMA(KF,3,1);JF:=3*KF-2*DF,LINETHICK0;{4指.W&R} 威廉WR:=(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100,LINETHICK0;{5指.CCI} TYP := (HIGH + LOW + CLOSE)/3; }CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;五指A:WMA((能量线+RSI+JF-威廉WR+CCI)/2.5,5);{调节高低位置}DRAWTEXT(VBA,五指A*1.08,'顶背离警惕'),COLORGREEN;
{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容