震荡市依然可以操作获利 堆金积玉 通达信指标 源码 贴图

2018-07-25 09:57:00来源:本站整理浏览:311

震荡市依然可以操作获利 堆金积玉 通达信指标 源码 贴图

{公式名称: 堆金积玉

公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无

参数精灵:无
用法注释:无
公式源码:}
堆金积玉 通达信指标 源码 贴图

点击下载堆金积玉 通达信指标 源码 贴图


VAR1:=LLVBARS(LOW,60);
VAR2:=BARSLAST(CURRBARSCOUNT=CONST(VAR1)+1);
VAR3:=FINDHIGHBARS(HIGH,VAR1+1,60,1);
VAR4:=BARSLAST(CURRBARSCOUNT=CONST(VAR3)+1);
VAR5:=REF((REF(HIGH,VAR4)-LOW)*0.618+LOW,VAR2);
VAR6:=IF(CLOSE>OPEN OR (CLOSE=OPEN AND CLOSE>=REF(CLOSE,1)),VOL,0);
VAR7:=IF(CLOSE<OPEN OR (CLOSE=OPEN AND CLOSE<REF(CLOSE,1)),VOL,0);
VAR8:=SUM(VAR6,VAR2)/SUM(VAR7,VAR2);
VAR9:=COUNT(CROSS(CLOSE>=VAR5,0.5),VAR2+1)=1 AND CROSS(CLOSE>=VAR5,0.5) AND VAR8>1.5;
VAR10:=COUNT(CROSS(CLOSE>=VAR5,0.5),VAR2+1)=1 AND CROSS(CLOSE>=VAR5,0.5) AND VAR8>1.5;
VAR11:=EMA(CLOSE,5);
VAR12:=EMA(CLOSE,10);
VAR13:=EMA(CLOSE,14);
VAR14:=EMA(CLOSE,18);
VAR15:=EMA(CLOSE,40);
VAR16:=EMA(CLOSE,60);
VAR17:=IF(1>=2442.459961*500,0,1);
VAR18:=MAX(MAX(MAX(MAX(MAX(VAR11,VAR12),VAR13),VAR14),VAR15),VAR16)*VAR17;
VAR19:=MIN(MIN(MIN(MIN(MIN(VAR11,VAR12),VAR13),VAR14),VAR15),VAR16)*VAR17;
VAR20:=IF(DATETODAY(DATE)<11700,1,DRAWNULL);
VAR21:=CLOSE>VAR18 AND LOW<VAR19 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*VAR17)/REF(CLOSE,1)>0.09)*VAR20;
VAR22:=FILTER(VAR21>0,0)=1*VAR20;
VAR23:=BARSLAST(MA(CLOSE,120)<REF(MA(CLOSE,120),1) OR MA(CLOSE,100)<REF(MA(CLOSE,100),1) OR MA(CLOSE,80)<REF(MA(CLOSE,80),1) OR MA(CLOSE,60)<REF(MA(CLOSE,60),1) OR MA(CLOSE,40)<REF(MA(CLOSE,40),1) OR MA(CLOSE,20)<REF(MA(CLOSE,20),1) OR MA(CLOSE,15)<REF(MA(CLOSE,15),1) OR MA(CLOSE,10)<REF(MA(CLOSE,10),1) OR MA(CLOSE,5)<REF(MA(CLOSE,5),1))=1 AND (BARSLAST(BARSLASTCOUNT(VOL>REF(VOL,1))>1 AND CLOSE>=OPEN)<3 OR (VOL>REF(VOL,1) AND REF(CLOSE,1)<=REF(OPEN,1))) AND (CLOSE>OPEN AND BARSLAST(LOW<MA(CLOSE,20))<5 AND BARSLAST(MA(CLOSE,5)<MA(CLOSE,10))<10 AND (HIGH>FINDHIGH(MAX(CLOSE,CLOSE),1,19,1) OR OPEN<MA(CLOSE,5)) AND (VOL>MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MA(VOL,3)*(1-2/88),MA(VOL,5)*(1-4/88)),MA(VOL,7)*(1-6/88)),MA(VOL,9)*(1-8/88)),MA(VOL,11)*(1-10/88)),MA(VOL,13)*(1-12/88)),MA(VOL,15)*(1-14/88)),MA(VOL,17)*(1-16/88)),MA(VOL,19)*(1-18/88)),MA(VOL,21)*(1-20/88)),MA(VOL,23)*(1-22/88)),MA(VOL,25)*(1-24/88)),MA(VOL,27)*(1-26/88)),MA(VOL,29)*(1-28/88)),MA(VOL,31)*(1-30/88)),MA(VOL,33)*(1-32/88)),MA(VOL,35)*(1-34/88)),MA(VOL,37)*(1-36/88)),MA(VOL,39)*(1-38/88)) OR VOL>MA(VOL,50)*(1+49/88)));
VAR24:=(BARSLAST(MA(CLOSE,240)<REF(MA(CLOSE,240),1) OR MA(CLOSE,200)<REF(MA(CLOSE,200),1) OR MA(CLOSE,160)<REF(MA(CLOSE,160),1) OR MA(CLOSE,120)<REF(MA(CLOSE,120),1) OR MA(CLOSE,80)<REF(MA(CLOSE,80),1) OR MA(CLOSE,40)<REF(MA(CLOSE,40),1) OR MA(CLOSE,30)<REF(MA(CLOSE,30),1) OR MA(CLOSE,20)<REF(MA(CLOSE,20),1) OR MA(CLOSE,10)<REF(MA(CLOSE,10),1))=1 AND (BARSLAST(BARSLASTCOUNT(VOL>REF(VOL,1))>1 AND CLOSE>=OPEN)<3 OR (VOL>REF(VOL,1) AND REF(CLOSE,1)<=REF(OPEN,1))) AND (CLOSE>OPEN AND BARSLAST(LOW<MA(CLOSE,20))<5 AND BARSLAST(MA(CLOSE,5)<MA(CLOSE,10))<10 AND (HIGH>FINDHIGH(MAX(CLOSE,CLOSE),1,19,1) OR OPEN<MA(CLOSE,5)) AND (VOL>MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MA(VOL,3)*(1-2/88)*VAR17,MA(VOL,5)*(1-4/88)),MA(VOL,7)*(1-6/88)),MA(VOL,9)*(1-8/88)),MA(VOL,11)*(1-10/88)),MA(VOL,13)*(1-12/88)),MA(VOL,15)*(1-14/88)),MA(VOL,17)*(1-16/88)),MA(VOL,19)*(1-18/88)),MA(VOL,21)*(1-20/88)),MA(VOL,23)*(1-22/88)),MA(VOL,25)*(1-24/88)),MA(VOL,27)*(1-26/88)),MA(VOL,29)*(1-28/88)),MA(VOL,31)*(1-30/88)),MA(VOL,33)*(1-32/88)),MA(VOL,35)*(1-34/88)),MA(VOL,37)*(1-36/88)),MA(VOL,39)*(1-38/88)) OR VOL>MA(VOL,50)*(1+49/88))))*VAR20;
VAR25:=(BARSLAST(MA(CLOSE,360)<REF(MA(CLOSE,360),1) OR MA(CLOSE,300)<REF(MA(CLOSE,300),1) OR MA(CLOSE,240)<REF(MA(CLOSE,240),1) OR MA(CLOSE,180)<REF(MA(CLOSE,180),1) OR MA(CLOSE,120)<REF(MA(CLOSE,120),1) OR MA(CLOSE,60)<REF(MA(CLOSE,60),1) OR MA(CLOSE,45)<REF(MA(CLOSE,45),1) OR MA(CLOSE,30)<REF(MA(CLOSE,30),1) OR MA(CLOSE,15)<REF(MA(CLOSE,15),1))=1 AND (BARSLAST(BARSLASTCOUNT(VOL>REF(VOL,1))>1 AND CLOSE>=OPEN)<3 OR (VOL>REF(VOL,1) AND REF(CLOSE,1)<=REF(OPEN,1))) AND (CLOSE>OPEN AND BARSLAST(LOW<MA(CLOSE,20))<5 AND BARSLAST(MA(CLOSE,5)<MA(CLOSE,10))<10 AND (HIGH>FINDHIGH(MAX(CLOSE,CLOSE),1,19,1) OR OPEN<MA(CLOSE,5)) AND (VOL>MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MA(VOL,30)*(1-2/88)*VAR17,MA(VOL,50)*(1-4/88)),MA(VOL,70)*(1-6/88)),MA(VOL,90)*(1-8/88)),MA(VOL,110)*(1-10/88)),MA(VOL,130)*(1-12/88)),MA(VOL,150)*(1-14/88)),MA(VOL,170)*(1-16/88)),MA(VOL,190)*(1-18/88)),MA(VOL,210)*(1-20/88)),MA(VOL,230)*(1-22/88)),MA(VOL,250)*(1-24/88)),MA(VOL,270)*(1-26/88)),MA(VOL,290)*(1-28/88)),MA(VOL,310)*(1-30/88)),MA(VOL,330)*(1-32/88)),MA(VOL,350)*(1-34/88)),MA(VOL,370)*(1-36/88)),MA(VOL,390)*(1-38/88)) OR VOL>MA(VOL,50)*(1+49/88))))*VAR20;
VAR26:=BARSLAST(MA(CLOSE,480)<REF(MA(CLOSE,480),1) OR MA(CLOSE,400)<REF(MA(CLOSE,400),1) OR MA(CLOSE,320)<REF(MA(CLOSE,320),1) OR MA(CLOSE,240)<REF(MA(CLOSE,240),1) OR MA(CLOSE,160)<REF(MA(CLOSE,160),1) OR MA(CLOSE,80)<REF(MA(CLOSE,80),1) OR MA(CLOSE,60)<REF(MA(CLOSE,60),1) OR MA(CLOSE,40)<REF(MA(CLOSE,40),1) OR MA(CLOSE,20)<REF(MA(CLOSE,20),1))=1 AND (BARSLAST(BARSLASTCOUNT(VOL>REF(VOL,1))>1 AND CLOSE>=OPEN)<3 OR (VOL>REF(VOL,1) AND REF(CLOSE,1)<=REF(OPEN,1))) AND (CLOSE>OPEN AND BARSLAST(LOW<MA(CLOSE,20))<5 AND BARSLAST(MA(CLOSE,5)<MA(CLOSE,10))<10 AND (HIGH>FINDHIGH(MAX(CLOSE,CLOSE),1,19,1) OR OPEN<MA(CLOSE,5)) AND (VOL>MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MA(VOL,3)*(1-2/88),MA(VOL,5)*(1-4/88)),MA(VOL,7)*(1-6/88)),MA(VOL,9)*(1-8/88)),MA(VOL,11)*(1-10/88)),MA(VOL,13)*(1-12/88)),MA(VOL,15)*(1-14/88)),MA(VOL,17)*(1-16/88)),MA(VOL,19)*(1-18/88)),MA(VOL,21)*(1-20/88)),MA(VOL,23)*(1-22/88)),MA(VOL,25)*(1-24/88)),MA(VOL,27)*(1-26/88)),MA(VOL,29)*(1-28/88)),MA(VOL,31)*(1-30/88)),MA(VOL,33)*(1-32/88)),MA(VOL,35)*(1-34/88)),MA(VOL,37)*(1-36/88)),MA(VOL,39)*(1-38/88)) OR VOL>MA(VOL,50)*(1+49/88)));
VAR27:=(BARSLAST(MA(CLOSE,600)<REF(MA(CLOSE,600),1) OR MA(CLOSE,500)<REF(MA(CLOSE,500),1) OR MA(CLOSE,400)<REF(MA(CLOSE,400),1) OR MA(CLOSE,300)<REF(MA(CLOSE,300),1) OR MA(CLOSE,200)<REF(MA(CLOSE,200),1) OR MA(CLOSE,100)<REF(MA(CLOSE,100),1) OR MA(CLOSE,75)<REF(MA(CLOSE,75),1) OR MA(CLOSE,50)<REF(MA(CLOSE,50),1) OR MA(CLOSE,25)<REF(MA(CLOSE,25),1))=1 AND (BARSLAST(BARSLASTCOUNT(VOL>REF(VOL,1))>1 AND CLOSE>=OPEN)<3 OR (VOL>REF(VOL,1) AND REF(CLOSE,1)<=REF(OPEN,1))) AND (CLOSE>OPEN AND BARSLAST(LOW<MA(CLOSE,20))<5 AND BARSLAST(MA(CLOSE,5)<MA(CLOSE,10))<10 AND (HIGH>FINDHIGH(MAX(CLOSE,CLOSE),1,19,1) OR OPEN<MA(CLOSE,5)) AND (VOL>MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MA(VOL,3)*(1-2/88),MA(VOL,5)*(1-4/88)),MA(VOL,7)*(1-6/88)),MA(VOL,9)*(1-8/88)),MA(VOL,11)*(1-10/88)),MA(VOL,13)*(1-12/88)),MA(VOL,15)*(1-14/88)),MA(VOL,17)*(1-16/88)),MA(VOL,19)*(1-18/88)),MA(VOL,21)*(1-20/88)),MA(VOL,23)*(1-22/88)),MA(VOL,25)*(1-24/88)),MA(VOL,27)*(1-26/88)),MA(VOL,29)*(1-28/88)),MA(VOL,31)*(1-30/88)),MA(VOL,33)*(1-32/88)),MA(VOL,35)*(1-34/88)),MA(VOL,37)*(1-36/88)),MA(VOL,39)*(1-38/88)) OR VOL>MA(VOL,50)*(1+49/88)))*VAR17)*VAR20;
VAR28:=DATETODAY(DATE);
VAR29:=VAR28>9480 AND VAR28<9510;
VAR30:=VAR23*VAR29;
VAR31:=VAR23+VAR24+VAR25+VAR26+VAR27>=4;
GYJ:(VAR31 OR VAR30)*VAR20*VAR17,COLORRED;
STICKLINE(IF(GYJ,(-120),0),150,0,7,0),COLOR000044;
STICKLINE(IF(GYJ,(-120),0),150,0,6,0),COLOR000033;
STICKLINE(IF(GYJ,(-120),0),150,0,5,0),COLOR000055;
STICKLINE(IF(GYJ,(-120),0),150,0,4,0),COLOR000077;
STICKLINE(IF(GYJ,(-120),0),150,0,3,0),COLOR000099;
STICKLINE(IF(GYJ,(-120),0),150,0,2,0),COLORLIMAGENTA;
STICKLINE(IF(GYJ,(-120),0),120,0,6,0),COLOR00BBFF;
STICKLINE(IF(GYJ,(-120),0),120,0,5,0),COLOR00BBFF;
STICKLINE(IF(GYJ,(-120),0),120,0,4,0),COLOR00BBFF;
STICKLINE(IF(GYJ,(-120),0),120,0,3,0),COLOR00CCFF;
STICKLINE(IF(GYJ,(-120),0),120,0,2,0),COLOR00DDFF;
STICKLINE(IF(GYJ,(-120),0),120,0,1,0),COLOR00EEFF;
STICKLINE(IF(GYJ,(-120),0),120,0,0.9,0),COLORYELLOW;
STICKLINE(IF(GYJ,(-120),0),120,0,0.3,0),COLORYELLOW;
STICKLINE(IF(GYJ,(-120),0),90,0,7,0),COLOR770077;
STICKLINE(IF(GYJ,(-120),0),90,0,6,0),COLOR990099;
STICKLINE(IF(GYJ,(-120),0),90,0,5,0),COLORBB00BB;
STICKLINE(IF(GYJ,(-120),0),90,0,4,0),COLORDD00DD;
STICKLINE(IF(GYJ,(-120),0),90,0,3,0),COLORMAGENTA;
STICKLINE(IF(GYJ,(-120),0),90,0,2,0),COLORDD00DD;
STICKLINE(IF(GYJ,(-120),0),60,0,7,0),COLOR003300;
STICKLINE(IF(GYJ,(-120),0),60,0,6,0),COLOR005500;
STICKLINE(IF(GYJ,(-120),0),60,0,5,0),COLOR007700;
STICKLINE(IF(GYJ,(-120),0),60,0,3.5,0),COLOR009900;
STICKLINE(IF(GYJ,(-120),0),60,0,2,0),COLOR00CC00;
STICKLINE(IF(GYJ,(-120),0),30,0,7,0),COLOR000044;
STICKLINE(IF(GYJ,(-120),0),30,0,6,0),COLOR000033;
STICKLINE(IF(GYJ,(-120),0),30,0,5,0),COLOR000055;
STICKLINE(IF(GYJ,(-120),0),30,0,4,0),COLOR000077;
STICKLINE(IF(GYJ,(-120),0),30,0,3,0),COLOR000099;
STICKLINE(IF(GYJ,(-120),0),30,0,2,0),COLORLIMAGENTA;

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式