找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 2680|回复: 55

主图加强色并且标注:K线实体整体三一二一位

[复制链接]
发表于 2018-5-23 06:25 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
三一:HIGH-(HIGH-LOW)*0.333,NODRAW;
二一HIGH+LOW)*0.5,NODRAW;
三分之二:HIGH-(HIGH-LOW)*0.666,NODRAW;
实体三一:MIN(CLOSE,OPEN)+(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))*0.666,NODRAW;
实体二一CLOSE+OPEN)*0.5,NODRAW;
实体三二:MIN(CLOSE,OPEN)+(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))*0.333,NODRAW;
VAR1:=STRCAT(HYBLOCK,5);
VAR2:=STRCAT(VAR1,DYBLOCK);
VAR3:=STRCAT(VAR2,5);
STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),3,0),COLORGRAY;
STICKLINE(REF(HIGH,1)<LOW,LOW,REF(HIGH,1),3,0),COLORGRAY;
VAR4:=MA(CLOSE,5);{WWW.BUYHAOGU.COM}
MA5角度:ATAN((VAR4/REF(VAR4,1)-1)*100)*180/3.1416,NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
VAR5:=REF(CLOSE,1);
VAR6:=IF(CLOSE>=1,10000,100000);
VAR7:=1.1*VAR5-49/VAR6;
VAR8:=1.05*VAR5-49/VAR6;
VAR9:=0.9*VAR5+51/VAR6;
VAR10:=0.95*VAR5+51/VAR6;
VAR11:=NAMELIKE(1) OR NAMELIKE(2);
VAR12:=IF(VAR11,CLOSE>=VAR8,CLOSE>=VAR7);
VAR13:=IF(VAR11,CLOSE<=VAR10,CLOSE<=VAR9);
VAR14:=IF(VAR11,HIGH>=VAR8,HIGH>=VAR7);
VAR15:=IF(VAR11,LOW<=VAR10,LOW<=VAR9);
STICKLINE(VAR14,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;
STICKLINE(VAR15,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN;
VAR16:=CLOSE>OPEN AND (CLOSE>=VAR8 OR CLOSE>1.05*OPEN-51/VAR6) OR (CLOSE>1000 AND CLOSE>VAR5*1.024);{WWW.BUYHAOGU.COM}
STICKLINE(VAR16,OPEN,CLOSE,1,0),COLOR0000BB;
VAR17:=CLOSE<OPEN AND (CLOSE<=VAR10 OR CLOSE<0.95*OPEN+49/VAR6) OR (CLOSE>1000 AND CLOSE<VAR5*0.976);{WWW.BUYHAOGU.COM}
STICKLINE(VAR17,OPEN,CLOSE,1,0),COLORLIGREEN;
STICKLINE(VAR12,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(VAR13,OPEN,CLOSE,1,0),COLORLICYAN;
VAR18:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(VAR18,OPEN,CLOSE,0,0),COLORRED;
VAR19:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1);
STICKLINE(VAR19,OPEN,CLOSE,0,0),COLORGREEN;
实体上三分之一MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),COLORGREEN,NODRAW;
实体下三分之一MAX(O,C)-MIN(O,C))/3+MIN(O,C),NODRAW;
实体二分之一O+C)/2,NODRAW;
整体上三分之一MAX(H,L)-MIN(H,L))*2/3+MIN(H,L),NODRAW;
整体下三分之一MAX(H,L)-MIN(H,L))/3+MIN(H,L),COLORYELLOW,NODRAW;
整体二分之一H+L)/2,COLORLIMAGENTA,NODRAW;
STICKLINE(O<>C,实体上三分之一,实体下三分之一,2,0),COLOR824173;
STICKLINE(O<>C,实体二分之一,实体二分之一,2,0),COLORGREEN;


评分

1

查看全部评分

