源碼: {n1:4,n2:21,n3:55,n4:62,n5:133,n6:144} MAa:=ma(close,n1); MAb:=ma(close,n2); MAc:=ma(close,n3); MAD:=ma(close,n4); MAE:=ma(close,n5); MAF:=ma(close,n6); ma1:ma(ma(close,n1),1); ma2:ma(ma(close,n2),2); ma3:ma(ma(close,n3),3); ma4:ma(ma(close,n4),4); ma5:ma(ma(close,n5),5); 買入:stickline(cross(ma1,ma2),high,low,0.5,1),color00ff00; stickline(cross(ma1,ma2),open,close,8,1),linethick2,color00ff00; drawicon(cross(ma1,ma2),low-0.1,1); 加倉(cāng):stickline(count(close>ma3,1)=1 and ref(close,3)<ref( ref(ma3,3),1),high,low,0.5,1),coloryellow; stickline(count(close>ma3,1)=1 and ref(close,3)<ref( ref(ma3,3),1),open,close,5,1),coloryellow; drawte55188(count(close>ma3,3)=3 and ref(close,3)<ref( ref(ma3,3),1),low,'加倉(cāng)'),colorf0f000; 賣出:stickline(cross(ma2,ma1),high,low,0.5,1),colore66878; stickline(cross(ma2,ma1),open,close,6,0),linethick2,colore66878; drawicon(cross(ma2,ma1),high+0.1,2);股票論壇 www.55188.com |
|