![](data:image/gif;base64,R0lGODlhDwAOAMQaAOXl5eTk5Ofn5/v7++bm5v39/fDw8O7u7vf39/z8/O3t7fT09Ojo6PHx8ezs7PPz8+np6fX19e/v7+vr6/Ly8vb29vr6+vj4+Pn5+erq6v///wAAAAAAAAAAAAAAAAAAACH5BAEAABoALAAAAAAPAA4AAAV0oCZqg4GM42KMFxNEaHEEk4gRAXChThBImgIkQFigKD5HQdPwUVADQYCRCA4FA9TD9xAhcIrYJGcRLQCBBirhoooeAEDGYCgnCADBQRI5x+MVGnd/AQ5NfwAnA4gBCjOIioyOOX+Bi4QKBgQCnAKKnQIEByEAOw==)
以下是我用飞狐公式写的,请大侠帮忙转换成MT的公式。
close1:=(h+l+o+3*c)/6;
MID := MA(CLOSE1,N);
UPPER:= MID + P*STD(CLOSE1,N);
LOWER:= MID - P*STD(CLOSE1,N);
bollkd:=5*(upper-lower);
MID1 := MA(bollkd,N);
UPPER1:= MID1 + P*STD(bollkd,N);
LOWER1:= MID1 - P*STD(bollkd,N);
kd:(bollkd-lower1)/(upper1-lower1);
xx:0;
zx:0.5,POINTDOT;
sx:1.0;
![](data:image/gif;base64,R0lGODlhDwAOAMQaAOXl5eTk5Ofn5/v7++bm5v39/fDw8O7u7vf39/z8/O3t7fT09Ojo6PHx8ezs7PPz8+np6fX19e/v7+vr6/Ly8vb29vr6+vj4+Pn5+erq6v///wAAAAAAAAAAAAAAAAAAACH5BAEAABoALAAAAAAPAA4AAAV04EEIpDBoSCkQhhIAMHBWMRAcbn0i9Z3Hu17D8YIREhpabRGRHASAo8ZiMGRgD40mwQgwkFpN47XQWmyTQljjIiC0j0AgGx4IAhA1N2BaU+QNGgVEARRrCwR4ahJyDmsXNgQYWhM3amERXhdhBmVrKAYnYSEAOw==)