发表于 2018-11-10 15:20 | 显示全部楼层
研究了下,应该是这样的
三一:HIGH-(HIGH-LOW)*0.333,NODRAW;
二一HIGH+LOW)*0.5,NODRAW;
三分之二:HIGH-(HIGH-LOW)*0.666,NODRAW;
实体三一:MIN(CLOSE,OPEN)+(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))*0.666,NODRAW;
实体二一CLOSE+OPEN)*0.5,NODRAW;
实体三二:MIN(CLOSE,OPEN)+(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))*0.333,NODRAW;
VAR1:=STRCAT(HYBLOCK,5);
VAR2:=STRCAT(VAR1,DYBLOCK);
VAR3:=STRCAT(VAR2,5);
STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),3,0),COLORGRAY;
STICKLINE(REF(HIGH,1)<LOW,LOW,REF(HIGH,1),3,0),COLORGRAY;
VAR4:=MA(CLOSE,5);{WWW.BUYHAOGU.COM}
MA5角度:ATAN((VAR4/REF(VAR4,1)-1)*100)*180/3.1416,NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
VAR5:=REF(CLOSE,1);
VAR6:=IF(CLOSE>=1,10000,100000);
VAR7:=1.1*VAR5-49/VAR6;
VAR8:=1.05*VAR5-49/VAR6;
VAR9:=0.9*VAR5+51/VAR6;
VAR10:=0.95*VAR5+51/VAR6;
VAR11:=NAMELIKE(1) OR NAMELIKE(2);
VAR12:=IF(VAR11,CLOSE>=VAR8,CLOSE>=VAR7);
VAR13:=IF(VAR11,CLOSE<=VAR10,CLOSE<=VAR9);
VAR14:=IF(VAR11,HIGH>=VAR8,HIGH>=VAR7);
VAR15:=IF(VAR11,LOW<=VAR10,LOW<=VAR9);
STICKLINE(VAR14,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;
STICKLINE(VAR15,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN;
VAR16:=CLOSE>OPEN AND (CLOSE>=VAR8 OR CLOSE>1.05*OPEN-51/VAR6) OR (CLOSE>1000 AND CLOSE>VAR5*1.024);{WWW.BUYHAOGU.COM}
STICKLINE(VAR16,OPEN,CLOSE,1,0),COLOR0000BB;
VAR17:=CLOSE<OPEN AND (CLOSE<=VAR10 OR CLOSE<0.95*OPEN+49/VAR6) OR (CLOSE>1000 AND CLOSE<VAR5*0.976);{WWW.BUYHAOGU.COM}
STICKLINE(VAR17,OPEN,CLOSE,1,0),COLORLIGREEN;
STICKLINE(VAR12,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(VAR13,OPEN,CLOSE,1,0),COLORLICYAN;
VAR18:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(VAR18,OPEN,CLOSE,0,0),COLORRED;
VAR19:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1);
STICKLINE(VAR19,OPEN,CLOSE,0,0),COLORGREEN;
实体上三分之一MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),COLORGREEN,NODRAW;
实体下三分之一MAX(O,C)-MIN(O,C))/3+MIN(O,C),NODRAW;
实体二分之一O+C)/2,NODRAW;
整体上三分之一MAX(H,L)-MIN(H,L))*2/3+MIN(H,L),NODRAW;
整体下三分之一MAX(H,L)-MIN(H,L))/3+MIN(H,L),COLORYELLOW,NODRAW;
整体二分之一H+L)/2,COLORLIMAGENTA,NODRAW;
STICKLINE(O<>C,实体上三分之一,实体下三分之一,2,0),COLOR824173;
STICKLINE(O<>C,实体二分之一,实体二分之一,2,0),COLORGREEN;
回复

使用道具 举报

