【通达信免费源码】获利盘比指标 获利盘比例、慢线、快线 副图 资金流向
STICKLINE(C>0.1,0,350,4.8,0),COLOR781816;
STICKLINE(C>0.1,-5,-350,4.8,0),COLOR781816;
VAR22:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
获利盘:= WINNER(CLOSE)*100;
VAR33:=SMA(VAR22,3,1);
VAR44:=SMA(VAR33,9,1);
VAR55:=3VAR33-2VAR44;
VAR66:=VOL;
量比: VOL/MA(VOL,5);
涨跌: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
换手: VOL/CAPITAL*100;
VAR77:=SUM(换手,30);
VAR88:=LLV(INDEXL,5);
VAR99:=HHV(INDEXH,5);
VARAA:=EMA((INDEXC-VAR88)/(VAR99-VAR88)*100,4);
VARBB:=MA(EMA(0.667REF(VARAA,1)+0.333VARAA,2),9);
VARCC:=MA(VARBB,30);
VARDD:=EMA(获利盘,4);
本盘亿股: CAPITAL/1000000,;
获利盘比例:WINNER(CLOSE)*100,LINETHICK0;
获利盘比例差:获利盘比例-REF(获利盘比例,1);
RSV:=SUM(获利盘比例差,3);
K:=SMA(RSV,5,1);
D:=SMA(K,9,1);
VAR1:=3K-2D;
{PARTLINE(VAR1,(VAR1>REF(VAR1,1))-1,RGB(0,255,0),1,RGB(255,0,0) ),LINETHICK0;}
IF(VAR1>REF(VAR1,1), VAR1,DRAWNULL),COLORRED,LINETHICK0;
{DRAWTEXTREL(5,10,'■现实获利盘比例: '+NUMTOSTRN(WINNER(CLOSE)*100,2)+' %'),COLOR00FFFF,LINETHICK3;}
LLJX:=VAR1;
0,POINTDOT,COLORWHITE;
B1:SUM(LLJX,1),COLORCYAN,LINETHICK2;
B2:SUM(LLJX,2),COLORCYAN;
B3:SUM(LLJX,3),COLORCYAN;
B4:SUM(LLJX,4),COLORCYAN;
B5:SUM(LLJX,5),COLORCYAN;
B6:SUM(LLJX,6),COLORCYAN;
B7:SUM(LLJX,7),COLORCYAN;
B8:SUM(LLJX,8),COLORCYAN;
B9:SUM(LLJX,9),COLORCYAN;
B10:SUM(LLJX,10),COLORCYAN,LINETHICK3;
{PARTLINE(B1,B1>REF(B1,1),RGB(255,0,0)),LINETHICK2;}
IF(B1>REF(B1,1), B1,DRAWNULL),COLORRED,LINETHICK2;
{PARTLINE(B2,B2>REF(B2,1),RGB(255,0,0));}
IF(B2>REF(B2,1), B2,DRAWNULL),COLORRED;
{PARTLINE(B3,B3>REF(B3,1),RGB(255,0,0));}
; IF(B3>REF(B3,1), B3,DRAWNULL),COLORRED;
{PARTLINE(B4,B4>REF(B4,1),RGB(255,0,0));}
IF(B4>REF(B4,1), B4 ,DRAWNULL),COLORRED;
{PARTLINE(B5,B5>REF(B5,1),RGB(255,0,0));}
IF(B5>REF(B5,1), B5 ,DRAWNULL),COLORRED;
{PARTLINE(B6,B6>REF(B6,1),RGB(255,0,0));}
IF(B6>REF(B6,1), B6,DRAWNULL),COLORRED;
{PARTLINE(B7,B7>REF(B7,1),RGB(255,0,0));}
IF(B7>REF(B7,1), B7,DRAWNULL),COLORRED;
{PARTLINE(B8,B8>REF(B8,1),RGB(255,0,0));}
IF(B8>REF(B8,1), B8,DRAWNULL),COLORRED;
{PARTLINE(B9,B9>REF(B9,1),RGB(255,0,0));}
IF(B9>REF(B9,1), B9,DRAWNULL),COLORRED;
{PARTLINE(B10,B10>REF(B10,1),RGB(255,0,0)),LINETHICK3;}
IF(B10>REF(B10,1), B10,DRAWNULL),COLORRED,LINETHICK3;
快线:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
慢线:=SMA(快线,3,1);
AA:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0);
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!