
等级: 标准版
- 注册:
- 2023-2-16
- 曾用名:
|

楼主 |
发表于 2025-5-23 09:26
|
显示全部楼层
我的交易日志啊。2507合约。不是hc00,
jgxsw:=STRLEN(STRTRIMRIGHT(NUMTOSTR(mp,6) , '0'))-2;//最小变动价位的小数点位数
rdL_1:=round(L);
rdh_1:=round(h);
rdc_1:=round(c);
rdo_1:=round(o);
rdL_2:=rounds(L,jgxsw);
rdh_2:=rounds(h,jgxsw);
rdc_2:=rounds(c,jgxsw);
rdo_2:=rounds(o,jgxsw);
rdL:=if(jgxsw>0, rdL_2,rdL_1) ;
rdh:=if(jgxsw>0, rdh_2,rdh_1) ;
rdc:=if(jgxsw>0, rdc_2,rdc_1) ;
rdo:=if(jgxsw>0, rdo_2,rdo_1) ;
ref1rdc:=ref(rdc,1);
ref1rdh:=ref(rdh,1);
ref1rdl:=ref(rdl,1);
[rdh='& numtostr(rdh,0) & ' rdl='& numtostr(rdl,0) & ' rdc='& numtostr(rdc,0) & ' rdo='& numtostr(rdo,0) & ' ref1rdc='& numtostr(ref1rdc,0)& ' ref1rdl='& numtostr(ref1rdl,0) &'ref1rdh='& numtostr(ref1rdh,0)
|
|