这个代码有人能帮我详细的翻译下吗?
int
start
()
{
int
limit
;
int
counted_bars
=
IndicatorCounted
();
double
rsi_sig
=
0
;
bool
entry
=false;
double
entry_point
=
0
;
//---- check for possible errors
if(
counted_bars
<
0
)
return
(-
1
);
//---- last counted bar will be recounted
if(
counted_bars
>
0
)
counted_bars
--;
limit
=
Bars
-
counted_bars
;
//---- main loop
for(int
i
=
0
;
i
<
limit
;
i
++)
{
//---- ma_shift set to 0 because SetIndexShift called abowe
start
()
{
int
limit
;
int
counted_bars
=
IndicatorCounted
();
double
rsi_sig
=
0
;
bool
entry
=false;
double
entry_point
=
0
;
//---- check for possible errors
if(
counted_bars
<
0
)
return
(-
1
);
//---- last counted bar will be recounted
if(
counted_bars
>
0
)
counted_bars
--;
limit
=
Bars
-
counted_bars
;
//---- main loop
for(int
i
=
0
;
i
<
limit
;
i
++)
{
//---- ma_shift set to 0 because SetIndexShift called abowe
发表于:2009-02-16 03:35只看该作者
2楼
代码不全。。:L
杭州开心网 www.kaixin0571.com 带你吃喝玩乐逛杭州!