通達(dá)信板塊雷達(dá)指標(biāo)公式
- 指標(biāo)類(lèi)別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類(lèi): 策略
- 畫(huà)線(xiàn)方法: 副圖
- 日期:2020-11-20 來(lái)源:互聯(lián)網(wǎng)
通達(dá)信板塊雷達(dá)指標(biāo)公式:
P:=6;
N:=3;
RN:=10;
RM:=3;
VAR1:=("399139$C");
VAR2:=("399190$C");
VAR3:=("399132$C");
VAR4:=("399150$C");
VAR5:=("399138$C");
VAR6:=("399200$C");
VAR7:=("399110$C");
VAR8:=("399136$C");
VAR9:=("399135$C");
VAR10:=("399130$C");
VAR11:=("399160$C");
VAR12:=("999999$C");
VAR13:=("399137$C");
醫(yī)藥:=SUM((VAR1/REF(VAR1,1)-1)*100,0)*10;
金融:=SUM((VAR2/REF(VAR2,1)-1)*100,0)*10;
紡織:=SUM((VAR3/REF(VAR3,1)-1)*100,0)*10;
建筑:=SUM((VAR4/REF(VAR4,1)-1)*100,0)*10;
機(jī)械:=SUM((VAR5/REF(VAR5,1)-1)*100,0)*10;
地產(chǎn):=SUM((VAR6/REF(VAR6,1)-1)*100,0)*10;
農(nóng)林:=SUM((VAR7/REF(VAR7,1)-1)*100,0)*10;
電子:=SUM((VAR8/REF(VAR8,1)-1)*100,0)*10;
石化:=SUM((VAR9/REF(VAR9,1)-1)*100,0)*10;
制造:=SUM((VAR10/REF(VAR10,1)-1)*100,0)*10;
運(yùn)輸:=SUM((VAR11/REF(VAR11,1)-1)*100,0)*10;
上證:=SUM((VAR12/REF(VAR12,1)-1)*100,0)*10;
金屬:=SUM((VAR13/REF(VAR13,1)-1)*100,0)*10;
醫(yī)藥A:SUM((VAR1/REF(VAR1,1)-1)*100,0)*2+100,COLORWHITE;
金融A:SUM((VAR2/REF(VAR2,1)-1)*100,0)*2+100,COLORRED;
紡織A:=SUM((VAR3/REF(VAR3,1)-1)*100,0)*2+100;
建筑A:=SUM((VAR4/REF(VAR4,1)-1)*100,0)*2+100;
機(jī)械A(chǔ):=SUM((VAR5/REF(VAR5,1)-1)*100,0)*2+100;
地產(chǎn)A:SUM((VAR6/REF(VAR6,1)-1)*100,0)*2+100,LINETHICK1,COLORMAGENTA;
農(nóng)林A:=SUM((VAR7/REF(VAR7,1)-1)*100,0)*2+100,COLORGREEN;
電子A:SUM((VAR8/REF(VAR8,1)-1)*100,0)*2+100;
石化A:=SUM((VAR9/REF(VAR9,1)-1)*100,0)*2+100;
制造A:=SUM((VAR10/REF(VAR10,1)-1)*100,0)*2+100;
運(yùn)輸A:SUM((VAR11/REF(VAR11,1)-1)*100,0)*2+100,LINETHICK1,COLORYELLOW;
上證A:SUM((VAR12/REF(VAR12,1)-1)*100,0)*2+100,LINETHICK3;
金屬A:=SUM((VAR13/REF(VAR13,1)-1)*100,0)*2+100,LINETHICK1;
當(dāng)前獵狼線(xiàn):SUM((C/REF(C,1)-1)*100,0)*2+100,LINETHICK2,COLOR0000FF;
VAR17:=CONST(MA(醫(yī)藥,RN));
VAR18:=CONST(MA(金融,RN));
VAR19:=CONST(MA(紡織,RN));
VAR20:=CONST(MA(建筑,RN));
VAR21:=CONST(MA(機(jī)械,RN));
VAR22:=CONST(MA(地產(chǎn),RN));
VAR23:=CONST(MA(農(nóng)林,RN));
VAR24:=CONST(MA(電子,RN));
VAR25:=CONST(MA(石化,RN));
VAR26:=CONST(MA(制造,RN));
VAR27:=CONST(MA(運(yùn)輸,RN));
VAR28:=CONST(MA(上證,RN));
VAR29:=CONST(MA(金屬,RN));
P1:=IF(BARSLAST(CURRBARSCOUNT=4+1),1,0);
P2:=IF(BARSLAST(CURRBARSCOUNT=6+2),1,0);
P3:=IF(BARSLAST(CURRBARSCOUNT=8+3),1,0);
P4:=IF(BARSLAST(CURRBARSCOUNT=10+4),1,0);
P5:=IF(BARSLAST(CURRBARSCOUNT=12+5),1,0);
P6:=IF(BARSLAST(CURRBARSCOUNT=14+6),1,0);
P7:=IF(BARSLAST(CURRBARSCOUNT=16+7),1,0);
P8:=IF(BARSLAST(CURRBARSCOUNT=18+8),1,0);
P9:=IF(BARSLAST(CURRBARSCOUNT=20+9),1,0);
P10:=IF(BARSLAST(CURRBARSCOUNT=22+10),1,0);
P11:=IF(BARSLAST(CURRBARSCOUNT=24+11),1,0);
P12:=IF(BARSLAST(CURRBARSCOUNT=26+12),1,0);
P13:=IF(BARSLAST(CURRBARSCOUNT=28+13),1,0);
P14:=IF(BARSLAST(CURRBARSCOUNT=2),1,0);
STICKLINE(醫(yī)藥,0,IF(P2-P1,CONST(醫(yī)藥)-(VAR17),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(金融,0,IF(P3-P2,CONST(金融)-(VAR18),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(紡織,0,IF(P4-P3,CONST(紡織)-(VAR19),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(建筑,0,IF(P5-P4,CONST(建筑)-(VAR20),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(機(jī)械,0,IF(P6-P5,CONST(機(jī)械)-(VAR21),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(地產(chǎn),0,IF(P7-P6,CONST(地產(chǎn))-(VAR22),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(農(nóng)林,0,IF(P8-P7,CONST(農(nóng)林)-(VAR23),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(電子,0,IF(P9-P8,CONST(電子)-(VAR24),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(石化,0,IF(P10-P9,CONST(石化)-(VAR25),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(制造,0,IF(P11-P10,CONST(制造)-(VAR26),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(運(yùn)輸,0,IF(P12-P11,CONST(運(yùn)輸)-(VAR27),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(上證,0,IF(P1-P14,CONST(上證)-(VAR28),DRAWNULL),5,-1),COLORFF00FF;
STICKLINE(金屬,0,IF(P13-P12,CONST(金屬)-(VAR29),DRAWNULL),5,-2),COLORFF00FF;
STICKLINE(醫(yī)藥,0,IF(P2-P1,CONST(MA(醫(yī)藥,RM))-(VAR17),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(金融,0,IF(P3-P2,CONST(MA(金融,RM))-(VAR18),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(紡織,0,IF(P4-P3,CONST(MA(紡織,RM))-(VAR19),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(建筑,0,IF(P5-P4,CONST(MA(建筑,RM))-(VAR20),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(機(jī)械,0,IF(P6-P5,CONST(MA(機(jī)械,RM))-(VAR21),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(地產(chǎn),0,IF(P7-P6,CONST(MA(地產(chǎn),RM))-(VAR22),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(農(nóng)林,0,IF(P8-P7,CONST(MA(農(nóng)林,RM))-(VAR23),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(電子,0,IF(P9-P8,CONST(MA(電子,RM))-(VAR24),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(石化,0,IF(P10-P9,CONST(MA(石化,RM))-(VAR25),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(制造,0,IF(P11-P10,CONST(MA(制造,RM))-(VAR26),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(運(yùn)輸,0,IF(P12-P11,CONST(MA(運(yùn)輸,RM))-(VAR27),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(上證,0,IF(P1-P14,CONST(MA(上證,RM))-(VAR28),DRAWNULL),2,0),COLORAAAAFF;
STICKLINE(金屬,0,IF(P13-P12,CONST(MA(金屬,RM))-(VAR29),DRAWNULL),2,0),COLORAAAAFF;
DRAWTEXT(P2-P1,-2,' 醫(yī)藥'),COLORYELLOW;
DRAWTEXT(P3-P2,-2,' 金融'),COLORYELLOW;
DRAWTEXT(P4-P3,-2,' 紡織'),COLORYELLOW;
DRAWTEXT(P5-P4,-2,' 建筑'),COLORYELLOW;
DRAWTEXT(P6-P5,-2,' 機(jī)械'),COLORYELLOW;
DRAWTEXT(P7-P6,-2,' 地產(chǎn)'),COLORYELLOW;
DRAWTEXT(P8-P7,-2,' 農(nóng)林'),COLORYELLOW;
DRAWTEXT(P9-P8,-2,' 電子'),COLORYELLOW;
DRAWTEXT(P10-P9,-2,' 石化'),COLORYELLOW;
DRAWTEXT(P11-P10,-2,' 制造'),COLORYELLOW;
DRAWTEXT(P12-P11,-2,' 運(yùn)輸'),COLORYELLOW;
DRAWTEXT(P13-P12,-2,' 金屬'),COLORYELLOW;
Q1:=IF(BARSLAST(CURRBARSCOUNT=2),10,0);
DRAWTEXT((Q1>=10 AND REF(Q1,1)<=0),金融A,'金融'),COLORRED;
DRAWTEXT((Q1>=10 AND REF(Q1,1)<=0),地產(chǎn)A,'地產(chǎn)'),COLORMAGENTA;
DRAWTEXT((Q1>=10 AND REF(Q1,1)<=0),醫(yī)藥A,'醫(yī)藥'),COLORWHITE;
DRAWTEXT((Q1>=10 AND REF(Q1,1)<=0),農(nóng)林A,'農(nóng)林'),COLORGREEN;
DRAWTEXT((Q1>=10 AND REF(Q1,1)<=0),運(yùn)輸A,'運(yùn)輸'),COLORYELLOW;
通達(dá)信板塊雷達(dá)指標(biāo)公式實(shí)例圖解:
通達(dá)信板塊雷達(dá)指標(biāo)公式
- ·通達(dá)信雷達(dá)監(jiān)控指標(biāo)公式
- ·通達(dá)信倉(cāng)位雷達(dá)指標(biāo)公式
- ·通達(dá)信主力控盤(pán)雷達(dá)指標(biāo)公式
- ·通達(dá)信獵狐雷達(dá)指標(biāo)公式
- ·通達(dá)信底部雷達(dá)買(mǎi)點(diǎn)指標(biāo)公式
- ·通達(dá)信籌碼雷達(dá)指標(biāo)公式
- ·通達(dá)信雷達(dá)資金頂?shù)字笜?biāo)公式
- ·通達(dá)信主力雷達(dá)頂?shù)字笜?biāo)公式
- ·通達(dá)信威力雷達(dá)趨勢(shì)買(mǎi)賣(mài)指標(biāo)公式
- ·同花順獵狐雷達(dá)多空量能指標(biāo)公式
- ·通達(dá)信黑馬雷達(dá)指標(biāo)公式
- ·通達(dá)信找底很準(zhǔn)雷達(dá)抄底指標(biāo)公式