b20:ma((h-l),20),nodraw;
b10:ma((h-l),10),nodraw;
b1:h-l,nodraw;
drawtextex(1,0,0,0,'20日波动:'+numtostr(b20,1)+',10日波动:'+numtostr(b10,1)+',今日波动:'+numtostr(b1,1)),colorwhite; //写到公式下面行
drawtext(islastbar,h,'20日波动:'+numtostr(b20,1)+'\n10日波动:'+numtostr(b10,1)+'\n今日波动:'+numtostr(b1,1)),colorwhite,pxup50; //写到最后一根K线