通达信涨势已成副图指标 源码 贴图
2023-06-29 09:39:00来源:本站整理浏览:655
通达信涨势已成副图指标 源码 贴图
天数:=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);{公式网WWW.GPXIAZAI.COM}
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;
量总:=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);{公式网WWW.GPXIAZAI.COM}
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;
- 上一篇公式:通达信快涨副图指标 选择上涨势道较好的大牛股 源码 贴图
- 下一篇公式:通达信步步稳盈副图指标 源码 贴图