通達信買賣金線+資金凈流入主圖指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 路徑
- 畫線方法: 主圖
- 日期:2024-10-18 來源:互聯(lián)網(wǎng)
通達信買賣金線+資金凈流入主圖指標(biāo)公式:
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
{DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),1);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),2);}
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'進 '),COLORFF00FF;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'出 '),COLOR3AFF00;
分界線:MA(CLOSE,21),COLORYELLOW;
STICKLINE(C>=分界線 AND C>=O,C,O,5,0),COLORRED;
STICKLINE(C>=分界線 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=分界線 AND C<O,C,O,5,1),COLORRED;
STICKLINE(C>=分界線 AND C<O,O,H,0,0),COLORRED;
STICKLINE(C>=分界線 AND C<O,C,L,0,0),COLORRED;
STICKLINE(C<分界線 AND C>O,C,O,5,1),COLORFFFF00;
STICKLINE(C<分界線 AND C<=O,C,O,5,1),COLORFFFF00;
STICKLINE(C<分界線 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<分界線 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<分界線 AND C>O,O,L,0,1),COLORFFFF00;
總額:=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));
DRAWTEXT_FIX(1,0.71,0.07,0,'凈流(億):'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.78,0.05,0,'1日'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.83,0.05,0,'3日'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.88,0.05,0,'5日'),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.93,0.05,0,'10日'),COLORMAGENTA,LINETHICK1;
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;
通達信買賣金線+資金凈流入主圖指標(biāo)公式實例圖解:
通達信買賣金線+資金凈流入主圖指標(biāo)公式