以下是黄线下买.资金2上加仓

SHORT:=12;
 LONG:=26;
 MID:=9;
 DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
 DEA:EMA(DIF,MID);
 MACD:(DIF-DEA)*2,COLORSTICK;

LC:=REF(CLOSE,1);
 RSI2:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
资金1:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,2),COLORRED;
资金2:EMA(资金1,2),COLORCYAN;
 N:=2;
快线:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORLIMAGENTA;
 Q:=2;
 MM:=2;
 MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),Q);
 HD :=HIGH-REF(HIGH,1);
 LD :=REF(LOW,1)-LOW;
 DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),Q);
 DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),Q);
下买: DMM*100/MTR,COLORYELLOW,LINETHICK2;
 T:=IF((BARSCOUNT(C)>2),(100)*((MA(C,2))/(LLV(MA(C,2),2))-1),1);
 U:=IF((T>0.35),2,3);
 W:=((-((100)*(HHV(H,U)- C))/(HHV(HIGH,U) – LLV(L,U))));
 RV:=(CLOSE-LLV(LOW,2))/(HHV(HIGH,2)-LLV(LOW,2))*100;
 RG:=(CLOSE-LLV(LOW,2))/(HHV(HIGH,2)-LLV(LOW,2))*100;
 VAR4:=SMA(RV,2,1);
 VAR5:=SMA(VAR4,2,1);
 KK:=EMA(SMA(RG,2,1),2);
 DD:=SMA(KK,2,1);
涨停:CROSS(W,-2) AND CROSS(VAR4,VAR5) AND CROSS(KK,DD);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。