我的钩选项是这样写的,你帮写个大括,可以吗'-------------------------------------------------------------Sub bk_CheckBox1_Click()'择盈平仓if bk_CheckBox1.Caption="择盈平仓" theniRun=0'暂停bk_CheckBox1.Caption="停止择盈"bk_CheckBox1.backcolor=rgb(255,0,0)elseiRun=1'运行bk_CheckBox1.Caption="择盈平仓"bk_CheckBox1.backcolor=rgb(0,255,0)'end if