- 精华
- 0
- 在线时间
- 28 小时
- UID
- 225117
- 积分
- 13
- 帖子
- 8
- 阅读权限
- 10
- 注册时间
- 2015-12-15
- 最后登录
- 2021-11-19
- 精华
- 0
- UID
- 225117
- 积分
- 13
- 帖子
- 8
- 主题
- 5
- 阅读权限
- 10
- 注册时间
- 2015-12-15
- 最后登录
- 2021-11-19
|
// Commentary("amphigh="+text(amphigh));
// Commentary("amplow="+text(amplow));
PlotNumeric("jjx", dayavg);
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if ((time[1]<0.20 and time>=0.21) or (((time[1]>0.13 and time[1]<=0.15) or time[1]<0.08 or time[1]>=0.2230) and time>=0.09 and time<0.10) or (time[1]<0.12 and time>=0.1330)) {
barnum = 1;
if (close>open) {upspeed = (high-low)/low*100; dnspeed =(high-close)/high*100;}
else if (close<open){dnspeed = (high-low)/high*100; upspeed =(close-low)/low*100;}
else {dnspeed = (high-low)/high*100; upspeed = (high-low)/low*100;}
if ((time[1]>0.1400 and time[1]<=0.1500 and (time<=0.1000 or time>=0.2100))) {muspeed = upspeed; mdspeed = dnspeed;}
usdis = 0; dsdis = 0; hipoint = 0; lopoint = 0; tnum = Mod(value(left(text(n), 4)),50)-2; 老师主要是这一行代码,是什么意思呢?
} else {
barnum = barnum[1] + 1;
}
// Commentary("barnum="+text(barnum)); |
|