源码
varA:=SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1);
warb:=SMA(vara,5,1);
获利盘:WINNER(CLOSE)*100 coloryellow linethick2;
流通盘:CAPITAL/1000000 color0066ff pointdot ;
收益:FINANCE(33) COLORmagenta pointdot ;
a:=(3*c+l+o+h)/6;
b:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/210;
d:=ma(b,10);
持仓区:STICKLINE(b>d,103 ,107,6,1 ) colorred linethick2;
空仓区:STICKLINE(b<d,103 ,107,6,1 ) colorgreen linethick2;
分水岭:50 coloryellow pointdot;
强势尺:80 colorred pointdot;
STICKLINE(b>d,105 ,106,3,0) coloryellow;
STICKLINE(b<d,105 ,106,3,0) COLORred;
STICKLINE(winner(close)*100>=winner(open)*100 ,winner(open)*100 ,winner(close)*100 ,8,0),colorred ;
STICKLINE(winner(open)*100>winner(close)*100 ,winner(close)*100 ,winner(open)*100 ,6,0 ),colorgreen ;
DRAWICON(获利盘<6 and CROSS(varA,warb) ,18 ,1);
评论(0)