這是個多的公式,麻煩改成空的公式,謝謝! [博易POBO]
咨詢內容:
V2:=SMA(SMA(V1,3,1),3,1)/28.57;
V3:=EMA(V2,5);
V4:=3*V2-2*V3;
V5:=CROSS(V4,V2) AND V2<2.1 AND C>O;
DRAWTEXT(V5,L*0.9995,'干'),COLORYELLOW,ALIGN0;
V6:=CROSS(V4,V2) AND V2<2.1 AND C>O AND V>REF(HHV(V,7),1);;
DRAWTEXT(V6,L*0.9995,'狠干'),COLORYELLOW,ALIGN0;
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
V7:=(C-MA(C,5))/MA(C,5)*100;
V8:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416;
V9:=(C-MA30)/MA30*100;
JC:=CROSS(0,V7)AND V9<REF(V9,1)AND MA10>REF(MA10,1) ;
V11:=FILTER(JC,10);
MR:=COUNT(CROSS(V7,0),3)>=1AND V9>REF(V9,1)AND MA(C,5)>REF(MA(C,5),1)AND (C/REF(C,1)-1)*100>5AND REF(C,1)<MA20;
V12:=FILTER(MR,9);
? V1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
V2:SMA(SMA(V1,3,1),3,1)/28.57,PRECISION4,NODRAW;
V3:=EMA(V2,5);
V4:=3*V2-2*V3;
V5:=CROSS(V2,V4)ANDV2>2.5ANDC<O;
DRAWTEXT(V5,H*1.003,'空'),COLORYELLOW,ALIGN0;
V6:=CROSS(V2,V4)ANDV2>2.5ANDC<OANDV>REF(HHV(V,7),1);;
DRAWTEXT(V6,H*1.003,'大空'),COLORYELLOW,ALIGN0;
? 來源 程序化久久網
這是個多的公式,麻煩改成空的公式,謝謝!
V1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V2:=SMA(SMA(V1,3,1),3,1)/28.57;
V3:=EMA(V2,5);
V4:=3*V2-2*V3;
V5:=CROSS(V4,V2) AND V2<2.1 AND C>O;
DRAWTEXT(V5,L*0.9995,'干'),COLORYELLOW,ALIGN0;
V6:=CROSS(V4,V2) AND V2<2.1 AND C>O AND V>REF(HHV(V,7),1);;
DRAWTEXT(V6,L*0.9995,'狠干'),COLORYELLOW,ALIGN0;
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
V7:=(C-MA(C,5))/MA(C,5)*100;
V8:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416;
V9:=(C-MA30)/MA30*100;
JC:=CROSS(0,V7)AND V9<REF(V9,1)AND MA10>REF(MA10,1) ;
V11:=FILTER(JC,10);
MR:=COUNT(CROSS(V7,0),3)>=1AND V9>REF(V9,1)AND MA(C,5)>REF(MA(C,5),1)AND (C/REF(C,1)-1)*100>5AND REF(C,1)<MA20;
V12:=FILTER(MR,9);
?
?來源:程序化99網( www.tumamayizhan.com )
博易技術人員: 請問樓主?? 干和狠干 有何區別? V1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
V2:SMA(SMA(V1,3,1),3,1)/28.57,PRECISION4,NODRAW;
V3:=EMA(V2,5);
V4:=3*V2-2*V3;
V5:=CROSS(V2,V4)ANDV2>2.5ANDC<O;
DRAWTEXT(V5,H*1.003,'空'),COLORYELLOW,ALIGN0;
V6:=CROSS(V2,V4)ANDV2>2.5ANDC<OANDV>REF(HHV(V,7),1);;
DRAWTEXT(V6,H*1.003,'大空'),COLORYELLOW,ALIGN0;
? 來源 程序化久久網
有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友
可聯系技術人員 QQ: 262069696 或微信號:cxh99cxh99 進行 有償收費 編寫!
(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關文章
-
沒有相關內容