每天需要数据初始化一下 那个 if ( XX <> YY ) 是怎么写的呀

每天需要数据初始化一下  那个 if ( XX   <> YY )  是怎么写的呀

每天第一根bar


if(truedate(0)<>truedate(1))