益盟BS操盤線大智慧原碼<1> 買線:EMA(C,2),color000999; 賣線:EMA(SLOPE(C,21)*20+C,42),pointdot,coloryellow; BUY:=cross(買線,賣線); SEL:=cross(賣線,買線); drawtext(buy,LOW-0.1,Ψ ),colorf00ff0,linethick5; drawtext(sel,HIGH+0.1,◎),colorwhite,linethick5; stickline(買線>=賣線,low,high,0.1,1),colorred; stickline(買線>=賣線,close,open,8,1),colorred; stickline(買線>=賣線,close,open,10,1),; stickline(買線<賣線,close,open,10,0),colorffff00; stickline(買線<賣線,close,open,8,0),color00ff00; stickline(買線<賣線,low,high,0.1,1),color00ff00; stickline(cross(買線,賣線) or cross(賣線,買線),open,close,6,0),coloryellow;
益盟BS操盤線大智慧原碼<2> ma3:ma(c,5),colorf00ff0; ma10:ma(c,10),coloryellow; ma21:ma(c,21),colore66878; ma30:ma(c,30),colorwhite; ma120:ma(c,120),color399c7f,pointdot; ma240:ma(c,240),color000999,pointdot; x1:=(C+L+H)/3; x2:=EMA(x1,6); x3:=EMA(x2,5); DRAWICON(CROSS(X2,X3),L-0.1,10); DRAWICON(CROSS(X3,X2),H+0.1,12); stickline(x2>=x3,low,high,0.1,1),colorred; stickline(x2>=x3,close,open,9,2),colorred; stickline(x2>=x3,close,open,9,8),; stickline(x2<x3,low,high,0.1,1),colorGREEN; stickline(x2<x3,close,open,9,2),colorGREEN; stickline(CROSS(X2,X3),open,close,6,1),colorYELLOW; stickline(CROSS(X3,X2),open,close,6,1),colorBLUE;
|