首頁 > 股票投資 > 股票技術(shù)指標(biāo)公式 > 正文

三箱體主圖指標(biāo)公式的源碼及運用分析

來源:【贏家江恩】責(zé)任編輯:zhangxueli添加時間:2017-05-16 10:17:08
  指標(biāo)可以讓投資變得簡單化,所以這就造成了現(xiàn)在很多的技術(shù)指標(biāo)分析,其中就包含有三箱體指標(biāo)。那究竟三箱體指標(biāo)的主圖公式源碼是怎么樣的?它又是如何運用的?如果您對次感興趣的話,今天贏家江恩的主編老師就來進行詳細的解答。
三箱體指標(biāo)主圖.jpg

  第一:指標(biāo)公式源碼

  支撐價:LLV(LOW,19),LINETHICK2 , COLOR00FF00;

  阻力價:HHV(HIGH,19),COLORRED, LINETHICK2;

  VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);

  VAR2:=EMA(VAR1,9);

  VAR3:=(CLOSE*2.5/100+CLOSE);

  VAR4:=EMA(C,3);

  VAR5:=LLV(HIGH,240);

  VAR6:=100*(CLOSE-VAR5)/VAR5;

  VAR7:=REF(LLV(CLOSE,480),1);

  VAR8:=REF(HHV(CLOSE,480),1);

  VAR9:=100*(CLOSE-VAR7)/(VAR8-VAR7);

  VARA:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;

  VARB:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;

  VARC:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;

  VARD:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;

  VARE:=VARC>98.5 OR VARD>98.5;

  VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;

  VAR13:=VARA=0 AND VARC=0 AND VAR6<0;

  VAR14:=VARA=100 AND VARC=100;

  VAR15:=VARB=0 OR VARD=0 AND VAR9<0;

  VAR16:=VARB=100 AND VARD=100;

  VAR17:=VAR6<0 AND VAR9<0;

  VAR18:=VAR13 AND VAR15;

  VAR19:=VAR14 AND VAR16;

  VAR1B:=SMA(MAX(CLOSE-REF(CLOSE,1),0),49,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;

  VAR1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;

  VAR1D:=BARSCOUNT(CLOSE);

  VAR1E:=VAR1B<20 AND VAR1C<23 AND VAR1D>35;

  VAR1F:=VAR1E AND COUNT(VAR1E,1)=1;

  VAR20:=REF(CLOSE,1);

  VAR21:=SMA(MAX(CLOSE-VAR20,0),34,1)/SMA(ABS(CLOSE-VAR20),7,1)*100;

  VAR22:=SMA(MAX(CLOSE-VAR20,0),13,1)/SMA(ABS(CLOSE-VAR20),13,1)*100;

  VAR23:=BARSCOUNT(CLOSE);

  VAR24:=VAR21<20 AND VAR22<23 AND VAR23>35;

  VAR25:=VARA=0 AND VARF<1.2 AND VAR17;

  VAR27:=VAR18 AND VARF<1.2 AND VAR17;

  VAR29:=SUM(HIGH-OPEN,77)/SUM(OPEN-LOW,77)*100;

  VAR2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;

  VAR2B:=CROSS(VAR29,69) AND CROSS(VAR2A,80)<150;

  VAR2C:=VAR24 AND VAR1F AND COUNT(VAR24,30)=1;

  買點:=VAR25 AND VAR2B;

  絕對賣點:=(VAR19 OR VARA)AND VARF>23 OR VARE ;

  VAR2D:=VAR1F AND VAR2C AND VAR25;

  GHWYH:=(CLOSE/REF(CLOSE,1)>1.04 AND (CLOSE>10.8 AND CLOSE<10.83 OR CLOSE>6.86 AND CLOSE<6.88 OR CLOSE>13.82 AND CLOSE<13.84 OR CLOSE>7.28 AND CLOSE<7.3 OR CLOSE>12.4 AND CLOSE<12.42 OR CLOSE>22.33 AND CLOSE<22.35 OR CLOSE>4.68 AND CLOSE<4.7 OR CLOSE>26.29 AND CLOSE<26.31 OR CLOSE>7.65 AND CLOSE<7.67 OR CLOSE>13.4 AND CLOSE<13.42 OR CLOSE>7.58 AND CLOSE<7.6 OR CLOSE>20.43 AND CLOSE<20.45 OR CLOSE>19.57 AND CLOSE<19.59 OR CLOSE>6.26 AND CLOSE<6.28 OR CLOSE>7.14 AND CLOSE<7.16 OR CLOSE>6.61 AND CLOSE<6.63 OR CLOSE>11.9 AND VOL<11.92 OR CLOSE>6.7 AND CLOSE<6.72 OR CLOSE>8.19 AND CLOSE<8.21));

  DRAWTEXT(FILTER(絕對賣點>0,3),H,'別貪'),COLORWHITE;

  DRAWTEXT(GHWYH>0,L,'☆追漲'),COLORYELLOW ;

  DRAWICON(買點>0,L,4);

  DRAWTEXT(買點>0,L,'掃描神針'),COLORF00FF0;

  DRAWTEXT(VARF<0.7 AND VAR27 AND VAR25>0,L,'萬元'),COLORYELLOW;

  STICKLINE(VAR2D>0,O,C,10,0), COLORRED;

  DRAWTEXT(VAR2D>0,L,'大方神針'),COLORRED;

  DRAWICON(COUNT(REF(VAR4,1)REF(VAR4,1),L*0.98,4);

  DRAWICON(FILTER(COUNT(VAR6<0,5)AND CROSS(VAR6,0)AND VARF>REF(VARF,1)AND C>O,3),L,1);

  DRAWICON(FILTER(REF(VAR4,1)>REF(VAR4,2)AND VAR417 AND VAR1>VAR2,5),H,2);

  DRAWICON(阻力價>REF(阻力價,1)AND CROSS(阻力價,VAR3)AND C

  A1:=REF(C,1)O AND C>REF(O,1) AND O<=REF(C,1);

  壓力:MA(REF(HHV(C,30),1),2),COLORMAGENTA,LINETHICK2;

  支撐:MA(REF(LLV(C,30),1),2),COLORLIGREEN,LINETHICK2;

  X1A:=30;

  X1B:HHV(C,X1A),COLORFF5500,LINETHICK3;

  X1C:=IF(ISLASTBAR,BARSLAST(C=CONST(X1B))+1,1/0);

  X1D:=IF(X1C=1,' 1',IF(X1C=2,' 2',IF(X1C=3,' 3',IF(X1C=4,' 4',IF(X1C=5,' 5',

  IF(X1C=6,' 6',IF(X1C=7,' 7',IF(X1C=8,' 8',IF(X1C=9,' 9',IF(X1C=10,' 10',

  IF(X1C=11,' 11',IF(X1C=12,' 12',IF(X1C=13,' 13',IF(X1C=14,' 14',IF(X1C=15,' 15',

  IF(X1C=16,' 16',IF(X1C=17,' 17',IF(X1C=18,' 18',IF(X1C=19,' 19',IF(X1C=20,' 20',

  IF(X1C=21,' 21',IF(X1C=22,' 22',IF(X1C=23,' 23',IF(X1C=24,' 24',IF(X1C=25,' 25',

  IF(X1C=26,' 26',IF(X1C=27,' 27',IF(X1C=28,' 28',IF(X1C=29,' 29',IF(X1C=30,' 30',' 0'))))))))))))))))))))))))))))));

  X1E:DRAWTEXT(ISLASTBAR,X1B,X1D),COLORRED;

  X2A:=30;

  X2B:LLV(C,X2A),COLORFF00FF,LINETHICK2;

  X2C:=IF(ISLASTBAR,BARSLAST(C=CONST(X2B))+1,1/0);

  X2D:=IF(X2C=1,' 1',IF(X2C=2,' 2',IF(X2C=3,' 3',IF(X2C=4,' 4',IF(X2C=5,' 5',

  IF(X2C=6,' 6',IF(X2C=7,' 7',IF(X2C=8,' 8',IF(X2C=9,' 9',IF(X2C=10,' 10',

  IF(X2C=11,' 11',IF(X2C=12,' 12',IF(X2C=13,' 13',IF(X2C=14,' 14',IF(X2C=15,' 15',

  IF(X2C=16,' 16',IF(X2C=17,' 17',IF(X2C=18,' 18',IF(X2C=19,' 19',IF(X2C=20,' 20',

  IF(X2C=21,' 21',IF(X2C=22,' 22',IF(X2C=23,' 23',IF(X2C=24,' 24',IF(X2C=25,' 25',

  IF(X2C=26,' 26',IF(X2C=27,' 27',IF(X2C=28,' 28',IF(X2C=29,' 29',IF(X2C=30,' 30',' 0'))))))))))))))))))))))))))))));

  X2E:DRAWTEXT(ISLASTBAR,X2B,X2D),COLORFF00FF;

三箱體指標(biāo)的柱體公式2.jpg

  第二:運用

  三箱體指標(biāo)其實就是在裸K的原理基礎(chǔ)上,增加了一條條橫向線條,對應(yīng)的K線的上面是壓力,下面是支撐,這樣就可以幫助到大家很好的進行找支撐與壓力,所以也能夠讓買賣點變得簡單。買賣點以線的壓制為主,止貪遏跌,方便快捷,讓短線客在買點賣點的取舍上有所依憑.不觸壓力不走,不踩支撐不接.跌破支撐就清倉。

  以上就是三箱體主圖指標(biāo)公式的講解,相信大家對此已經(jīng)非常的了解了,如若您想要了解更多的技術(shù)指標(biāo)公式敬請關(guān)注本欄目的更新,最后贏家江恩的主編老師推薦您閱讀:大道趨勢理論。

鄭州亨瑞軟件開發(fā)有限公司
版權(quán)所有

服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:datuav.com

銷售熱線:0371-65350319
技術(shù)支持:13333833889

注冊下載;