天数:=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);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。