N:=5;
均价:=(2*C+if(H=C,C,H)+if(L=C,C,L))/4;
R0:=WMA((2*if(L=C,C,L)+均价)/3,2);R00:=WMA((2*if(H=C,C,H)+均价)/3,2);
XP:=BARSLAST(R0=LLV(R0,N))+1;
NH:hhv(R00,Xp),COLOR0077FF,LINEDOT;
NL:llv(R0,Xp),COLORAAAA00,LINEDOT;
NHL:(NH+NL)/2,COLOR00FFFF,LINEDOT;
202108211201.jpg
|