红点上穿生命线的选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

源码:VAR1:=SMA(AMOUNT,10,1)/1000000;VAR2:=REF(VAR1,1);VAR3:=MA(REF(CLOSE,1),5);最高:VAR1*HIGH/VAR3*1/10,POINTDOT,COLOR009900,COLORGRAY;最低:VAR1*LOW/VAR3*1/10,POINTDOT,COLOR009900,COLORYELLOW;开盘:VAR1*OPEN/VAR3*1/10,POINTDOT,COLOR009900,COLORMAGENTA;收盘:VAR1*CLOSE/VAR3*1/10,COLOR009900,COLORGREEN,POINTDOT;生命线:EMA(收盘,14),COLORYELLOW;昨收盘:=REF(收盘,1),POINTDOT,COLOR009900,LINETHICK0;涨跌:=(收盘-REF(收盘,1))/REF(收盘,1)*100,POINTDOT,COLOR009900;STICKLINE(收盘>开盘,收盘,开盘,3,0),COLORRED;STICKLINE(收盘>开盘,最高,MAX(收盘,开盘),0,1),COLORRED;STICKLINE(收盘>开盘,MIN(收盘,开盘),最低,0,1),COLORRED;STICKLINE(收盘<开盘,收盘,开盘,2,0),COLORGREEN;STICKLINE(收盘<开盘,最高,MAX(收盘,开盘),0,1),COLORGREEN;STICKLINE(收盘<开盘,MIN(收盘,开盘),最低,0,1),COLORGREEN;

解答:

 VAR1:=SMA(AMOUNT,10,1)/1000000;

VAR3:=MA(REF(CLOSE,1),5);
收盘:=VAR1*CLOSE/VAR3*1/10,COLOR009900;
生命线:=EMA(收盘,14);
XG:CROSS(收盘,生命线);

选股票看什么指标最好 >股票指标网