天数:=SUMBARS(vol,CAPITAL);
量总:=SUM(AMOUNT/10000,1);
差价:=C-REF(C,1);
涨日净流入:=IF(差价>=0,量总*((C-REF(C,1))/(H-L))*6,0);
涨日净流入1:=IF(差价>=0,IF(C>L,((C-L)/(H-L))*量总*1,0),0);
跌日下影流进:=IF(差价<0,IF(C>L,((C-L)/(H-L))*量总*1,0),0);
跌日净流出:=IF(差价<0,量总*((REF(C,1)-C)/(H-L))*6,0);
跌日净流出1:=IF(差价<0,IF(H>=C,((H-C)/(H-L))*量总*1,0),0);
涨日上影流出:=IF(差价>=0,IF(H>=C,((H-C)/(H-L))*量总*1,0),0);
净流入:MA((SUM(涨日净流入+涨日净流入1+跌日下影流进,24)-REF(SUM(涨日净流入+涨日净流入1+跌日下影流进,24),24))/24,3),COLORRED;
净流出:=MA((SUM(跌日净流出+跌日净流出1+涨日上影流出,24)-REF(SUM(跌日净流出+跌日净流出1+涨日上影流出,24),24))/24,3);
净流入1:MA((SUM(涨日净流入+涨日净流入1+跌日下影流进,48)-REF(SUM(涨日净流入+涨日净流入1+跌日下影流进,48),48))/48,3);
净流出1:=MA((SUM(跌日净流出+跌日净流出1+涨日上影流出,48)-REF(SUM(跌日净流出+跌日净流出1+涨日上影流出,48),48))/48,3);
净流入2:MA((SUM(涨日净流入+涨日净流入1+跌日下影流进,72)-REF(SUM(涨日净流入+涨日净流入1+跌日下影流进,72),72))/72,3);
净流出2:=MA((SUM(跌日净流出+跌日净流出1+涨日上影流出,72)-REF(SUM(跌日净流出+跌日净流出1+涨日上影流出,72),72))/72,3);
净流入3:MA((SUM(涨日净流入+涨日净流入1+跌日下影流进,天数)-REF(SUM(涨日净流入+涨日净流入1+跌日下影流进,天数),天数))/天数,3);
净流出3:=MA((SUM(跌日净流出+跌日净流出1+涨日上影流出,天数)-REF(SUM(跌日净流出+跌日净流出1+涨日上影流出,天数),天数))/天数,3);
PVAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
B:=SMA(PVAR1,7,1);
PVAR2:=SMA(B,5,1);
LC :=REF(CLOSE,1);
rsi2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(Abs(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
mms:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
MMM:=EMA(MMS,8);
MML:=MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);
XG:=(crOSS(净流入,净流出) AND 净流入2>净流入1
AND 净流入1<净流入3
AND C/REF(C,90)<1.0 AND B>PVAR2 AND MML<48 AND 净流入<0);
(XG)*8*量总,STICK,LINETHICK4,COLORRED;
(XG)*6*量总,STICK,LINETHICK4,COLORYELLOW;
(XG)*3*量总,STICK,LINETHICK4,COLORGREEN;
DRAWTEXT(XG,(XG)*8*量总,'持股10-20天!'), COLORGREEN;
通达信涨势已成指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/92425.html