• 18976542384

    工作时间

    周一至周五:9:00-21:00

    周末及节日:9:00-18:00

  • 手机版二维码

    手机快速找资源

  • 扫描二维码

    加入官方qq群

[源码] 龙轩量柱(通达信公式 副图 源码 测试图)

3
回复
122
查看
[复制链接]

1万

主题

0

回帖

4万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
49886
发表于 2023-8-28 16:49:10 | 显示全部楼层 |阅读模式

{公式名称: 龙轩量柱公式描述: 参数数量: 9参数1: T4变异开关, 最小: 0, 最大: 1, 缺省: 0参数2: 敢跌敢买A, 最小: 0, 最大: 1, 缺省: 1参数3: 显示文字, 最小: 0, 最大: 1, 缺省: 0参数4: 分析家开关, 最小: 0, 最大: 1, 缺省: 1参数5: 凹口平量柱, 最小: 0, 最大: 1, 缺省: 1参数6: 低量确认, 最小: 0, 最大: 1, 缺省: 1参数7: X1, 最小: 0, 最大: 999, 缺省: 0参数8: X2, 最小: 0, 最大: 999, 缺省: 0参数9: X3, 最小: 0, 最大: 999, 缺省: 0公式类型: 技术指标公式-其他类型画线方法: 副图公式源码:}TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;VOLUME:VOL,VOLSTICK;绿低量:=10;蓝低量:=50;灰低量:=100;H_L:=0.1*CONST(HHV(VOL,240));GL1:=1*AMOUNT;GL2:=HHV(GL1,10)=GL1;GL3:=HHV(GL1,30)=GL1;GL4:=HHV(GL1,60)=GL1;GL5:=HHV(GL1,100)=GL1;GL6:=HHV(GL1,250)=GL1;全换手周期: SUMBARS(V,CAPITAL),NODRAW,COLORLIGREEN;{求完全换手到现在的周期数}量比: V/REF(MA(V,5),1),COLORBROWN,NODRAW;倍数:=1.9;高量:GL2 OR GL3 OR GL4 OR GL5 OR GL6 AND CAPITAL/1000000<=35 AND CLOSE>REF(CLOSE,1),COLORYELLOW;低量10: VOL=LLV(VOL,绿低量) AND BARSCOUNT(V)>=绿低量,COLORGREEN,NODRAW;低量50: VOL=LLV(VOL,蓝低量) AND BARSCOUNT(V)>=蓝低量,COLORBLUE,NODRAW;平量: RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW;{0.97-1.03}倍量: VOL>=REF(V,1)*倍数 AND (IF(C<O,C>REF(C,1),1)),COLORYELLOW,NODRAW;缩倍:REF(V,1)*0.48>V  AND NOT(O=C AND H=O),COLORMAGENTA;缩三一:= V<=REF(V,1)*0.7  AND  V>REF(V,1)*0.5;缩量:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2,COLORFF8000;地量:VOL=LLV(VOL,灰低量) AND BARSCOUNT(V)>=灰低量,COLORB6B6B6,NODRAW;梯量:VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2) AND CLOSE>OPEN;V1:=VOL*0.95;V2:=VOL*0.85;STICKLINE(高量,VOL,VOL*5/7,1.97,0),COLORYELLOW;STICKLINE(平量,0,V1,1.0,0),COLORWHITE;STICKLINE(低量10,0,V,0.5,0),COLORGREEN;STICKLINE(低量50,0,V,0.5,0),COLORBLUE;STICKLINE(倍量, 0,V1,1,0),COLORYELLOW;STICKLINE(缩倍,0,V*0.45,1,0),COLORMAGENTA;STICKLINE(FILTER(VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2) AND CLOSE>OPEN,2),VOL,VOL*8/9,1.97,0),COLORMAGENTA{T量};STICKLINE(缩量,0,V*0.45,1,0),COLORFF8000;DRAWTEXT(显示文字>0 AND 高量,V*1.21,'高'),COLORYELLOW;DRAWTEXT(显示文字>0 AND 低量10,VOL*1.25,'低'),COLORGREEN;DRAWTEXT(显示文字>0 AND 低量50,VOL*1.25,'低'),COLORGREEN;DRAWTEXT(显示文字>0 AND 平量,VOL*1.2,'平'),COLORWHITE;DRAWTEXT(显示文字>0 AND 倍量,VOL*1.11,'倍'),COLORYELLOW;DRAWTEXT(显示文字>0 AND 缩量,VOL*1.1,'缩'),COLORFF8000;DRAWTEXT(显示文字>0 AND 梯量,VOL*1.01,'梯'),COLORMAGENTA;DRAWTEXT(分析家开关>0 AND 缩倍 ,VOL*1.6,'2S'),COLORRED;DRAWTEXT(分析家开关>0 AND 缩三一,VOL*1.5,'3S'),COLORYELLOW;TJ:=C<O;显性假阴:=C>REF(C,1) AND TJ;隐性假阴:=AMOUNT/V/100>REF(C,1) AND O>REF(C,1) AND NOT(显性假阴) AND TJ;STICKLINE(显性假阴,VOL,0,-1,0),COLORLIMAGENTA;{第一类假阴淡洋红色}STICKLINE(隐性假阴,VOL,0,-1,0),COLORLIRED; {第二类假阴淡红色}AKPL11:=REF(VOL,6)>REF(VOL,5) AND REF(VOL,6)>REF(VOL,4) AND REF(VOL,6)>REF(VOL,3) AND REF(VOL,6)>REF(VOL,2) AND REF(VOL,6)>REF(VOL,1);AKPL12:=REF(VOL,5)>REF(VOL,4) AND REF(VOL,5)>REF(VOL,3) AND REF(VOL,5)>REF(VOL,2) AND REF(VOL,5)>REF(VOL,1);AKPL13:=REF(VOL,4)>REF(VOL,3) AND REF(VOL,4)>REF(VOL,2) AND REF(VOL,4)>REF(VOL,1);AKPL14:=REF(VOL,6)/VOL>=0.97 AND REF(VOL,6)/VOL<=1.03;AKPL15:=REF(VOL,5)/VOL>=0.97 AND REF(VOL,5)/VOL<=1.03;AKPL16:=REF(VOL,4)/VOL>=0.97 AND REF(VOL,4)/VOL<=1.03;DRAWICON(凹口平量柱>0 AND AKPL11 AND AKPL14 OR (AKPL12 AND AKPL15) OR (AKPL13 AND AKPL16),VOL*0.93,41);V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)>=100;百日地量群:=COUNT(V100,5)>=3;DRAWTEXT(FILTER(百日地量群,4),V+1.2*H_L,'地量群'),COLORYELLOW;DRAWICON(VOL<REF(LLV(VOL,100),1) AND HIGH>LOW,VOL*0.01,23);DRAWICON((OPEN-CLOSE)/OPEN>=0.04 AND (VOL/MA(VOL,60)<=2/3 OR VOL/REF(VOL,1)<=1.15 OR VOL<HHV(VOL,5)),VOL*1.0158,39);买进:=REF(VOL,1)=LLV(V,13) AND V/REF(VOL,1)>1.25 AND DYNAINFO(8)>0 AND C>O AND C>REF(C,1),COLORRED;DRAWICON(低量确认>0 AND 买进,VOL*0.93,38);MAVOL1:MA(VOLUME,X1),COLORRED;MAVOL2:MA(VOLUME,X2),COLORYELLOW;MAVOL3:MA(VOLUME,X3),COLOR00FF00;STICKLINE(1=1,VOL/3,VOL/3,1,0),LINETHICK2,COLORGRAY;STICKLINE(1=1,VOL/2,VOL/2,1,0),LINETHICK2,COLORGRAY;STICKLINE(1=1,2*VOL/3,2*VOL/3,1,0),LINETHICK2,COLORGRAY;ZF:=(C-REF(C,1))/REF(C,1)*100;极阴:=ZF<= -1.5;昨阴:= REF(C,1)< REF(C,2);次阳:=C >REF(O,1) AND C >REF(C,1);成交量:=V<REF(V,1);分析家背反:=REF(极阴,1) AND 昨阴  AND  次阳 AND 成交量;DRAWTEXT(分析家开关>0 AND 分析家背反,V,'↙杨背'),COLOR00FFFF,LINETHICK5;过阴半:=C >REF((O+C),1)/2;阴半:=REF(极阴,1) AND 昨阴  AND 过阴半 AND 成交量;DRAWTEXT(分析家开关>0 AND 阴半,V*1.2,'↙过阴半'),COLORRED,LINETHICK5;SB:=MAX(CLOSE,OPEN);QB:=MIN(CLOSE,OPEN);跳空:=QB-0.01>=REF(SB,1);阴顶开盘:=REF(C<O,1)AND 跳空 AND 成交量;DRAWTEXT(分析家开关>0 AND 阴顶开盘,V,'↙英背'),COLOR00FFFF,LINETHICK5;AHJ_1:=REF(CLOSE,1);AHJ_2:=SMA(MAX(CLOSE-AHJ_1,0),6,1)/SMA(ABS(CLOSE-AHJ_1),6,1)*100;AHJ_3:=IF(AHJ_2<=30,50,0);AHJ_4:=AHJ_3 AND AHJ_2=LLV(AHJ_2,5);AHJ_5:=VOL<MA(VOL,60)*1/3;AHJ_6:=(OPEN-CLOSE)/OPEN>=0.04 AND (VOL/MA(VOL,60)<=2/3 OR VOL/REF(VOL,1)<=1.15 OR VOL<HHV(VOL,5));AHJ_7:=VOL<REF(VOL,1) AND REF(VOL,1)<REF(VOL,2) AND REF(VOL,2)<REF(VOL,3) AND HIGH>LOW;AHJ_8:=VOL<REF(LLV(VOL,100),1) AND HIGH>LOW;AHJ_9:=AHJ_5 OR AHJ_6 OR AHJ_7 OR AHJ_8;关注:=FILTERX(AHJ_4,3) AND COUNT(AHJ_9,3),COLORRED,LINETHICK2;DRAWICON(敢跌敢买A>0 AND 关注,L-0.30,27);AHJ_10:=VOL>=REF(VOL,1) AND CLOSE>(REF(OPEN,1)-REF(CLOSE,1))/2+REF(CLOSE,1) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;AHJ_11:=VOL<=REF(VOL,1) AND CLOSE>REF(CLOSE,1) AND CLOSE>(REF(OPEN,1)-REF(CLOSE,1))/2+REF(CLOSE,1) AND CLOSE>OPEN;AHJ_12:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.04 AND (VOL<=MA(VOL,60) OR VOL/REF(VOL,1)<=1.2 OR VOL<HHV(VOL,5)) AND HIGH>LOW;AHJ_13:=VOL/REF(VOL,1)>1.95 AND (CLOSE>OPEN OR (CLOSE<OPEN AND CLOSE>=REF(CLOSE,1)));AHJ_14:=COUNT(关注,3) AND (AHJ_10 OR AHJ_11 OR (AHJ_12 AND CLOSE>(REF(OPEN,1)-REF(CLOSE,1))/2+REF(CLOSE,1) AND REF(CLOSE,1)<REF(OPEN,1)) OR AHJ_13);大胆买进:=FILTER(AHJ_14,3),COLORYELLOW,LINETHICK2;DRAWICON(敢跌敢买A>0 AND 大胆买进,L-0.30,26);T4缩变异:=V<REF(V,1) AND C>REF(C,1) AND O<>C ANDREF(V,1)>REF(V,2) AND REF(V,2)>REF(V,3) ANDREF(V,4)>REF(V,3) ANDREF(C,1)>REF(C,2) AND REF(O,1)<>REF(C,1) ANDREF(C,2)>REF(C,3) AND REF(O,2)<>REF(C,2) ANDREF(C,3)>REF(C,4) AND REF(O,3)<>REF(C,3);DRAWTEXT(T4变异开关>0 AND T4缩变异,VOL*1.3,'T4缩变'),COLORLIRED;T4放变异:=COUNT(C>REF(C,1) AND V>REF(V,1) AND C<>O,4)==4;DRAWTEXT(T4变异开关>0 AND T4放变异,VOL*1.3,'T4放变'),COLORLIRED;{极阴次阳战法}相对低位:=C < 1.5*LLV(L,240);极阴次阳阴半:=REF(极阴,1) AND 次阳 AND 相对低位;长阴短柱:=极阴  AND V<REF(V,1)*0.65;

DRAWICON(长阴短柱,VOL*1.0158,39);

彩虹桥-投资充电站


回复

使用道具 举报

0

主题

11

回帖

35

积分

新手上路

Rank: 1

积分
35
发表于 2023-9-14 13:01:03 | 显示全部楼层
小手一抖,花花到手!
回复

使用道具 举报

0

主题

13

回帖

39

积分

新手上路

Rank: 1

积分
39
发表于 2023-11-23 23:38:49 | 显示全部楼层
感谢分享优质资源
回复

使用道具 举报

0

主题

18

回帖

46

积分

新手上路

Rank: 1

积分
46
发表于 2023-12-15 21:50:40 | 显示全部楼层
沙发!沙发!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

全国统一客服电话
18976542384

24x7小时免费咨询

  • 官方在线客服

    QQ客服:股海浪子

    点击交谈

    QQ客服:beyond

    点击交谈

    QQ客服:明月

    点击交谈
  • 广东省深圳市福田区深南大道2012号

  • 添加客服微信

    可领取网站任一指标一个

  • 加入指标qq分享群

    免费领取资源

Powered by Discuz!X3.4 ©2001-2013 Comsenz Inc.彩虹桥投资充电站( 粤ICP备19084539号 )|网站地图