its the time to share it
Code:
_SECTION_BEGIN("BuyP_SellP_ORGINAL!");
SetChartBkColor(ParamColor("Outer panel",colorLightGrey));
N=10;
K=(H+L+C+C)/4;
TR=Wilders(HHV(H,2)-LLV(L,2),N);
VR=V/Ref(Wilders(V,N),-1);
WR=(K-Ref(K,-1))/Min(K,Ref(K,-1));
CN=abs(WR)*K*3/TR;
sp=IIf(WR<=0,VR,VR/exp(CN));
bp=IIf(WR>=0,VR,VR/exp(CN));
zz=sqrt(((bp/sp)/RSI(2))) > Ref(((bp/sp)/RSI(2)),-1);
Plot(zz, "", colorBlack);
_SECTION_END();