写个“买进就涨”选股
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

TR1:=EMA(EMA(EMA(CLOSE,12),12),12);快线:(TR1-REF(TR1,1))/REF(TR1,1)*100,COLORWHITE;慢线:MA(快线,6),COLORYELLOW;DRAWTEXT(CROSS(快线,慢线),慢线,'买进就涨'),COLORYELLOW;DRAWTEXT(CROSS(慢线,快线),快线,'小心出货'),COLORGREEN;分界线:0,COLOR00BBBB;A1:STICKLINE(快线<慢线,慢线,快线,0.5,0),COLORGREEN; A2:STICKLINE(快线>慢线,快线,慢线,0.5,0),COLORRED;

解答:

 TR1:=EMA(EMA(EMA(CLOSE,12),12),12);

快线:=(TR1-REF(TR1,1))/REF(TR1,1)*100;
慢线:=MA(快线,6);
买进就涨:CROSS(快线,慢线);

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