一年十二倍主圖指標(biāo)優(yōu)化源碼[其他軟件公式]
相關(guān)標(biāo)簽: 一年十二倍主圖指標(biāo)優(yōu)化源碼,倍量柱選股公式源碼 、 dnf倍攻源碼 、 倍工源碼 、 qq炫舞內(nèi)存優(yōu)化源碼 、 優(yōu)化成交量公式源碼 、 優(yōu)化電影源碼 、 優(yōu)化布林線(xiàn)源碼 、 蟻群優(yōu)化算法源碼 、 優(yōu)化布林極限指標(biāo)源碼 、
一年十二倍主圖指標(biāo)優(yōu)化源碼(主圖源碼):
R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
K:=EMA(R,3);
D:=EMA(K,3);
陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1);
N:=IF((陡峭度 > 0.35),6,65);
VAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 20070110));
VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 20070110));
獲利盤(pán):=(WINNER(CLOSE))*(100);
獲利線(xiàn):=FORCAST(獲利盤(pán),7);
線(xiàn):=(FORCAST(VAR1A,7))*((DATE < 20070110));
滿(mǎn)倉(cāng):=((線(xiàn) > ref(線(xiàn),1)) and (線(xiàn) < 25) and (COUNT((線(xiàn) > ref(線(xiàn),1)),5) = 1) and IF((N = 6),(獲利盤(pán) < 60),(獲利盤(pán) < 40)) and (COUNT((獲利線(xiàn) > 20),20) > 0));
DRAWTEXT(滿(mǎn)倉(cāng),LOW*0.98,'滿(mǎn)倉(cāng)'),ColorRED;
輕倉(cāng):=IF((獲利盤(pán) >= 60) and (線(xiàn) > ref(線(xiàn),1)) and (ref(線(xiàn),1) < 20) and (線(xiàn) < 40) and (COUNT((線(xiàn) > ref(線(xiàn),1)),5) = 1) and (ref(N,1) = 6),1,0);
DRAWTEXT(輕倉(cāng),LOW*0.98,'輕倉(cāng)'),ColorYELLOW;
出擊:=CROSS(線(xiàn),20) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,(線(xiàn) > D) or (K > D) and (D < 60)) and IF((N = 6),(獲利盤(pán) < 70),(獲利盤(pán) < 40)) and (COUNT((獲利線(xiàn) > 20),20) > 0); {文章來(lái)至程序化交易網(wǎng) cxh99.com}
DRAWTEXT(出擊,LOW*0.98,'出擊'),colorMAGENTA;
進(jìn)一:=CROSS(線(xiàn),D) and (D > 30) and (D > ref(D,1)) and (D < 80);
進(jìn)二:=CROSS(線(xiàn),獲利線(xiàn)) and (D > 30) and (獲利線(xiàn) > 25) and (D > ref(D,1));
低進(jìn):=IF(進(jìn)一 and (D > 獲利線(xiàn)),進(jìn)二,進(jìn)一);
DRAWTEXT(低進(jìn),LOW*0.98,'低進(jìn)'),ColorRED;
DRAWTEXT(進(jìn)二,LOW*0.99,'高進(jìn)'),ColorGRAY;
狂喜:=(CROSS(VAR1,(-2)));
DRAWTEXT(狂喜,(LOW*0.98),'要漲停'),coloryelLOW;
狂喜過(guò)望:=((VAR1 = 0));
恐慌:=(VAR1 < -94); {本文來(lái)源:'www.328588.com '}
DRAWTEXT(恐慌,(LOW*0.98),'恐慌'),ColorGREEN;
極度恐慌:=(-40)*(VAR1 = (-100));
DRAWTEXT(極度恐慌,(LOW*0.95),'極度恐慌'),ColorWHITE;
半倉(cāng):=(CROSS(VAR1,(-94)) and (COUNT(恐慌,5) > 0) and (N = ref(N,1)) and IF((N = 6),(獲利盤(pán) < 60),(獲利盤(pán) < 40)) and (COUNT((獲利線(xiàn) > 20),20) > 0));
DRAWTEXT(半倉(cāng),LOW*0.95,'半倉(cāng)'),ColorWHITE;
加倉(cāng):=(CROSS(K,20) and (COUNT(半倉(cāng),5) > 0));
DRAWTEXT(加倉(cāng),LOW*0.98,'加倉(cāng)'),ColorRED;
背離:=(COUNT(恐慌,2) > 0) and (CLOSE < ref(CLOSE,1)) and (VAR1 > ref(VAR1,1));
DRAWICON(背離,HIGH*1.02,1),ColorGRAY;
MA1:=(LOW+HIGH+CLOSE)/3; {[飛狐]此段可以源碼引入}
MA2:= MA(MA1,2);
箱頂:HHV(MA2,13),coloryelLOW,LINETHICK2;
箱底:LLV(MA2,13),colorwhite,LINETHICK2;
五日均價(jià):MA(C,5),colorred,LINETHICK1;
十日均價(jià):MA(C,10),colorwhite,LINETHICK1;
二十日均價(jià):MA(C,20),colorgreen,LINETHICK1;
六十日均價(jià):MA(C,60),coloree66ee,LINETHICK1;
如果以上指標(biāo)公式不適用于您常用的行情軟件
或者您想改編成選股公式,以便快速選出某種形態(tài)個(gè)股的話(huà),
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容