通达信主力建仓阴线 金钻起爆点 和谐源码分享
-
相关简介:{公式名称: 金钻起爆点 公式描述: 无参数 公式类型: 技术指标公式-其他类型 画线方法: 主图叠加 公式版本: 0 显示小数: 缺省位数 坐标线位置: 自动 额外Y轴分界: 无 参数精灵:无 用法注释:无 公式源码:} DRAWGBK(CLOSEOPEN,RGB(60,0,0),RGB(0,0,0),1,2,1); VAR1:=STRCAT(HYBLOCK,1); VAR2:=STRCAT(VAR1,DYBLOCK); VAR3:=STRCAT(VAR2,1); DRAWTEXT_FIX(I
-
文章来源:股海网作者:股海网发布时间:2019-01-13浏览次数:
{公式名称: 金钻起爆点
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
DRAWGBK(CLOSE>OPEN,RGB(60,0,0),RGB(0,0,0),1,2,1);
VAR1:=STRCAT(HYBLOCK,1);
VAR2:=STRCAT(VAR1,DYBLOCK);
VAR3:=STRCAT(VAR2,1);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(VAR3,GNBLOCK)),COLORRED;
金牛:(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1+XMA(XMA(HIGH,25),25),DOTLINE,COLORYELLOW;
金钻趋势:XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1,COLORRED,LINETHICK2;
金牛2:EMA(金钻趋势,25),COLORCYAN,LINETHICK2;
DRAWBAND(金钻趋势,RGB(55,0,0),金牛2,RGB(0,91,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(金钻趋势>LOW AND 金钻趋势<HIGH,金钻趋势,MIN(MIN(OPEN,CLOSE),金钻趋势),2,0),COLORYELLOW;
STICKLINE(金钻趋势>MIN(CLOSE,OPEN) AND 金钻趋势<MAX(CLOSE,OPEN),金钻趋势,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(金钻趋势>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(金钻趋势>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR4:=100*XMA(XMA(CLOSE-REF(CLOSE,1),6),6)/XMA(XMA(ABS(CLOSE-REF(CLOSE,1)),6),6);
VAR5:=LLV(VAR4,2)=LLV(VAR4,7) AND COUNT(VAR4<0,2) AND CROSS(VAR4,MA(VAR4,2));
VAR6:=金钻趋势>HIGH AND VAR5 AND LOW<=金钻趋势 AND CLOSE!=LOW;
DRAWTEXT(VAR6,LOW,2),COLORRED;
VAR7:=(HIGH+LOW+CLOSE)/3;
VAR8:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
VAR9:=IF(CAPITAL=0,VAR8*(VAR7-MIN(CLOSE,OPEN)),VAR8*IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW));
VAR10:=IF(CAPITAL=0,VAR8*(MIN(OPEN,CLOSE)-LOW),VAR8*IF(HIGH=LOW,1,VAR7-MIN(CLOSE,OPEN)));
VAR11:=IF(CAPITAL=0,VAR8*(HIGH-MAX(OPEN,CLOSE)),VAR8*IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE)));
VAR12:=IF(CAPITAL=0,VAR8*(MAX(CLOSE,OPEN)-VAR7),VAR8*IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-VAR7));
VAR13:=(VAR9+VAR10-(VAR11+VAR12))/IF(CAPITAL=0,10000,10000);
VAR14:=SMA(IF(CLOSE>=REF(CLOSE,1),VAR13,(-VAR13)/100),2,1);
VAR15:=SMA(VAR14*120/FROMOPEN*5,2,1);
VAR16:=SMA(VAR15,5,1);
VAR17:=SMA(VAR16,5,1);
VAR18:=CURRBARSCOUNT=1 AND CLOSE<REF(CLOSE,1);
VAR19:=REF(VAR14,1)-VAR18;
VAR20:=CLOSE>OPEN AND VAR19<0.02 AND MA(CLOSE,5)>MA(CLOSE,60) AND CLOSE/REF(CLOSE,1)>=1.02 AND HIGH<金牛;
VAR21:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR22:=SMA(VAR21,3,1);
VAR23:=SMA(VAR22,3,1);
VAR24:=3*VAR22-2*VAR23;
VAR25:=MA(CLOSE,5);
VAR26:=MA(CLOSE,10);
VAR27:=MA(CLOSE,20);
VAR28:=MA(CLOSE,30);
VAR29:=MA(CLOSE,60);
VAR30:=VAR25/LOW;
VAR31:=HIGH/VAR25;
VAR32:=VAR30>1.1 AND CLOSE>OPEN;
VAR33:=VAR31>1.1 AND CLOSE<OPEN;
VAR34:=VAR30>1.05 AND CLOSE>OPEN AND CLOSE<VAR25 AND CLOSE<VAR26 AND CLOSE<VAR27 AND CLOSE<VAR29;
VAR35:=VAR31>1.05 AND CLOSE<OPEN;
VAR36:=VAR29/CLOSE;
VAR37:=VAR32>0 AND VAR34>0 AND VAR36>1.5 AND VAR24>VAR22;
STICKLINE(VAR37,OPEN,CLOSE,2,0),COLORYELLOW;
VAR38:=HIGH>VAR26*1.15 AND CLOSE<OPEN;
卖:DRAWICON(FILTER(VAR38>0,1),HIGH*1.02,6);
DRAWTEXT(VAR20 AND LOW<金钻趋势,LOW,4),COLORMAGENTA;
{公式名称: 主力建仓阴线
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
VAR8:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR9:=SMA(VAR8,13,8);
VAR10:=0;
VAR11:=VAR7;
VAR12:=CAPITAL<5000000;
VAR13:=CEILING(SMA(VAR9,13,8));
VAR14:=MA(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),5);
VAR15:=VAR13>=VAR14;
VAR16:=(HIGH/REF(CLOSE,1)-1)*100>9;
XG:VAR11>10 AND CLOSE<REF(CLOSE,1) AND CLOSE!=LOW AND REF(VAR11,1)=0;
{公式名称: 主力建仓阴线
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0
参数精灵:无
用法注释:无
公式源码:}
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
VAR8:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR9:=SMA(VAR8,13,8);
VAR10:=0;
VAR11:=VAR7;
VAR12:=CAPITAL<5000000;
VAR13:=CEILING(SMA(VAR9,13,8));
VAR14:=MA(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),5);
VAR15:=VAR13>=VAR14;
VAR16:=(HIGH/REF(CLOSE,1)-1)*100>9;
XG:VAR11>10 AND CLOSE<REF(CLOSE,1) AND CLOSE!=LOW AND REF(VAR11,1)=0;