EA: ZZ Fibo Trader

 

ZZ Fibo Trader:

ZZ Fibo Trader 简单地展示了 Simple ZZ Fibo 的使用, 它在之字转向的波动中绘制斐波那契线。另外,算法还展示了通过抛物线系统进行移动止损的操作。

EA等待价格突破一条斐波那契水平线,如果有反向突破,EA交易进行一个与突破反向的交易。

作者: Oleg Shenker

 

会产生以下错误

'position' - struct member undefined    ZZ_Fibo_Trader.mq5      191     22
'POSITION_TICKET' - undeclared identifier       ZZ_Fibo_Trader.mq5      191     52
'PositionGetInteger' - no one of the overloads can be applied to the function call      ZZ_Fibo_Trader.mq5      191     33
3 error(s), 0 warning(s)                4       1
[删除]  
Сергей Криушин:

会产生以下错误

'position' - struct member undefined    ZZ_Fibo_Trader.mq5      191     22
'POSITION_TICKET' - undeclared identifier       ZZ_Fibo_Trader.mq5      191     52
'PositionGetInteger' - no one of the overloads can be applied to the function call      ZZ_Fibo_Trader.mq5      191     33
3 error(s), 0 warning(s)                4       1



190 if(ZZLevel000[1] > ZZLevel100[1]) TradeDirection = 1;

191 else TradeDirection = -1;

您是否删除了代码中的某些行?

从错误内容来看,定义交易请求结构的 语法被破坏了。

要么是在定义该结构的行中(对我来说是第 57 行),要么是在调用交易函数的行中(171 - 174)。

MqlTradeRequest      Request = {0};

...

Request.action = TRADE_ACTION_SLTP;

Request.symbol = Symbol();

Request.sl = StopLossLevel; //move SL as parabolic StopLossLevel;

Request.position = PositionGetInteger(POSITION_TICKET);

if(OrderCheck(Request, Check) && Check.retcode == 0)

       {

        if(!OrderSend(Request, Results) || Results.retcode != 10009) Print("Fail to modify SL");

       }

else

       {

        if(Check.retcode == 10019) Print("There is not enough money to complete the request");

        if(Check.retcode == 10025) Print("No changes in request");

        if(Check.retcode == 10014) Print("Invalid volume in the request");

       }              



 

HI.... 我正试图使用 "ZZ Fibo Trader EA + Siple ZZ Fibo indicator"(ZZ Fibo EA + SipleZZ Fibo指标)进行Backtest(回溯测试
但我做不了,因为系统显示:
已导入模块 "Simple ZZ Fibo.ex5 "的过时版本
你能重新编译并再次上传吗?
非常感谢,并致以最崇高的敬意
ps. 抱歉我的英语不好。

ZZ Fibo Trader
ZZ Fibo Trader
  • 投票: 12
  • 2017.01.18
  • Oleg Shenker
  • www.mql5.com
The ZZ Fibo Trader is a simple illustration of the use of the Simple ZZ Fibo, which plots Fibonacci lines on long impulse waves of the ZigZag. In addition, the algorithm illustrates operation of the parabolic system for moving the stop loss.
 

你好。在我的 icmarkets 演示版上运行此程序或进行回溯测试时,我遇到了错误(无支持填充模式)。

请检查。


 
在哪里可以下载Simple ZZ Fibo 指标?下载已中断 ...
Indicador técnico Simple ZZ Fibo
Indicador técnico Simple ZZ Fibo
  • www.mql5.com
The Simple ZZ Fibo indicator represents a further development of the ideas about automatic price pattern identification, implemented in the Simple - Português
 
你好!在哪里可以下载 "Simple ZZ Fibo"?谢谢。
 

我遇到了这个错误,请给我一个建议

 
nvtruongjsc #: 我遇到了这个错误,请给我一个建议

然后提供更多细节并描述错误。显示日志输出。