BS指標是一種買賣點指標,其中最主要的功能就是買賣點交易決策以及短線機會點的提示,投資者需要注意的是B是買入信號,S是賣出信號,具體的操作技巧通過股票公式進行詳細的講解說明:
【BS主圖指標】
Bs指標的買賣點交易決策是,在出現(xiàn)黃色K線是買入信號,側(cè)重于抓取大波段的走勢,投資者要注意把握其中的大漲行情,具體的源碼公式如下:
JJ:=(CLOSE+HIGH+LOW)/3;
E:=EMA(JJ,5);
D:=REF(E,1);
AA1:=AMOUNT/V;
BB1:=L
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L
EE1:=V
FF1:=BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,(LOW* 0.97),'←老鼠倉'),COLOR4080FF;
DRAWTEXT(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),HIGH*1.03,'←頂'),COLORYELLOW;
DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW,'←底'),COLORYELLOW;
獵手之路:IF(MA(C,5)>REF(MA(C,5),1),MA(C,5),DRAWNULL)COLORYELLOW,LINETHICK3;
{預(yù)測當(dāng)天最低價公式}
A1:=REF(O,1);
A2:=ABS((REF(C,1)-A1)/A1);
A3:=ABS((REF(H,1)-A1)/A1);
A4:=ABS((REF(L,1)-A1)/A1);
B1:=ABS((A2+A3+A4)/3);
B2:=O*B1;
預(yù)測低一:=O-B2;
預(yù)測高一:=O+B2;
今日保護價:(REF(C,2)+REF(C,1)+O)/3 ,COLOR4080FF,NODRAW;
開盤價1:=OPEN;
開盤價2:=REF(OPEN,1);
最高價1:=HIGH;
最高價2:=REF(HIGH,1);
最低價1:=LOW;
最低價2:=REF(LOW,1);
收盤價1:=CLOSE;
收盤價2:=REF(CLOSE,1);
AA:=最高價2;
BB:=最低價2;
CC:=開盤價2;
DD:=收盤價2;
EE:=(AA+BB+CC+2*DD)/5;
AAA:=EE+(AA-BB);
BBB:=2*EE-BB;
CCC:=2*EE-AA;
DDD:=EE-(AA-BB);
上升突破價:=AAA;
上升阻力價:=BBB;
下跌支撐價:=CCC;
下跌反轉(zhuǎn)價:=DDD;
EEE:=(EE+上升突破價+上升阻力價+下跌支撐價+下跌反轉(zhuǎn)價)/5;
心理價:=EEE;
FFF:=(EEE+開盤價1)/2;
GGG:=(預(yù)測低一+FFF)/2;
預(yù)測低二:=GGG;
{預(yù)測今日最高價公式}
預(yù)測高二:=MA(REF(HIGH,1)/REF(CLOSE,2),27)*REF(CLOSE,1);
DRAWTEXT_FIX(1,0.04,0.15,0,'預(yù)測低一:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.10,0.15,0,CONST(預(yù)測低一)),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0.15,0,'元'),COLORYELLOW,LINETHICK1;
DRAWTEXT_FIX(1,0.04,0.20,0,'預(yù)測高一:'),COLORFFFFFF;
DRAWNUMBER_FIX(1,0.10,0.20,0,CONST(預(yù)測高一)),COLORFFFFFF;
DRAWTEXT_FIX(1,0.15,0.20,0,'元'),COLORFFFFFF,LINETHICK1;
DRAWTEXT_FIX(1,0.18,0.15,0,'預(yù)測低二:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.24,0.15,0,CONST(預(yù)測低二)),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.15,0,'元'),COLORYELLOW,LINETHICK1;
DRAWTEXT_FIX(1,0.18,0.20,0,'預(yù)測高二:'),COLORFFFFFF;
DRAWNUMBER_FIX(1,0.24,0.20,0,CONST(預(yù)測高二)),COLORFFFFFF;
DRAWTEXT_FIX(1,0.29,0.20,0,'元'),COLORFFFFFF,LINETHICK1;
買回價:=預(yù)測低二*1.015;
賣出價:=買回價*(1.03);
DRAWTEXT_FIX(1,0.04,0.10,0,'賣出價:'),COLOR8080FF,LINETHICK1;
DRAWNUMBER_FIX(1,0.10,0.10,0,CONST(賣出價)),COLOR8080FF;
DRAWTEXT_FIX(1,0.15,0.10,0,'元'),COLOR8080FF,LINETHICK1;
DRAWTEXT_FIX(1,0.18,0.10,0,'買回價:'),COLOR8080FF,LINETHICK1;
DRAWNUMBER_FIX(1,0.24,0.10,0,CONST(買回價)),COLOR8080FF;
DRAWTEXT_FIX(1,0.29,0.10,0,'元'),COLOR8080FF,LINETHICK1;
DRAWTEXT_FIX(1,0.01,0.02,0,'★ ======================================= ★'),COLORRED;
DRAWTEXT_FIX(1,0.12,0.05,0,'T+0 參考操作'),COLORFFFFFF;
DRAWTEXT_FIX(1,0.01,0.08,0,'三 '),COLOR0000FF;
DRAWTEXT_FIX(1,0.01,0.12,0,'思'),COLOR0000FF;
DRAWTEXT_FIX(1,0.01,0.16,0,'后'),COLOR0000FF;
DRAWTEXT_FIX(1,0.01,0.20,0,'行'),COLOR0000FF;
DRAWTEXT_FIX(1,0.32,0.08,0,'謹'),COLOR0000FF;
DRAWTEXT_FIX(1,0.32,0.12,0,'慎'),COLOR0000FF;
DRAWTEXT_FIX(1,0.32,0.16,0,'操'),COLOR0000FF;
DRAWTEXT_FIX(1,0.32,0.20,0,'作'),COLOR0000FF;
DRAWTEXT_FIX(1,0.01,0.24,0,'★ ======================================= ★'),COLORRED;
總額:=AMOUNT;
買:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
買%:=買/AMOUNT*100;
流入:=AMOUNT*買%/10000000000;
流出:=AMOUNT/100000000-流入;
凈流:=(流入-流出);
總額3:=SUM(AMOUNT,3);
流入3:=SUM(流入,3);
流出3:=SUM(流出,3);
凈流3:=SUM(流入-流出,3);
總額5:=SUM(AMOUNT,5);
流入5:=SUM(流入,5);
流出5:=SUM(流出,5);
凈流5:=SUM(流入-流出,5);
總額10:=SUM(AMOUNT,10);
流入10:=SUM(流入,10);
流出10:=SUM(流出,10);
凈流10:=SUM(流入-流出,10);
畫:=CONST(FINDHIGH(總額10,0,190,1));
換手率1:=VOL/CAPITAL*100;
換手率3:=SUM(VOL/CAPITAL*100,3);
換手率5:=SUM(VOL/CAPITAL*100,5);
換手率10:=SUM(VOL/CAPITAL*100,10);
DRAWTEXT_FIX(1,0.71,0.10,0,'凈流(億):'),COLOR8080FF,COLORWHITE;
DRAWTEXT_FIX(1,0.71,0.15,0,'換手率(%):'),COLOR8080FF,COLORWHITE;
DRAWTEXT_FIX(1,0.78,0.05,0,'1日'),COLOR8080FF,COLORWHITE;
DRAWTEXT_FIX(1,0.83,0.05,0,'3日'),COLOR8080FF,COLORWHITE;
DRAWTEXT_FIX(1,0.88,0.05,0,'5日'),COLOR8080FF,COLORWHITE;
DRAWTEXT_FIX(1,0.93,0.05,0,'10日'),COLOR8080FF,COLORWHITE;
DRAWNUMBER_FIX(1,0.78,0.10,0,CONST((凈流))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.83,0.10,0,CONST((凈流3))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.88,0.10,0,CONST((凈流5))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.93,0.10,0,CONST((凈流10))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.78,0.15,0,CONST((換手率1))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.83,0.15,0,CONST((換手率3))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.88,0.15,0,CONST((換手率5))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.93,0.15,0,CONST((換手率10))),COLORYELLOW;
JB1:=REF(C,2)/REF(C,3)>1.095 AND REF(C,2)=REF(H,2) AND REF(C,2)/REF(O,2)>1.03;
JB2:=REF(C,1)/REF(C,2)<0.96 AND REF(C,1)>REF(O,2);
JBX:=JB1 AND JB2 AND JB3;
DRAWTEXT(JBX,(LOW* 0.97),'←牛啟動'),COLORYELLOW;
{MACD}
MA5:MA(C,5),COLORFFFFFF;
MAPJ:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORFFFF00;
{短線}
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
支撐:REFDATE(V2,DATE),DOTLINE,LINETHICK1,COLORLIRED;
阻力:REFDATE(V3,DATE),DOTLINE,LINETHICK1,COLORGREEN;
DRAWTEXT(ISLASTBAR,阻力,'阻力'),COLORGREEN;
DRAWTEXT(ISLASTBAR,支撐,'支撐'),COLORLIRED;
頂點:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORYELLOW,DOTLINE;
低點:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA,DOTLINE;
DRAWTEXT(ISLASTBAR,頂點,'頂點'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,低點,'底點'),COLORMAGENTA;
{短線}
VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);
VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);
DRAWICON(VAR1A,H,2);
DRAWICON(VAR19,L,1);
LOWER:MA(CLOSE,20)-1.2*STD(CLOSE,20),COLORRED,LINETHICK2;
具體的走勢形態(tài),如圖國農(nóng)科技在日線中的走勢形態(tài),通過bs指標的源碼公式可以預(yù)測出當(dāng)天的最高價以及最低價格,做買賣操作的參考點位,同時可以在標注的買賣點位進行分析。
以上就是本文講解的股市中的bs指標的買賣點源碼公式,如果您還想要了解更加專業(yè)的技術(shù)指標分析技巧,請點擊rsi 指標進行研究學(xué)習(xí)。
下一篇:源碼解讀DDX量指標與DDX流量
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:metacaptainamerica.com
銷售熱線:0371-65350319
技術(shù)支持:13333833889