通達(dá)信風(fēng)險(xiǎn)量化組合趨勢(shì)投資指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 趨勢(shì)
- 畫線方法: 主圖
- 日期:2019-08-10 來源:互聯(lián)網(wǎng)
通達(dá)信風(fēng)險(xiǎn)量化組合趨勢(shì)投資指標(biāo)公式:
年:=1+(BARSLAST(YEAR!=REF(YEAR,1) OR DATETODAY(DATE)=1));
天數(shù):=IF(PERIOD=5,年,DRAWNULL);
高1:=HHV(H,天數(shù));
低1:=LLV(L,天數(shù));
風(fēng)險(xiǎn)量化:(C-低1)/(高1-低1)*100,,NODRAW,COLORYELLOW;
振幅:=(高1-低1)/低1*100,NODRAW,COLORWHITE;
頂部:=CONST(高1),NODRAW,COLORYELLOW;
筑底:=CONST(低1),NODRAW,COLOR00FF00;
{步入風(fēng)險(xiǎn)區(qū):=CONST(高1-(高1-低1)*1/3),NODRAW,COLORRED;
☆邰氏盈利☆:=CONST(高1-(高1-低1)*1/2),NODRAW,COLORWHITE;
弱勢(shì)區(qū):=CONST(高1-(高1-低1)*2/3),NODRAW,COLOR0099FF;
STICKLINE(C>0,CONST(高1-(高1-低1)*1/4),CONST(高1-(高1-低1)*1 /4),2,0),COLORFF00FF;
STICKLINE(C>0,CONST(高1-(高1-低1)*3/4),CONST(高1-(高1-低1)*3 /4),2,0),COLORFF00FF;
STICKLINE(C>0,頂部,頂部,10,0),COLORYELLOW,LINETHICK2;
STICKLINE(C>0,筑底,筑底,10,0),COLOR00FF00,LINETHICK2;
STICKLINE(C>0,步入風(fēng)險(xiǎn)區(qū),步入風(fēng)險(xiǎn)區(qū),10,0),COLORRED,LINETHICK2;
STICKLINE(C>0,☆邰氏盈利☆,☆邰氏盈利☆,10,0),COLORWHITE;
STICKLINE(C>0,弱勢(shì)區(qū),弱勢(shì)區(qū),10,0),COLOR0099FF;}
N:=12;
DP:=(H+L+2*C)/4;
DK:=(EMA(DP,12)-EMA(DP,50));
RC:=筑底;
STICKLINE(DK>0 AND DK>REF(DK,1),RC,RC+DK,1,0),COLOR00CC00;
STICKLINE(DK>0 AND DK<=REF(DK,1),RC,RC+DK,1,1),COLORLIBLUE;
STICKLINE(DK<0 AND DK>REF(DK,1),RC,RC+DK,1,0),COLOR00CC00;
STICKLINE(DK<0 AND DK<=REF(DK,1),RC,RC+DK,1,0),COLORLIBLUE;
DN:=ABS(CLOSE-REF(CLOSE,N));
VY:=SUM(ABS(CLOSE-REF(CLOSE,1)),N);
ER:=DN/VY;
FSC:=2/(2+1);
SSC:=2/(N+1);
SC:=ER*(FSC-SSC)+SSC;
SCSQ:=SC*SC;
切忌進(jìn)場(chǎng):=DMA(DP,SCSQ),COLORBLUE,LINETHICK2;
持股待漲:IF(切忌進(jìn)場(chǎng)>EMA(切忌進(jìn)場(chǎng),3)=1,切忌進(jìn)場(chǎng),DRAWNULL),COLOR00FF00,LINETHICK3;
趨勢(shì)為空:EMA(DP,50),COLORCYAN,LINETHICK2;
趨勢(shì)為多:IF(趨勢(shì)為空>MA(DP,48),趨勢(shì)為空,DRAWNULL),COLORRED,LINETHICK3;
BUY2:=切忌進(jìn)場(chǎng) > EMA(切忌進(jìn)場(chǎng),3);
DRAWKLINE(H,O,L,C);
量H:=IF((AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100>100,100,(AMOUNT/C) /(HHV(AMOUNT,21)/HHV(C,21))*100);
STICKLINE(量H=100,L,H,0.4,0),COLORMAGENTA;
STICKLINE(量H=100 AND C>=O,C,O,4,1),COLORGREEN;
STICKLINE(量H=100 AND C<O,C,O,4,0),COLORBLUE;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,1,0),COLORGREEN;
STICKLINE(ZDF<-9.8,O,C,1,0),COLORBLUE;
{Q43:=CONST(高1-(高1-低1)*1/4),NODRAW;
Q41:=CONST(高1-(高1-低1)*3/4),NODRAW;
DK1:=DK+RC;
M20:=MA(DK1,20);
S:=STD(DK1,20);
高:=M20+2*S;
低:=M20-2*S;
上:= 高,COLORFFFF00;
下:= 低,COLORFFFF00;
DRAWTEXT(CROSS(高,DK1),高,'★'),COLOR00FF00;
DRAWICON(CROSS(DK1,高),H+0.3,2);
{DRAWTEXT(CROSS(DK1,低),低,'▲'),COLOR00FF00;
DRAWICON(CROSS(低,DK1),L-0.3,1);};
邰:=EMA(CLOSE,12)-EMA(CLOSE,26);
小:=EMA(邰,9);
杰:=(邰<-0.1 AND 邰>小);
財(cái)神:IF(杰,LLV(L,21),DRAWNULL),COLORBROWN,LINETHICK6;
DRAWTEXT(FILTER(CROSS(趨勢(shì)為空,切忌進(jìn)場(chǎng)),144),RC*0.95,'多空為主☆持股與否做確認(rèn)結(jié)合先知A進(jìn)場(chǎng) 快進(jìn)快出')COLORCYAN;
通達(dá)信風(fēng)險(xiǎn)量化組合趨勢(shì)投資指標(biāo)公式實(shí)例圖解:
通達(dá)信風(fēng)險(xiǎn)量化組合趨勢(shì)投資指標(biāo)公式
- ·通達(dá)信風(fēng)險(xiǎn)評(píng)測(cè)買賣指標(biāo)公式
- ·通達(dá)信KDJMACD金叉共振風(fēng)險(xiǎn)區(qū)指標(biāo)公式
- ·通達(dá)信倉(cāng)位風(fēng)險(xiǎn)指標(biāo)公式
- ·通達(dá)信放量打拐拐點(diǎn)跟蹤風(fēng)險(xiǎn)提示指標(biāo)公式
- ·通達(dá)信大將軍高級(jí)版中金財(cái)富倉(cāng)位風(fēng)險(xiǎn)指標(biāo)公
- ·通達(dá)信風(fēng)險(xiǎn)與機(jī)會(huì)多空指標(biāo)公式
- ·通達(dá)信風(fēng)險(xiǎn)預(yù)測(cè)紅綠波段買賣指標(biāo)公式
- ·同花順風(fēng)險(xiǎn)猛虎波段買賣指標(biāo)公式
- ·通達(dá)信買賣風(fēng)險(xiǎn)提示波段操盤指標(biāo)公式
- ·大智慧洗盤結(jié)束主力莊家逃跑風(fēng)險(xiǎn)指標(biāo)公式
- ·通達(dá)信風(fēng)險(xiǎn)評(píng)測(cè)優(yōu)化指標(biāo)公式
- ·通達(dá)信風(fēng)險(xiǎn)系數(shù)波段操盤指標(biāo)公式