If(MarketPosition != 1)//不持有多单,开多信号成立
{
Buy(ss, Close+PL*MP);//偏离20个跳点挂多单
}
买入条件里面想加入只在2024年10月8日买入,开多信号才成立,请问应该怎么写
if(date == 20241008) 应该是这样