Wedding Bus 官方
2024-12-02 22:48:38
最佳回答
{n1:1,100,10;n2:1,100,10;d**p:=1,3,2};n1:=10;n2:=10;d**p:=2;k:=if(period=5,1,{日}if(period=6,1,{周}if(period=7,1,{月}if(period=8,1,{多分钟}if(period=9,1,{多日}if(period=10,1,{季}if(period=11,2,{年}if(period=4,1,{60f}if(period=3,1,{30f}if(period=2,1,{15f}if(period=1,1{5f},1{1f})))))))))))/10;p1:=peak(1,k*n1,1);p2:=peak(1,k*n1,2);wp1:=peakbars(1,k*n1,1);wp2:=peakbars(1,k*n1,2);t1:=trough(2,k*n2,1);t2:=trough(2,k*n2,2);wt1:=trou**ars(2,k*n2,1);wt2:=trou**ars(2,k*n2,2);tj1:=p1>t1andp2>t2;zd:=max(t1,t2);zg:=min(p1,p2);ll:=min(t1,t2);hh:=max(p1,p2);tj2:=filter(zg>zd,2);tj3:=zg=ref(zg,barslast(tj2))orzd=ref(zd,barslast(tj2));tj4:=tj1&&tj2&¬(tj3);tj5:=between(zd,ref(zd,ref(barslast(tj4),1)),ref(zg,ref(barslast(tj4),1)));tj6:=between(zg,ref(zd,ref(barslast(tj4),1)),ref(zg,ref(barslast(tj4),1)));tj7:=zg>ref(zg,ref(barslast(tj4),1))&&zd<ref(zd,ref(barslast(tj4),1));t**:=tj4&¬(tj5ortj6ortj7);zsd:=if(t**,zd,draw**);zsg:=if(t**,zg,draw**);zsh:=if(t**,hh,draw**);zsl:=if(t**,ll,draw**);stickline(t**,zsh,zsl,0,-1),colormagenta;stickline(t**,zsd,zsg,if(d**p=1,3,0),1),colormagenta;drawtext(d**p=2,zsh,'中枢'),colorwhite;中枢高:ployline(d 20210311