通達(dá)信金牌主力動(dòng)向指標(biāo)公式:
做莊意愿:SUM(HIGH-OPEN,89)/SUM(OPEN-LOW,89)+L*21.618,COLORRED;
大戶做多意愿:=MA(做莊意愿-L,5),COLORLIRED,LINETHICK2;
散戶跟莊意愿:=MA(做莊意愿-L,13),COLORLIGREEN,LINETHICK2;
DRAWBAND(大戶做多意愿,RGB(155,50,50),散戶跟莊意愿,RGB(0,100,50));
主力控盤:IF(做莊意愿>REF(做莊意愿,1),做莊意愿,DRAWNULL),COLORRED;
散戶托盤:IF(大戶做多意愿>散戶跟莊意愿,散戶跟莊意愿,DRAWNULL),COLORMAGENTA,LINETHICK2;
大戶多頭:=IF(大戶做多意愿>散戶跟莊意愿,大戶做多意愿,DRAWNULL),COLORYELLOW,LINETHICK2;
大戶做多:IF(大戶多頭>REF(大戶多頭,1),大戶多頭,DRAWNULL),COLORYELLOW,LINETHICK2;
主力做空:IF(做莊意愿=REF(做莊意愿,1),做莊意愿,DRAWNULL),COLORLIBLUE,LINETHICK2;
大戶做多翻空:IF(大戶多頭<=REF(大戶多頭,1),大戶多頭,DRAWNULL),COLORWHITE,LINETHICK3;
散戶接盤:IF(大戶做多意愿<散戶跟莊意愿,大戶做多意愿,DRAWNULL),COLORWHITE,LINETHICK2;
大戶狂拋:IF(大戶做多意愿<散戶跟莊意愿,散戶跟莊意愿,DRAWNULL),COLORBLUE,LINETHICK2;
散戶狂抄底:IF(散戶接盤<=REF(散戶接盤,1),散戶接盤,DRAWNULL),COLORWHITE,LINETHICK2;
大戶空翻多:IF(散戶接盤>REF(散戶接盤,1),散戶接盤,DRAWNULL),COLORYELLOW,LINETHICK3;
出貨:IF(做莊意愿<REF(做莊意愿,1),做莊意愿,DRAWNULL),COLORLIBLUE;
VAR2D:=(3*CLOSE+LOW+OPEN+HIGH)/6;
多頭線:=(20*VAR2D+19*REF(VAR2D,1)+18*REF(VAR2D,2)+17*REF(VAR2D,3)+16*
REF(VAR2D,4)+15*REF(VAR2D,5)+14*REF(VAR2D,6)+13*REF(VAR2D,7)+12*REF(VAR2D
,8)+11*REF(VAR2D,9)+10*REF(VAR2D,10)+9*REF(VAR2D,11)+8*REF(VAR2D,12)+7
*REF(VAR2D,13)+6*REF(VAR2D,14)+5*REF(VAR2D,15)+4*REF(VAR2D,16)+3*REF(VAR2D
,17)+2*REF(VAR2D,18)+REF(VAR2D,20))/210, CIRCLEDOT;
空頭線:=MA(多頭線,5), CIRCLEDOT;
STICKLINE(多頭線>空頭線,做莊意愿*0.78618,大戶做多意愿*0.78618,10,10), COLORRED;
STICKLINE(多頭線<空頭線,大戶做多意愿*0.78618,做莊意愿*0.78618,10,10),, COLORGREEN;
DRAWICON(C>SAR(4,2,21),SAR(4,2,21)+散戶托盤*0.91618,43);
DRAWTEXT(ISLASTBAR AND 散戶跟莊意愿<REF(散戶跟莊意愿,1),散戶跟莊意愿,'風(fēng)險(xiǎn)'),COLORWHITE;
DRAWTEXT(ISLASTBAR AND 大戶做多意愿<REF(大戶做多意愿,1),大戶做多意愿,'風(fēng)險(xiǎn)'),COLORBLUE;
DRAWTEXT(ISLASTBAR AND 做莊意愿<REF(做莊意愿,1),做莊意愿,'風(fēng)險(xiǎn)'),COLORLIBLUE;
DRAWTEXT(ISLASTBAR AND 散戶跟莊意愿>REF(散戶跟莊意愿,1),散戶跟莊意愿,' ▲'),COLORDD00FF;
DRAWTEXT(ISLASTBAR AND 大戶做多意愿>REF(大戶做多意愿,1),大戶做多意愿,' ▲'),COLORYELLOW;
DRAWTEXT(ISLASTBAR AND 做莊意愿>REF(做莊意愿,1),做莊意愿,' ▲'),COLORRED;
通達(dá)信金牌主力動(dòng)向指標(biāo)公式實(shí)例圖解: