以下写法对吗?
if 条件1 then begin
{平空}sellshort(holding<0,abs(holding),MARKET);
{开多}buy(holding=0 ,KD,MARKET);
{多头邮件开始}
e1:=numtostr(enterprice,3);
h1:=numtostr(holding,0);
SENDMAIL(空平多开,'zhw553@sina.com,'多头'+STKNAME,'开仓'+e1 and '数量'+h1);
end
怎么没发邮件~? 公式运行于 K线走完模式。 这应该走完后执行了,接着发邮件对吧
没收到邮件哦~询问咋找问题 邮件发送设置哪儿打勾了
sendmail那个函数,条件写islastbar
如果还不行,把邮件设置界面发一下