股市脑电波(通达信公式 副图指标公式 公式、源码 测试图)[通达信公式]
相关标签:
{股市脑电波}cxh2:=(3*CLOSE+LOW+OPEN+HIGH)/6;cxh3:=(20*cxh2+19*REF(cxh2,1)+18*REF(cxh2,2)+17*REF(cxh2,3)+16*REF(cxh2,4)+15*REF(cxh2,5)+14*REF(cxh2,6)+13*REF(cxh2,7)+12*REF(cxh2,8)+11*REF(cxh2,9)+10*REF(cxh2,10)+9*REF(cxh2,11)+8*REF(cxh2,12)+7*REF(cxh2,13)+6*REF(cxh2,14)+5*REF(cxh2,15)+4*REF(cxh2,16)+3*REF(cxh2,17)+2*REF(cxh2,18)+REF(cxh2,20))/210;cxh4:=MA(cxh3,13);cxh5:=EMA(MA(CLOSE,3),34);cxh6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;cxh7:=MA(cxh6,5);cxh8:=MA(cxh6,10);STICKLINE(IF(cxh3<cxh5,cxh3<=1.015*cxh4,cxh3<=1.005*cxh4),cxh3,cxh4,10,1),COLOR006600 ;〖空头市场〗:0,color006600;STICKLINE(cxh3>1.005*cxh4,cxh3,cxh4,10,1),COLORff00ff{003366};〖多头市场〗:0,colorff00ff{003366};DRAWTEXT(FILTER(MA(cxh6,10)<cxh7,1),cxh8,'↑'),COLORRED;『脑电波上升』:0,colorred;DRAWTEXT(FILTER(MA(cxh6,10)>=cxh6,1),cxh8,'↓'),COLOR00ff00;『脑电波下跌』:0,color00ff00;『多空安全线』: cxh5,circledot,COLORWHITE;{〖关注点〗: }STICKLINE(COUNT(cxh3>1.005*cxh4 AND cxh3<=REF(cxh3,1),2)=2 ORCOUNT(IF(cxh3<cxh5,cxh3<=1.015*cxh4,cxh3<=1.005*cxh4) AND cxh3>=REF(cxh3,1),2)=2,cxh3,cxh4,10,0),COLORYELLOW;〖关注点〗: 0,coloryellow;STICKLINE(C>=O,C,O,7,0),COLORRED;STICKLINE(C>=O,C,O,4,0),COLOR7070ff{B0B0FF};STICKLINE(C>=O,C,O,2,0),COLORYELLOW;STICKLINE(C>=O,H,L,0,0),COLORYELLOW;STICKLINE(C<=O,C,O,7,0),COLORFF2020;STICKLINE(C<=O,C,O,4,0),COLORFF6600;STICKLINE(C<=O,C,O,2,0),{COLORCYAN;}colorffcc66;STICKLINE(C<=O,H,L,0,0),{COLORCYAN}colorffcc66;DRAWTEXT(REF(CROSS(cxh3,cxh4),2) AND cxh3>1.005*cxh4,cxh4,'买入点'),COLORwhite;DRAWTEXT(CROSS(cxh6,cxh7) AND cxh7<cxh8,cxh3*0.95,'▲多空争夺'),COLORyellow;{DRAWTEXT(CROSS(cxh7,cxh6) AND cxh7>cxh8,cxh3*1.05,'▼洗盘'),COLORwhite;}cxh9:=1/WINNER(CLOSE);cxhA:=MA(CLOSE,13);cxhB:=100-ABS((CLOSE-cxhA)/cxhA*100);cxhC:=LLV(LOW,75);cxhD:=HHV(HIGH,75);cxhE:=(cxhD-cxhC)/100;cxhF:=SMA((CLOSE-cxhC)/cxhE,20,1);cxh10:=SMA((OPEN-cxhC)/cxhE,20,1);cxh11:=3*cxhF-2*SMA(cxhF,15,1);cxh12:=3*cxh10-2*SMA(cxh10,15,1);cxh13:=100-cxh12;cxh14:=100-cxh11;cxh15:=MA(WINNER(CLOSE*0.95)*100,3);cxh16:=100-IF(cxh9>5,IF(cxh9<100,cxh9,cxhB-10),0);cxh17:=cxh15>cxhB;cxh18:=REF(LOW,1)*0.9;cxh19:=LOW*0.9;cxh1A:=(cxh19*VOL+cxh18*(CAPITAL-VOL))/CAPITAL;cxh1B:=EMA(cxh1A,30);cxh1C:=CLOSE-REF(CLOSE,1);cxh1D:=MAX(cxh1C,0);cxh1E:=ABS(cxh1C);cxh1F:=SMA(cxh1D,7,1)/SMA(cxh1E,7,1)*100;cxh20:=SMA(cxh1D,13,1)/SMA(cxh1E,13,1)*100;cxh21:=BARSCOUNT(CLOSE);cxh22:=SMA(MAX(cxh1C,0),6,1)/SMA(ABS(cxh1C),6,1)*100;cxh23:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;cxh24:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;cxh25:=SMA((SMA(cxh24,4,1)-50)*2,3,1);cxh26:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;cxh27:=SMA(cxh26,4,1);cxh28:=SMA(cxh27,3,1);cxh29:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;cxh2A:=cxh22<=25 AND cxh23<-95 AND cxh29>20 AND cxh25<-30 AND cxh28<30 AND cxh1B-CLOSE>=-0.25 AND cxh1F<22 AND cxh20<28AND cxh21>50;DRAWTEXT(CROSS(cxh2A,0.5) AND COUNT(cxh2A=1,10)=1,cxh4,'♂发射资金(超短线操作)'),COLORRED;DRAWTEXT(CROSS(cxh17,0.5) AND COUNT(cxh17=1,10)=1,cxh3,'激烈交锋'),COLORWHITE;cxh326:=IF(CLOSE>REF(CLOSE, 1),88,0);cxh327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND HIGH/CLOSE<1.010 AND cxh326>0, 91, 0);STICKLINE(cxh327>90,L*0.99,L*0.95,4,0),COLORYELLOW;DRAWTEXT(cxh327>90,LOW*0.95,'追涨'),COLORYELLOW;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容