展开全部/* 程序描述:设计一个表示日期的结构体。编写一个函数,计算两个日期之间差多少天。在 main 函数 中调用该函数,并显示。include include include define leap_year 366 define common_year 365 int days[]={31,28,31,30,31,30,31,31,30,31,30,31};struct date { int...
n:=14;m:=6;tr:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),n);hd:=high-ref(high,1);ld:=ref(low,1)-low;dmp:=sum(if(hd>0 and hd>ld,hd,0),n);dmm:=sum(if(ld>0 and ld>hd,ld,0),n);pd...