Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共6 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:简略的写法

1楼
aliyun 发表于:2019/12/2 10:55:04
 

78K:= hhv(h,78)-llv(L,78);....... 10K:= hhv(h,10)-llv(L,10);

aaa : =78K < 92 and 66K < 87 and 55K < 82 and 45K < 77 and 36K < 72 and 28K < 67 and 21K < 62 and 15K < 57 and 10K < 52;  //5

这个有无简略的写法

2楼
FireScript 发表于:2019/12/2 11:16:25
 这个真没办法简化。
3楼
aliyun 发表于:2019/12/2 11:19:24
 

78K:= hhv(h,78)-llv(L,78);....... 10K:= hhv(h,10)-llv(L,10);

aaa : =78K < 92 and 66K < 87 and 55K < 82 and 45K < 77 and 36K < 72 and 28K < 67 and 21K < 62 and 15K < 57 and 10K < 52;  //5

bbb : =78K < 97 and 66K < 92 and 55K < 87 and 45K < 82 and 36K < 77 and 28K < 72 and 21K < 67 and 15K < 62 and 10K < 57; 

ccc : =78K<102 and 66K < 97 and 55K < 92 and 45K < 87 and 36K < 82 and 28K < 77 and 21K < 72 and 15K < 67 and 10K < 62;

ddd : =78K<107 and 66K<102 and 55K < 97 and 45K < 92 and 36K < 87 and 28K < 82 and 21K < 77 and 15K < 72 and 10K < 67;

这个呢

4楼
FireScript 发表于:2019/12/2 13:27:26
一样的。你这个也没什么特征明显的规律。
5楼
aliyun 发表于:2019/12/2 14:14:29
横向差5,竖向差5,数组?
6楼
FireScript 发表于:2019/12/2 14:42:09
 不行,这个规律特征也没办法用来简化代码。搞那些数组,线代 ,代码似乎也不见得比这个少。还不如这样暴力描述来的简单直接。
共6 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.00977 s, 3 queries.