ft:=cross(ma(c,5),ma(c,10));
fy:=cross(ma(c,10),ma(c,20));
fu:=cross(ma(c,5),ma(c,20));
ts510:=if(cross(ma(c,10),ma(c,5)),0,BARSLAST(ft));
ts1020:=if(cross(ma(c,10),ma(c,5)),0,BARSLAST(fy));
ts520:=if(cross(ma(c,10),ma(c,5)),0,BARSLAST(fu));
ft1:=ref(ma(c,5),ts510+1);
fy1:=ref(ma(c,10),ts1020+1);
fu1:=ref(ma(c,20),ts520+1);
ts520:=BARSLAST(fu);
DRAWLINE(ft,ft1,fy,fy1,0),colorred,linethick2;
DRAWLINE(ft,ft1,fu,fu1,0),colorred,linethick2;
DRAWLINE(fu,fu1,fy,fy1,0),colorred,linethick2;
202108211148.jpg
|