发表于 2020-11-8 21:46 | 显示全部楼层
三一:HIGH-(HIGH-LOW)*0.333,NODRAW;
二一HIGH+LOW)*0.5,NODRAW;
三分之二:HIGH-(HIGH-LOW)*0.666,NODRAW;
实体三一:MIN(CLOSE,OPEN)+(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))*0.666,NODRAW;
实体二一CLOSE+OPEN)*0.5,NODRAW;
实体三二:MIN(CLOSE,OPEN)+(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))*0.333,NODRAW;
VAR1:=STRCAT(HYBLOCK,5);
VAR2:=STRCAT(VAR1,DYBLOCK);
VAR3:=STRCAT(VAR2,5);
STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),3,0),COLORGRAY;
STICKLINE(REF(HIGH,1)<LOW,LOW,REF(HIGH,1),3,0),COLORGRAY;
VAR4:=MA(CLOSE,5);{WWW.BUYHAOGU.COM}
MA5角度:ATAN((VAR4/REF(VAR4,1)-1)*100)*180/3.1416,NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
VAR5:=REF(CLOSE,1);
VAR6:=IF(CLOSE>=1,10000,100000);
VAR7:=1.1*VAR5-49/VAR6;
VAR8:=1.05*VAR5-49/VAR6;
VAR9:=0.9*VAR5+51/VAR6;
VAR10:=0.95*VAR5+51/VAR6;
VAR11:=NAMELIKE(1) OR NAMELIKE(2);
VAR12:=IF(VAR11,CLOSE>=VAR8,CLOSE>=VAR7);
VAR13:=IF(VAR11,CLOSE<=VAR10,CLOSE<=VAR9);
VAR14:=IF(VAR11,HIGH>=VAR8,HIGH>=VAR7);
VAR15:=IF(VAR11,LOW<=VAR10,LOW<=VAR9);
STICKLINE(VAR14,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;
STICKLINE(VAR15,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN;
VAR16:=CLOSE>OPEN AND (CLOSE>=VAR8 OR CLOSE>1.05*OPEN-51/VAR6) OR (CLOSE>1000 AND CLOSE>VAR5*1.024);{WWW.BUYHAOGU.COM}
STICKLINE(VAR16,OPEN,CLOSE,1,0),COLOR0000BB;
VAR17:=CLOSE<OPEN AND (CLOSE<=VAR10 OR CLOSE<0.95*OPEN+49/VAR6) OR (CLOSE>1000 AND CLOSE<VAR5*0.976);{WWW.BUYHAOGU.COM}
STICKLINE(VAR17,OPEN,CLOSE,1,0),COLORLIGREEN;
STICKLINE(VAR12,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(VAR13,OPEN,CLOSE,1,0),COLORLICYAN;
VAR18:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(VAR18,OPEN,CLOSE,0,0),COLORRED;
VAR19:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1);
STICKLINE(VAR19,OPEN,CLOSE,0,0),COLORGREEN;
实体上三分之一MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),COLORGREEN,NODRAW;
实体下三分之一MAX(O,C)-MIN(O,C))/3+MIN(O,C),NODRAW;
实体二分之一O+C)/2,NODRAW;
整体上三分之一MAX(H,L)-MIN(H,L))*2/3+MIN(H,L),NODRAW;
整体下三分之一MAX(H,L)-MIN(H,L))/3+MIN(H,L),COLORYELLOW,NODRAW;
整体二分之一H+L)/2,COLORLIMAGENTA,NODRAW;
STICKLINE(O<>C,实体上三分之一,实体下三分之一,2,0),COLOR824173;
STICKLINE(O<>C,实体二分之一,实体二分之一,2,0),COLORGREEN;
回复

使用道具 举报

发表于 2020-11-8 07:40 | 显示全部楼层
三一:HIGH-(HIGH-LOW)*0.333,NODRAW;
二一HIGH+LOW)*0.5,NODRAW;
三分之二:HIGH-(HIGH-LOW)*0.666,NODRAW;
实体三一:MIN(CLOSE,OPEN)+(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))*0.666,NODRAW;
实体二一CLOSE+OPEN)*0.5,NODRAW;
实体三二:MIN(CLOSE,OPEN)+(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))*0.333,NODRAW;
VAR1:=STRCAT(HYBLOCK,5);
VAR2:=STRCAT(VAR1,DYBLOCK);
VAR3:=STRCAT(VAR2,5);
STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),3,0),COLORGRAY;
STICKLINE(REF(HIGH,1)<LOW,LOW,REF(HIGH,1),3,0),COLORGRAY;
VAR4:=MA(CLOSE,5);{WWW.BUYHAOGU.COM}
MA5角度:ATAN((VAR4/REF(VAR4,1)-1)*100)*180/3.1416,NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
VAR5:=REF(CLOSE,1);
VAR6:=IF(CLOSE>=1,10000,100000);
VAR7:=1.1*VAR5-49/VAR6;
VAR8:=1.05*VAR5-49/VAR6;
VAR9:=0.9*VAR5+51/VAR6;
VAR10:=0.95*VAR5+51/VAR6;
VAR11:=NAMELIKE(1) OR NAMELIKE(2);
VAR12:=IF(VAR11,CLOSE>=VAR8,CLOSE>=VAR7);
VAR13:=IF(VAR11,CLOSE<=VAR10,CLOSE<=VAR9);
VAR14:=IF(VAR11,HIGH>=VAR8,HIGH>=VAR7);
VAR15:=IF(VAR11,LOW<=VAR10,LOW<=VAR9);
STICKLINE(VAR14,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;
STICKLINE(VAR15,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN;
VAR16:=CLOSE>OPEN AND (CLOSE>=VAR8 OR CLOSE>1.05*OPEN-51/VAR6) OR (CLOSE>1000 AND CLOSE>VAR5*1.024);{WWW.BUYHAOGU.COM}
STICKLINE(VAR16,OPEN,CLOSE,1,0),COLOR0000BB;
VAR17:=CLOSE<OPEN AND (CLOSE<=VAR10 OR CLOSE<0.95*OPEN+49/VAR6) OR (CLOSE>1000 AND CLOSE<VAR5*0.976);{WWW.BUYHAOGU.COM}
STICKLINE(VAR17,OPEN,CLOSE,1,0),COLORLIGREEN;
STICKLINE(VAR12,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(VAR13,OPEN,CLOSE,1,0),COLORLICYAN;
VAR18:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(VAR18,OPEN,CLOSE,0,0),COLORRED;
VAR19:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1);
STICKLINE(VAR19,OPEN,CLOSE,0,0),COLORGREEN;
实体上三分之一MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),COLORGREEN,NODRAW;
实体下三分之一MAX(O,C)-MIN(O,C))/3+MIN(O,C),NODRAW;
实体二分之一O+C)/2,NODRAW;
整体上三分之一MAX(H,L)-MIN(H,L))*2/3+MIN(H,L),NODRAW;
整体下三分之一MAX(H,L)-MIN(H,L))/3+MIN(H,L),COLORYELLOW,NODRAW;
整体二分之一H+L)/2,COLORLIMAGENTA,NODRAW;
STICKLINE(O<>C,实体上三分之一,实体下三分之一,2,0),COLOR824173;
STICKLINE(O<>C,实体二分之一,实体二分之一,2,0),COLORGREEN;
回复

