等级: 专业版
- 注册:
- 2022-8-5
- 曾用名:
|
楼主 |
发表于 2023-5-29 18:08
|
显示全部楼层
IF (C>ENTERPRICE AND C>AVGENTERPRICE )AND C<T1 AND A<REF(A,1) AND T5<REF(T5,1)AND C<T5 THEN BEGIN
止盈1:SELL(C<BH ,HOLDING,THISCLOSE);//止盈100%
END;
IF (C<ENTERPRICE AND C>AVGENTERPRICE) AND C<T2 AND A<REF(A,1) AND T4<REF(T4,1)AND C<T4 AND MACD1<0 THEN BEGIN
止盈2:SELL(C<BL ,HOLDING/2,THISCLOSE);//止盈50%
END;
IF ALL(C<T9,1)AND C<ENTERPRICE AND C<AVGENTERPRICE THEN BEGIN
损1:SELL(1 ,HOLDING/2,THISCLOSE);//止损50%
END;
中间红色语句报错,BEGIN 缺少END 哪里出错了吗?检查不出来啊
|
|