源码
hh:=cost(99.7);{满盘获利 }
LL:=cost(0.3);{全盘被套 }
rv:=(c-LL)*100/(hh-LL);
获利比:rv,colorwhite;
k:sma(rv,5,1),coloryellow,pointdot;
d:sma(k,5,1),colorwhite,pointdot;
j:=k-d;
高:ref(hhv(rv,210),1),colorred;
低:ref(llv(rv,210),1),colorgreen;
50,colorwhite;
stickline(k>d and j>ref(j,1),k,d,4,0),colorred;
stickline(k>d and j
stickline(k
stickline(k
drawicon( cross(d,k) and d>80,80,2),colorwhite;
drawtext( cross(rv,50),40,'强'),colorwhite;
drawtext( cross(50,rv),40,'弱'),colorwhite;