VAR1:=1.1*CLOSE;
VAR2:=0.9*CLOSE;
VAR3:=100*(WINNER(VAR1)-WINNER(VAR2));
VAR4:=SMA((C-LLV(L,26))/(HHV(H,26)-LLV(L,26))*20,8,1)*5;
VAR5:=3*VAR4-2*(Sma(VAR4,3,1)),COLORRED;
VAR6:=EMA(VAR5,8),COLOR00FF00;
VAR9:=AMOUNT/VOL/100;
VAR10:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR12:=SUM(AMOUNT,13)/VAR9/100;
VAR13:=SUM(AMOUNT,34)/VAR9/100;
VAR14:=DMA(VAR10,VOL/VAR12);
VAR15:=DMA(VAR10,VOL/VAR13);
VAR16:=100*(CLOSE-VAR14)/VAR14;
VAR17:=100*(CLOSE-VAR15)/VAR15;
VAR18:=VAR3<48 AND VAR16<-8 AND VAR17<-10 AND VAR5<20;
伏击区:VAR18;
九毛八公式解读
VAR1赋值:1.1*收盘价 VAR2赋值:0.9*收盘价 VAR3赋值:100*(以VAR1计算的获利盘比例-以VAR2计算的获利盘比例) VAR4赋值:(收盘价-26日内最低价的最低值)/(26日内最高价的最高值-26日内最低价的最低值)*20的8日[1日权重]移动平均*5 VAR5赋值:3*VAR4-2*(VAR4的3日[1日权重]移动平均),画红色 VAR6赋值:VAR5的8日指数移动平均,COLOR00FF00 VAR9赋值:成交额(元)/成交量(手)/100 VAR10赋值:(3*最高价+最低价+开盘价+2*收盘价)/7 VAR12赋值:成交额(元)的13日累和/VAR9/100 VAR13赋值:成交额(元)的34日累和/VAR9/100 VAR14赋值:以成交量(手)/VAR12为权重VAR10的动态移动平均 VAR15赋值:以成交量(手)/VAR13为权重VAR10的动态移动平均 VAR16赋值:100*(收盘价-VAR14)/VAR14 VAR17赋值:100*(收盘价-VAR15)/VAR15 VAR18赋值:VAR3<48 AND VAR16<-8 AND VAR17<-10 AND VAR5<20 输出伏击区:VAR18