首页 > 编程语言 >通达信短线操盘买卖指标公式源码

通达信短线操盘买卖指标公式源码

时间:2024-03-09 17:34:39浏览次数:31  
标签:MA DRAWTEXT LLV 通达信 源码 CLOSE 100 操盘 CURRBARSCOUNT

{ 通达信短线操盘买卖指标公式源码 }

DRAWGBK(C>=0,RGB(67,80,37),RGB(0,0,0),1,'8',1);
成交量:=vol,VOLSTICK;
MA5:=MA(VOL,5);
MA10:=MA(VOL,10);
MA20:=MA(VOL,20),LINETHICK0;
MA35:=MA(VOL,35),LINETHICK0;
AAA:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<open,aaa*((high-open)+(close-low)),vol 2))*0.8,linethick0;<br=""> 主卖:=-IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<open,0-aaa*(high-low),0-vol 2))*0.9,linethick0;<br=""> 主力净量:=(主买-主卖),LINETHICK0;
总量:100,LINETHICK0;
主买%:主买/成交量*100,COLORRED,LINETHICK0;
主卖%:主卖/成交量*100,COLOR00FF00,LINETHICK0;
比差:=主买%-主卖%;
STICKLINE(CURRBARSCOUNT=1 AND 100>0,100,0,3.3,1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=1 AND 主买%>0,主买%,0,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=1 AND 主卖%>0,主卖%,0,2.8,0),COLORBLUE;
DRAWICON(CURRBARSCOUNT=1 AND 5>0,2.6,97);
DRAWTEXT(CURRBARSCOUNT=1,主买%+5,'____*主买'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=1,主卖%+5,'____*主卖'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,105,'*总量'),COLORLIMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,22,'----20'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,32,'----30'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,42,'----40'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,52,'----50'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,62,'----60'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,72,'----70'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,82,'----80'),COLORFFFFFF;
V1:=MA(C,3)=HHV(MA(C,3),7);
V2:=MA(C,3)>MA(C,5);
V3:=MA(V,5)>MA(V,10)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
LC20:=REF(CLOSE,1);
rsi20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
STICKLINE(crOSS(RSI20,11)*1,0,16,3,0),COLORFF0080;
VAR3A:=3;
VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
mtm:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加仓:IF(FILTER(YXF=1,5),26,0),STICK,COLORRED,LINETHICK5;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV
(L,55))*100,5,1);
FY:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
地量:DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "kdj.J"<0),L*1,' *D'),COLORYELLOW;
STICKLINE(地量>0,0,20,2,0),COLOR330033;
STICKLINE(地量>0,0,20,1.5,0),COLOR770077;
STICKLINE(地量>0,0,20,0.8,0),COLORBB00BB;
STICKLINE(地量>0,0,20,0.3,0),COLORFF00FF;
A1:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
A2:=SMA(A1,3.1,1);
A3:=SMA(A2,3.1,1);
高位:110,COLOR007700,LINETHICK2;{以下参数可调整}
底部:0,COLORRED;
强弱:50,DOTLINE,COLORLIGRAY;
出击:3*A2-2*A3,COLORYELLOW,LINETHICK2;
阻力:3*A3-2*A2,COLORFF8800,LINETHICK1;
DRAWICON(CROSS(出击,阻力),阻力,1);
DRAWICON(CROSS(阻力,出击),出击,2);
DRAWICON(CROSS(出击,5),5,25);
DRAWICON(CROSS(110,出击),110,27);

 

标签:MA,DRAWTEXT,LLV,通达信,源码,CLOSE,100,操盘,CURRBARSCOUNT
From: https://www.cnblogs.com/zhibiao/p/18063017

相关文章

  • 通达信神偷线副图指标源码
    {通达信神偷线副图指标源码}M:=3;N:=3;N1:=2;QQ:=3;VAR1N:=1990131;U1:=IF((DATE<=VAR1N),1,0);TRX:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),5);HD:=(HIGH-REF(HIGH,1));LD:=(REF(LOW,1)-LOW);DMP:=(SUM(IF(((HD>0......
  • 通达信狙击强势股指标,捕捉蕞强上升趋势的个股 属于追涨类
    {通达信狙击强势股指标,捕捉蕞强上升趋势的个股属于追涨类}{狙击强势股}MA5:=MA(C,5)LINETHICK2,COLOR00CCFF;MA10:=MA(C,10);MA30:=MA(C,30);XA_5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;XA_10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;XA_30:=ATAN((MA30/REF......
  • JavaEE35个系统源码
    01.基于javaEE_大学生就业信息管理系统设计与实现02.基于javaEE_企业车辆管理系统设计与实现03.基于javaEE_BS架构微博系统设计与实现04.基于javaEE健康管理系统设计与实现05.基于javaEE_医院在线挂号系统设计与实现06.基于javaEE_商品供应管理系统设计与实现07.基于javaEE_......
  • 通达信堆量蓄力起爆副图指标 量能类源码
    {通达信堆量蓄力起爆副图指标量能类源码}V5:=MA(V,120);A:=C/REF(C,1)<1.06;B:=C>=O;EVERY(V>V5ANDAANDB,3);  ......
  • 通达信隐形多空主图公式源码附图
    {通达信隐形多空主图公式源码附图}多头排列的时候。均线就会显示出来,空头的时候经线就隐形了。FX:=MA(C,3);FX5:=MA(FX,5);FX6:=MA(FX,60);K:3*FX6-2*FX5;D:(((13*FX6)-(8*FX5)))/5;FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));FS:=MA(CLOSE,......
  • 通达信精进3号主图指标公式源码
    {通达信精进3号主图指标公式源码}{指标介绍:1、当天进出价位均用白色线显示,(只显示当天和变盘的那一天),其余时间表示趋势未变。向上突破白色线进入,向下破位白色线必出,必须严格执行;2、当天发生变盘分别用黄色K线和绿色K线提示;3、进出价位分别用红线和绿线表示,第二天显示,未显示......
  • 通达信无敌金枪指标公式源码副图
    {通达信无敌金枪指标公式源码副图}{1、可操作好的信号:均线多头排列,K线支撑较强的(如10日均线支撑强的)。重点操作2大最佳信号:其一最佳信号特点是处于上升通道中的,均线多头顺上的,K线是平缓上涨中的,股价运行在主图趋势线上的。其二最佳信号特点就是一波上涨后的回调(多波上涨后的......
  • 通达信大盘资金进场公式源码附图
    {通达信大盘资金进场公式源码附图}V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;主力撤:IF(V4<=0,V4,0),COLORBLUE;主力进:IF(V4>=0,V4,0)*100,COLORFF00FF,LINETHICK2;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL......
  • 通达信尊龙通道主图指标公式源码
    {通达信尊龙通道主图指标公式源码}{DRAWGBK(C>0,RGB(0,105,205),RGB(0,134,139),0,'',0);DRAWKLINE(H,O,L,C);}CV:=C*V;BCV:=EMA((EMA(CV,3)/EMA(V,3)+EMA(CV,6)/EMA(V,6)+EMA(CV,12)/EMA(V,12)+EMA(CV,24)/EMA(V,24))/4,13);IU0:BCV*1.078;ID0:BCV*0.94;OE0:EMA(EMA......
  • 通达信分时爆量分时主图开源
    {通达信分时爆量分时主图开源}分时爆量---分时主图开源不加密,里面有两个指标,导入公式即可,其中一个是引用指标,另一个指标分时爆量是分时主图指标,里面有两个信号,一个开盘信号,一个随盘中走势出信号,大家最好有自己的股票池,根据分时爆量信号,捕捉强势股源码Z111:=STRCAT(HYBLOCK......