全部 智大领峰 TBQuant功能 TBL语言 TB开户 问答专区 高手圈 其他
在当前Bar写文件 为什么只写一次
qaz000 分享到
2023-10-10 14:13

if (BarStatus == 2)

{

tep_num_0 = tep_num_0 + 1;

FileAppend(FileAppend_Path,CurrentDtM +\":123456789123456789123456789=\" + Text(tep_num_0));

if (CurrentBar%2 == 0 and tep_num_0 <= 10)

tep_num_0 = tep_num_0 + 1;

if (CurrentBar%2 == 0 and tep_num_0 <= 7)

FileAppend(FileAppend_Path,CurrentDtM +\":tep_nue_0值=\" + Text(tep_num_0));

if (CurrentBar%2 == 1 and tep_num_1 <= 10)

tep_num_1 = tep_num_1 + 1;

if (CurrentBar%2 == 1 and tep_num_1 <= 7)

FileAppend(FileAppend_Path,CurrentDtM +\":tep_nue_1值=\" + Text(tep_num_1));

您未登录,请先 登录注册 后发表评论
顶部