标K主升浪 转载和谐完全加密通达信指标!

[复制链接]
查看65 | 回复0 | 2022-6-27 22:12:09 | 显示全部楼层 |阅读模式

 {公式名称: 标K主升浪

公式描述: 
参数数量: 1
参数1: N, 最小: 0, 最大: 10, 缺省: 4
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
 
参数精灵:
请设置计算参数:
N: PARAM#0 (0.00--10.00)
用法注释:无
公式源码:}
 
VAR1:=(CLOSE/REF(CLOSE,1)-1)*100>N;
VAR2:=CROSS(KDJ.K,80);
VAR3:=CLOSE>MA(CLOSE,20);
VAR4:=VOL>REF(VOL,1)*1.5;
VAR5:=VAR1 AND VAR2 AND VAR3 AND VAR4;
STICKLINE(VAR5,OPEN,CLOSE,2.5,0),COLORFF1CAE;
VAR6:=HHV(HIGH,2);
VAR7:=LLV(LOW,2);
{WWW.70822.com}
NOTEXT1:DRAWLINE(VAR5,VAR6,REF(VAR5,1),REF(VAR6,1),1);
NOTEXT2:DRAWLINE(VAR5,VAR7,REF(VAR5,1),REF(VAR7,1),1);
VAR8:=REF(CLOSE,1);
VAR9:=IF((CLOSE-VAR8)*100/VAR8>=10-0.01*100/VAR8,1,0);
STICKLINE(VAR9,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(VAR9,HIGH,LOW,0,0),COLORD8D8BF;
VAR10:=DATE>REF(DATE,1);
VAR11:=BARSLAST(VAR10)+1;
VAR12:=REF(IF(VAR11=1,1,VAR11),VAR11);
VAR13:=CONST(REF(HHV(HIGH,VAR12),VAR11));
VAR14:=CONST(REF(LLV(LOW,VAR12),VAR11));
VAR15:=MA(AMOUNT,VAR12)/MA(VOL,VAR12)/100;
VAR16:=REF(MA((HIGH+OPEN+LOW+CLOSE)/4,VAR12),VAR11);
VAR17:=IF(CAPITAL>0,REF(VAR15,VAR11),VAR16);
VAR18:=IF(CURRBARSCOUNT<=CONST(VAR12+VAR11),VAR13,DRAWNULL);
VAR19:=IF(CURRBARSCOUNT<=CONST(VAR12+VAR11),VAR14,DRAWNULL);
VAR20:=IF(CURRBARSCOUNT<=CONST(VAR12+VAR11),CONST(VAR17),DRAWNULL);
VAR21:=ABS(CLOSE-OPEN)/IF(HIGH-LOW=0,100,HIGH-LOW);
VAR22:=ABS(CLOSE-OPEN)/OPEN;
股票21位:IF(CODELIKE(31),(HIGH-LOW)*0.5+LOW,IF(CLOSE>OPEN,(CLOSE-OPEN)*0.5+OPEN,(OPEN-CLOSE)*0.5+CLOSE)),NODRAW;
STICKLINE(VAR22>=0.03 AND VAR21>=0.03,股票21位,股票21位,(-1),0),COLORMAGENTA;
VAR23:=BARSLAST(REF(CROSS(MACD.DEA,MACD.DIF),1));
VAR24:=REF(CLOSE,VAR23+1)<CLOSE AND REF(MACD.DIF,VAR23+1)>MACD.DIF AND CROSS(MACD.DEA,MACD.DIF);
STICKLINE(VAR24,OPEN,CLOSE,2,0),COLORE6E8FA;
STICKLINE(VAR24,HIGH,LOW,0,0),COLORE6E8FA;
IF(KDJ.J<(-10),LOW*0.99,DRAWNULL),POINTDOT,LINETHICK8;
均5:MA(CLOSE,5),COLORYELLOW;
均20:MA(CLOSE,20),COLORRED,LINETHICK2;
均60:MA(CLOSE,60),COLORGREEN,LINETHICK2;
均250:MA(CLOSE,250);{WWW.70822.com}
VAR25:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR26:=BARSLASTCOUNT(CLOSE<OPEN);
VAR27:=BARSLAST(VAR26=1);
 

p20185517405067725.jpg

p20185517405067725.jpg

20185517405864369.rar

3.66 KB, 下载次数: 0

售价: 4 金钱  [记录]  [购买]

20185517405864369.rar

回复

使用道具 举报

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

本版积分规则