[/code] SHOPEN:=OPEN; SHHIGH:=HIGH; SHLOW:=LOW; SHCLOSE:=CLOSE; SHAMOUNT:=AMOUNT; SHVOL:=VOL; STICKLINE((SHOPEN >= SHCLOSE),SHCLOSE,SHOPEN,7,0),,colorFF2020; STICKLINE((SHOPEN >= SHCLOSE),SHCLOSE,SHOPEN,4,0),,colorFF2020; STICKLINE((SHOPEN >= SHCLOSE),SHCLOSE,SHOPEN,2,0),,colorFFFF00; STICKLINE((SHCLOSE > SHOPEN),SHCLOSE,SHOPEN,7,0),,color2020FF; STICKLINE((SHCLOSE > SHOPEN),SHCLOSE,SHOPEN,4,0),,colorB0B0FF; STICKLINE((SHCLOSE > SHOPEN),SHCLOSE,SHOPEN,2,0),,colorFFFF; STICKLINE((SHCLOSE > SHOPEN),SHOPEN,SHLOW,0.5,0),,colorFFFF; STICKLINE((SHCLOSE > SHOPEN),SHCLOSE,SHHIGH,0.5,0),,colorFFFF; STICKLINE((SHOPEN >= SHCLOSE),SHCLOSE,SHLOW,0.5,0),,colorFFFF80; STICKLINE((SHOPEN >= SHCLOSE),SHOPEN,SHHIGH,0.5,0),,colorFFFF80; STICKLINE(((SHCLOSE = SHOPEN) AND (SHCLOSE > REF(SHCLOSE,1))),SHCLOSE,SHOPEN,7,0),,color2020FF; STICKLINE(((SHCLOSE = SHOPEN) AND (SHCLOSE > REF(SHCLOSE,1))),SHCLOSE,SHHIGH,0.5,0),,color2020FF; STICKLINE(((SHCLOSE = SHOPEN) AND (SHCLOSE > REF(SHCLOSE,1))),SHOPEN,SHLOW,0.5,0),,color2020FF; CB:=IF(((SHCLOSE - ((SHAMOUNT / SHVOL) / 100)) > 100),(((((3 * SHCLOSE) + (2 * SHOPEN)) + SHHIGH) + SHLOW) / 7),((SHAMOUNT / SHVOL) / 100)); DRAWICON((CB > 0),CB,15),; BBI:((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4),; UPR:(BBI + (3 * STD(BBI,10))),; DWN:(BBI - (3 * STD(BBI,10))),; EXPLAINEX((VOL > 0),'當(dāng)日價(jià)格重心:',((SHAMOUNT / SHVOL) / 100),2,0),; EXPLAINEX((VOL > 0),'3日價(jià)格重心:',((SUM(SHAMOUNT,3) / SUM(SHVOL,3)) / 100),2,0),; EXPLAINEX((VOL > 0),'收盤價(jià):',CLOSE,2,0),; EXPLAIN((((SUM(SHAMOUNT,3) / SUM(SHVOL,3)) / 100) > REF(((SUM(SHAMOUNT,3) / SUM(SHVOL,3)) / 100),1)),'重心上移'),,colorFF; EXPLAIN((((SUM(SHAMOUNT,3) / SUM(SHVOL,3)) / 100) < REF(((SUM(SHAMOUNT,3) / SUM(SHVOL,3)) / 100),1)),'重心下移'),,colorFF00; EXPLAIN((CLOSE > ((SUM(SHAMOUNT,3) / SUM(SHVOL,3)) / 100)),'收盤價(jià)格在3日重心以上'),,colorFF; EXPLAIN((CLOSE < ((SUM(SHAMOUNT,3) / SUM(SHVOL,3)) / 100)),'收盤價(jià)格在3日重心以下'),,colorFF00; J12:=(HIGH - ((HIGH - LOW) / 3)); J23:=(LOW + ((HIGH - LOW) / 3)); EXPLAIN((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF((CLOSE <= J23),1,0)) > 1),'K線解說:極端行情,在未來的幾日內(nèi)有85%的機(jī)會(huì)變更方向'),,colorFF00FF; EXPLAIN(((((CLOSE > J23) AND (CLOSE < J12)) AND (OPEN > J23)) AND (OPEN < J12)),'K線解說:中性行情,多空雙方都未能取得當(dāng)日行情主動(dòng)性的控制權(quán)'),,colorFFFF00; EXPLAIN(((CLOSE >= J12) AND (OPEN <= J23)),'K線解說:爬升行情,整個(gè)交易期間都有買方主導(dǎo)'),,colorFF00FF; EXPLAIN((((OPEN <= J12) AND (OPEN >= J23)) AND (CLOSE > J12)),'K線解說:爬升行情,信息較少,但收盤期間是買方主導(dǎo),其他未知'),,colorFF00FF; EXPLAIN((((OPEN <= J23) AND (CLOSE <= J12)) AND (CLOSE >= J23)),'K線解說:爬升行情,信息最少,買方確實(shí)把收盤價(jià)拉升到開盤價(jià)之上,賣方卻也主導(dǎo)一段行情把價(jià)格壓低至最高價(jià)之下, ,然而我們不知道是誰主導(dǎo)最后的行情'),,colorFF0000; EXPLAIN(((CLOSE <= J23) AND (OPEN >= J12)),'K線解說:漂流行情,整個(gè)交易期間都有賣方主導(dǎo)'),,colorFF00; EXPLAIN((((OPEN <= J12) AND (OPEN >= J23)) AND (CLOSE < J23)),'K線解說:漂流行情,信息較少,但收盤期間是賣方主導(dǎo),其他未知'),,colorFF00; EXPLAIN((((OPEN >= J12) AND (CLOSE <= J12)) AND (CLOSE >= J23)),'K線解說:漂流行情,信息最少,賣方確實(shí)把收盤價(jià)壓至到開盤價(jià)之下,買方卻也主導(dǎo)一段行情把價(jià)格拉升至最低價(jià)之上, ,然而我們不知道是誰主導(dǎo)最后的行情'),,colorFF0000; EXPLAIN((((SHAMOUNT / SHVOL) / 100) > REF(HIGH,1)),'上漲趨勢(shì)'),,colorFF; EXPLAIN((((SHAMOUNT / SHVOL) / 100) < REF(LOW,1)),'下跌趨勢(shì)'),,colorFF00; [code] |
|