把这个OO主图改成大智慧的指标_大智慧沪深10档l2数据

RSI金叉和KDJ金叉二合一

RSI金叉和KDJ金叉二合一

炒股软件

编写条件:

编写方法:

 网友求助:

买:EMA(CLOSE,5),COLORRED,LINETHICK2;A:=(REF(买,1));

卖:EMA(SLOPE(CLOSE,21)*20+CLOSE,42),LINETHICK2;

B:=CROSS(买,卖);

S:=CROSS(卖,买);

DRAWTEXT(B,LOW-0.1,'←买 '),COLORRED,LINETHICK2;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;G:=95;

DRAWTEXT(CROSS(J,D),L*0.999,'←加仓'),COLOR00FFFF,LINETHICK2;

VAR29:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAR2A:=SMA(VAR29,5,1);

VAR2B:=SMA(VAR2A,10,1);

VAR2C:=CROSS(VAR2B,VAR2A);

VAR2D:=VAR2B>80 OR VAR2A>80;

VAR2E:=VAR2C AND VAR2D;

VAR33:=HIGH;

VAR34:=LOW;

逃顶:=STICKLINE(VAR2E,VAR33,VAR34,4,0);

DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),HIGH*1.03,'-落袋为安'),COLORYELLOW;

X6:=REF(CLOSE,1);

X7:=SMA(MAX(CLOSE-X6,0),7,1)/SMA(ABS(CLOSE-X6),7,1)*100;

X8:=CROSS(79,X7);

X9:=FILTER(X8,4);DRAWTEXT(X9,HIGH*1.02,'←出货'),COLOR9000F5;

FF:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,FF);
上:(1+7/100)*DD,DOTLINE,COLORMAGENTA;
下:(1-7/100)*DD,DOTLINE,COLORMAGENTA;
中:(上+下)/2,DOTLINE,COLORMAGENTA;

M10:=EMA(C,10);
融:=M10,COLORRED,LINETHICK2;
高:(1+14/100)*DD,DOTLINE,COLORGRAY;
低:(1-14/100)*DD,DOTLINE,COLORGRAY;

RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
中1:SMA(RSV1,5,1),NODRAW,COLORMAGENTA;
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
短: (EMA(CS,3)-50)*2,NODRAW,COLORLIGRAY;

集中度:=(COST(85)-COST(15))/(COST(85)+COST(15))/2;
平均成本:((COST(85)+COST(15))/2+COST(50))/2,COLORWHITE,LINETHICK2;
IF(集中度<0.06,平均成本,DRAWNULL),COLORFFC0FF,LINETHICK2;

VAR2:=CLOSE*VOL;
VAR3:=EMA(VAR2,3);

 
解答如下:
买:EMA(CLOSE,5),COLORRED,LINETHICK2;A:=(REF(买,1));

卖:EMA(SLOPE(CLOSE,21)*20+CLOSE,42),LINETHICK2;

B:=CROSS(买,卖);

S:=CROSS(卖,买);

DRAWTEXT(B,LOW-0.1,'←买 '),COLORRED,LINETHICK2;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;G:=95;

DRAWTEXT(CROSS(J,D),L*0.999,'←加仓'),COLOR00FFFF,LINETHICK2;

VAR29:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAR2A:=SMA(VAR29,5,1);

VAR2B:=SMA(VAR2A,10,1);

VAR2C:=CROSS(VAR2B,VAR2A);

VAR2D:=VAR2B>80 OR VAR2A>80;

VAR2E:=VAR2C AND VAR2D;

VAR33:=HIGH;

VAR34:=LOW;

逃顶:=STICKLINE(VAR2E,VAR33,VAR34,4,0);

DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),HIGH*1.03,'-落袋为安'),COLORYELLOW;

X6:=REF(CLOSE,1);

X7:=SMA(MAX(CLOSE-X6,0),7,1)/SMA(ABS(CLOSE-X6),7,1)*100;

X8:=CROSS(79,X7);

X9:=FILTER(X8,4);DRAWTEXT(X9,HIGH*1.02,'←出货'),COLOR9000F5;

FF:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,FF);
上:(1+7/100)*DD,DOTLINE,COLORMAGENTA;
下:(1-7/100)*DD,DOTLINE,COLORMAGENTA;
中:(上+下)/2,DOTLINE,COLORMAGENTA;

M10:=EMA(C,10);
融:=M10;
高:(1+14/100)*DD,DOTLINE,COLORGRAY;
低:(1-14/100)*DD,DOTLINE,COLORGRAY;

RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
中1:SMA(RSV1,5,1),linethick0,COLORMAGENTA;
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
短: (EMA(CS,3)-50)*2,linethick0,COLORGRAY;

集中度:=(COST(85)-COST(15))/(COST(85)+COST(15))/2;
平均成本:((COST(85)+COST(15))/2+COST(50))/2,COLORWHITE,LINETHICK2;
partline(平均成本,集中度<0.06,rgb(255,0,255)),LINETHICK2;
VAR2:=CLOSE*VOL;
VAR3:=EMA(VAR2,3);
 

 

{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}

【股票资源馆】策略投资破解,图片免费下载,理想股票技术论坛,财经股票论坛,炒股论坛社区,股票软件,股票公式,源码交流,指标公式,炒股书籍,分析家公式网,股旁网,股票配资。

帮忙图标显示改为文字显示

帮忙图标显示改为文字显示

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu