通达信短线抄大底指标公式绿色卖出
N:=3;
QVAR1:=MA(HHV(HIGH,485),17);
QVAR2:=MA(HHV(HIGH,222),17);
QVAR3:=MA(HHV(HIGH,96),17);
QVAR4:=MA(LLV(LOW,485),17);
QVAR5:=MA(LLV(LOW,222),17);
QVAR6:=MA(LLV(LOW,96),17);
QVAR7:=MA((QVAR4*0.96+QVAR5*0.96+QVAR6*0.96+QVAR1*0.558+QVAR2*0.558+QVAR3*0.558)/6,17);
QVAR8:=MA((QVAR4*1.25+QVAR5*1.23+QVAR6*1.2+QVAR1*0.55+QVAR2*0.55+QVAR3*0.65)/6,17);
QVAR9:=MA((QVAR4*1.3+QVAR5*1.3+QVAR6*1.3+QVAR1*0.68+QVAR2*0.68+QVAR3*0.68)/6,17);
QVARA:=MA((QVAR7*3+QVAR8*2+QVAR9)/6*1.738,17);
QVARB:=IF(1<=1050531,QVARA,QVARA*DAY);
QVARC:=LOW;
QVARD:=REF(LOW,1);
QVARE:=SMA(ABS(QVARC-QVARD),3,1)/SMA(MAX(QVARC-QVARD,0),N,1)*100;
QVARF:=MA(IF(CLOSE*1.35<=QVARB,QVARE*10,QVARE/10),N);
QVAR10:=LLV(LOW,30);
QVAR11:=HHV(QVARF,30);
QVAR12:=1990831;
绝佳买点:=IF(1<=QVAR12,MA(IF(LOW<=QVAR10,(QVARF+QVAR11*2)/2,0),N),100000000);
I:=IF(CLOSE<REF(CLOSE,1),VOL/CAPITAL*10053,0);
骤雨初晴:= ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0.04,1,0);
短线买1:=IF(绝佳买点>500 AND 绝佳买点>2500,1,0),COLORYELLOW,LINETHICK1;
中线买1:=IF(绝佳买点>10000 AND 绝佳买点>20000,2,0),COLORFF00FF,LINETHICK2;
T1:=(中线买1 AND C>O)*4;
T21:=CROSS(T1,0.5);
T3:=BARSSINCEN(中线买1,100)<=100;
T4:=((短线买1 AND C>O) AND (T3 OR 中线买1))*2;
短线买柱子:CROSS(T4,短线买1),NODRAW,COLORYELLOW;
短线买:(IF(绝佳买点>500 AND 绝佳买点>2500,1,0))*20,COLORYELLOW;
STICKLINE(T21,60,0,2,0 ),COLORMAGENTA;
中线买:(IF(绝佳买点>10000 AND 绝佳买点>20000,2,0))*20,COLORMAGENTA,LINETHICK3;
SJ1:=1151228;
SJ2:=IF(1<SJ1,1,0);
VAR1:=SJ2*(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100<-30;
VAR2:=SJ2*(CLOSE-MA(CLOSE,120))/MA(CLOSE,120)*100<-27;
VAR3:=VAR1 AND VAR2;
VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND 1 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5));
VAR5:=SJ2*DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);
VAR6:=SJ2*(CLOSE-VAR5)/VAR5*100;
VAR7:=REF(VAR6,1)<-42 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)<REF(VAR6,2) AND VAR6-REF(VAR6,1)>1.8;
VAR21:=SJ2*DMA(CLOSE,VOL/MA(VOL,4)/4);
VAR22:=SJ2*DMA(CLOSE,VOL/MA(VOL,33)/33);
VAR23:=SJ2*(CLOSE-VAR1)/VAR21*100<-11;
VAR24:=SJ2*(VAR21-VAR22)/VAR22*100<-22.3;
VAR25:=VAR23 AND VAR24 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));
VAR26:=SJ2*DMA(CLOSE,VOL/MA(VOL,3)/3);
VAR27:=SJ2*DMA(CLOSE,VOL/MA(VOL,33)/33);
VAR28:=(CLOSE-VAR26)/VAR26*100<-5;
VAR29:=(VAR26-VAR27)/VAR27*100<-18;
VAR2A:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;
VAR2B:=SMA(VAR2A,30,1);
VAR2C:=SMA(VAR2B,50,1);
VAR2D:=VAR28 AND VAR29 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND VAR2C<20;
VAR2E:=VAR2D AND COUNT(VAR2D,2)=1;
大底确立:(SJ2*IF(VAR25 OR VAR2E,50,0)),COLORYELLOW,LINETHICK3;
VAR31:=DMA(CLOSE,VOL/MA(VOL,4)/4);
VAR32:=DMA(CLOSE,VOL/MA(VOL,32)/32);
VAR33:=(CLOSE-VAR31)/VAR31*100<-8;
VAR34:=(VAR31-VAR32)/VAR32*100<-21;
VAR35:=VAR33 AND VAR34 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));
VAR36:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;
VAR37:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;
VAR38:=SMA(VAR37,50,1);
VAR39:=SMA(VAR38,40,1);
VAR3A:=VAR36 AND VAR39<23 AND COUNT(VAR36,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1)>0.96;
VAR1Z:=SJ2*1;
VAR3Z:=SJ2*MA(CLOSE,13);
VAR4Z:=SJ2*100-ABS((CLOSE-VAR3Z)/VAR3Z*100);
- 上一篇公式:通达信九散指标公式
- 下一篇公式:通达信超级小黄鸡自创指标,配合大趋势95%准确率