一、概述
星光指標(biāo)其實(shí)就是根據(jù)均線系統(tǒng)而進(jìn)行改變的,它的核心就是,有一條修改了數(shù)據(jù)的甲醛均線來(lái)確定的趨勢(shì)方向,因?yàn)檫@個(gè)指標(biāo)的樣子非常像星星,所以就起名為星光指標(biāo)。
二、運(yùn)用
趨勢(shì)追蹤:當(dāng)指標(biāo)提示“多”時(shí),表示現(xiàn)在趨勢(shì)為多。
當(dāng)指標(biāo)提示“空”時(shí),表示現(xiàn)在趨勢(shì)為空。
趨勢(shì)過(guò)濾:當(dāng)K線變成白色時(shí),系統(tǒng)提示的信號(hào)可能為虛假信號(hào),以規(guī)避操作或者進(jìn)行平倉(cāng)等待系統(tǒng)給出新信號(hào)。
三、星光主圖指標(biāo)公式
M1:MA(CLOSE,3);
M2:MA(CLOSE,20);
生命線:MA(CLOSE,89),LINETHICK2;
牛熊線:MA(CLOSE,321),COLORWHITE,POINTDOT,LINETHICK4;
保護(hù)價(jià):(OPEN+REF(C,1)+REF(C,2))/3,NODRAW;
止損:=(REF(H,1)+REF(L,1))/2,NODRAW,COLORGREEN;
中心價(jià):=(O+C)/2;
多頭:IF(M2>=REF(M2,1),M2,DRAWNULL),COLORRED,LINETHICK2;
DT:=CROSS(M1,M2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018;
DRAWTEXT(DT,(LOW*0.98)*(1),'買(mǎi)'),COLORWHITE;
DRAWICON(DT,(LOW*0.99)*(1),13);
{逃頂}
V1:=(REF(HIGH,1)+REF(LOW,1))/2;
V2:=MA(CLOSE,21)+2*STD(CLOSE,21);
DRAWICON(CROSS(V1,V2),HIGH*1.00,6);
DRAWTEXT(CROSS(V1,V2),HIGH*1.01,'賣(mài)'), COLORGREEN;
V3:=REF(CLOSE,1);
V4:=SMA(MAX(CLOSE-V3,0),7,1)/SMA(ABS(CLOSE-V3),7,1)*100;
V5:=CROSS(89,V4);
V6:=FILTER(V5,4);
DRAWICON(V6,HIGH*1.00,2);
DRAWTEXT(V6,HIGH*1.01,'賣(mài)'), COLORGREEN;
{劃線}
A1:=BARSLAST(CROSS(MA(C,10),MA(C,5)));
C1:=REF(MA(C,5),A1);
STICKLINE(CURRBARSCOUNT<=CONST(A1)+1 AND A1>=0, C1,C1,-1,0),COLORGREEN;
{肉夾饃}
VAR110:=REF(C,2)>REF(O,2);
VAR120:=(REF(C,2)-REF(C,3))/REF(C,3)>0.02;
VAR310:=C>O AND C>REF(O,1) AND C>REF(C,2) ;
VAR320:=V>REF(V,2) AND V>REF(V,1);
VAR330:=((H-C)/(H-L))<0.3;
VAR410:=VAR110 AND VAR120 AND VAR210 AND VAR310 AND VAR320 AND VAR330;
DRAWTEXT(VAR410,(LOW*1.02)*(1),'肉夾饃 '),COLORYELLOW;
DRAWICON(VAR410,(LOW*1.01)*(1),5);
{概念板塊}
DRAWTEXT_FIX(1,0.00,0.04,0,'【概念板塊】')COLORFF00FF;
Z1:=STRCAT(DYBLOCK,' ');
Z2:=STRCAT(Z1,HYBLOCK);
Z3:=STRCAT(Z2,FGBLOCK);
Z4:=STRCAT(Z3,' ');
DRAWTEXT_FIX(1,0.09,0.04,0,STRCAT(Z4,GNBLOCK)),COLORFF00FF;
DRAWTEXT_FIX(1,0.00,0.12,0,'【主題投資】'),COLOR0000FF;
DRAWTEXT_FIX(1,0.09,0.12,0,EXTERNSTR(0,1)),COLOR0000FF;{注意:我的數(shù)據(jù)號(hào)是1}
DRAWTEXT_FIX(1,0.00,0.20,0,'【主營(yíng)業(yè)務(wù)】'),COLORGREEN;
DRAWTEXT_FIX(1,0.09,0.20,0,EXTERNSTR(0,2))COLORGREEN;{這個(gè)數(shù)據(jù)號(hào)是2};
星光主圖指標(biāo)公式源碼的相關(guān)內(nèi)容就為大家講解到這里,相信大家已經(jīng)能夠掌握住了,如若您想要學(xué)習(xí)短線交易秘訣可點(diǎn)擊進(jìn)入,最后希望大家在今天的交易日中能夠有更多的收獲。
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:www.xinsheng8.com
銷(xiāo)售熱線:0371-65350319
技術(shù)支持:13333833889