使用道具 举报

发表于 2018-5-23 07:32 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

发表于 2018-5-23 15:19 | 显示全部楼层
主图加强色并且标注:K线实体整体三一二一位
回复

使用道具 举报

发表于 2018-5-23 15:27 | 显示全部楼层
有新意,受益良多,谢谢楼主。
回复

使用道具 举报

发表于 2018-5-30 11:09 | 显示全部楼层
错误句 :
实体上三分之一:MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),COLORGREEN,NODRAW
详细信息 :  
错误起始位置 : 1626 ; 长度: 9
????
回复

使用道具 举报

发表于 2018-5-30 11:45 | 显示全部楼层
wsh1753 发表于 2018-5-30 11:09
错误句 :
实体上三分之一:MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),COLORGREEN,NODRAW
详细信息 :  

完整的代码发给我看看,我帮你改过来。
回复

使用道具 举报

发表于 2018-5-30 14:33 | 显示全部楼层
乐活虎 发表于 2018-5-30 11:45
完整的代码发给我看看,我帮你改过来。

怎么发给你?
回复

使用道具 举报

发表于 2018-5-30 14:34 | 显示全部楼层

就是楼主上面的代码
回复

使用道具 举报

发表于 2018-5-30 20:11 | 显示全部楼层
wsh1753 发表于 2018-5-30 14:34
就是楼主上面的代码

上面的代码在冒号后面加一个左括号应该就可以了。

可否将完整代码发给我学习下?
回复

使用道具 举报

发表于 2018-6-1 14:38 | 显示全部楼层
当前公式 : K线三一三二 (画线指标公式)  
错误句 :
二一HIGH+LOW)*0.5,NODRAW
详细信息 :  
错误起始位置 : 5 ; 长度: 4
回复

使用道具 举报

发表于 2018-6-1 17:25 | 显示全部楼层
公式有误,显示
当前公式 : K线3121 (画线指标公式)  
错误句 :
二一HIGH+LOW)*0.5,NODRAW
详细信息 :  
错误起始位置 : 5 ; 长度: 4
怎么修改?
回复

使用道具 举报

 楼主| 发表于 2018-6-6 06:07 | 显示全部楼层
二一后面加个:
有笑脸的地方应为:,论坛显示问题,我粘贴上去的是:
回复

使用道具 举报

发表于 2018-6-23 11:36 | 显示全部楼层
当前公式 : K3121 (画线指标公式)  
错误句 :  
详细信息 : 单词最大字符数不得超过 16 个
错误起始位置 : 1688 ; 长度: 9
回复

使用道具 举报

发表于 2018-8-19 20:04 | 显示全部楼层
谢谢                 
回复

使用道具 举报

发表于 2018-8-19 22:09 | 显示全部楼层
楼主能配个图吗?谢谢分享
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-13 10:38 , Processed in 0.114058 second(s), Total 16, Slave 15 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表