捉潜力牛,千金不买绝技(通达信公式 主图指标公式 公式、源码 测试图)[通达信公式]
相关标签:
千金不买绝技捉潜力牛(通达信公式 主图 源码 测试图)没未来函数
{捉潜力牛}
M1:=5;M2:=10;M3:=20;M4:=60;M5:=120;M6:=250;MA1:MA(CLOSE,M1),COLOR0000FF;MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5);MA6:MA(CLOSE,M6);MA7:MA(C,7),COLOR0000FF;MA13:MA(C,13),COLOR0096FF;MA21:MA(C,21),COLOR00FF99;MA49:MA(C,49),COLORFF00FF;A:=BARSCOUNT(CLOSE);AH:=HHV(HIGH,200);AL:=LLV(LOW,200);B0:=(AH-AL)/40;B1:=HIGH+B0;B2:=LOW-B0;DRAWTEXT((A+0)/34=FLOOR((A+0)/34),B2-2.2*B0*1.1,'变盘'),COLORRED;DRAWTEXT(IF(CROSS(69,SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100),1,0),HIGH*1.045,'警'),COLORWHITE;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;DRAWICON(CROSS(RSI,11) ,L*0.99,3);cxh28:=SMA(MAX(CLOSE-LC,0),5.5,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5),LOW,'买'),COLORFF00FF;cxhA:=((AMOUNT)/(VOL))/(100);cxhB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);cxhC:=((SUM(AMOUNT,7))/(cxhA))/(100);cxhD:=DMA(cxhB,(VOL)/(cxhC));cxhE:=((CLOSE-cxhD)/(cxhD))*(100);cxhF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);cxhJ:=MA(cxhE,20)+STD(cxhE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);AA:=SMA(cxhF,3,1);SS:=(REF(BIAS18,1)>=5) AND CROSS(cxhJ,cxhE) AND (AA>79);DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(cxhJ,cxhE) AND (AA>SS) AND CROSS(84,RSI),H*1.028,'卖'),LINETHICK7,COLORGREEN;DRAWTEXT(CROSS(84,RSI) AND CROSS(76,cxh28),H*1.01,'出'),LINETHICK7,COLORYELLOW;V7:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);STICKLINE(V7>=1,O,C,1,0),COLORYELLOW;LC1:=REF(CLOSE,1);买线:=EMA(C,2);卖线:=EMA(SLOPE(C,13)*21+C,49);STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,1.2,0),COLORYELLOW;STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,1.2,0),COLORBLUE;RSI1:=((SMA(MAX((CLOSE - LC1),0),3,1) / SMA(ABS((CLOSE - LC1)),3,1)) * 100);FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21);V1:=EMA(CLOSE,60)-EMA(CLOSE,300);V2:=EMA(V1,300);V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;操盘线:=SMA(V3,2,1),LINETHICK3;V5:=SMA(操盘线,2,1);AA1:=(HHV(HIGH,20) - (2 * ATR));BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));SSS:=CROSS(MIN(MA(CLOSE,13),AA1),CLOSE);BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS);B11:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));B1B:=BARSLAST(B11);B21:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));B2B:=BARSLAST(B21); B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));DRAWICON(CROSS(操盘线,V5) AND MA7>REF(MA7,1),L*0.987,5);DRAWICON(操盘线<REF(操盘线,1) AND REF(操盘线,1)>REF(操盘线,2) AND MA21<REF(MA21,1) AND REF(操盘线,1)>40 AND CROSS(V5,操盘线),H*1.01,6);STICKLINE((REF(BIAS18,1)>=5) AND CROSS(cxhJ,cxhE) AND (AA>SS) AND CROSS(84,RSI) AND CROSS(76,cxh28),C,O,3,0),COLORGREEN,LINETHICK2;STICKLINE(操盘线>REF(操盘线,1) AND CROSS(操盘线,V5) AND V5<50 AND MA13<REF(MA13,1),C,O,3,0),COLORMAGENTA,LINETHICK2;线:=SMA(V3,2,1),LINETHICK3;cxh2S:=(2*CLOSE+HIGH+LOW)/4;cxh3S:=IF(YEAR>=2099 AND MONTH>2,0,1);cxh4S:=LLV(LOW,5);cxh5S:=HHV(HIGH,4);散户:=EMA((cxh2S-cxh4S)/(cxh5S-cxh4S)*100,4)*cxh3S;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*cxh3S;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←吸'),COLORRED;MA20:=MA(C,20);MA90:=MA(C,90);Y1:=BARSLAST(CROSS(MA5,MA20)) AND MA5>MA20;Y2:=Y1 AND BARSLAST(CROSS(MA5,MA90));Y3:=Y2 AND CROSS(MA20,MA90);STICKLINE(Y3,O,C,3,0),COLORYELLOW;DRAWTEXT(Y3,L-0.40,'←黑马'),COLORWHITE;F0:=BARSLAST(CROSS(MA(C,5),MA(C,90)));F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90)));F2:=F1 AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,90);WWWcxh99COM:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;DRAWICON(F2,L-0.10,1);DRAWTEXT(F2,L-0.40,'←黑马'),COLORFF00FF;{程序化交易 www.cxh99.com }
{程序化交易 www.cxh99.com }
{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容