Expert Advisors: Exp_CoeffofLine_true

 

Exp_CoeffofLine_true:

The Exp_CoeffofLine_true Expert Advisor based on the CoeffofLine_true indicator. The signal is formed when a bar is closing if there is breakthrough of its histogram zero level

Fig. 1. The instances of history of deals on the chart.

Fig. 1. The instances of history of deals on the chart.

Author: Nikolay Kositsin

 

Something is not loading the custom indicator?

2012.10.08 19:32:50 Core 1 connection closed
2012.10.08 19:32:50 Core 1 log file "C:\Program Files\MetaTrader 5\Tester\Agent-127.0.0.0.1-3000\logs\20121008.log" written
2012.10.08 19:32:50 Core 1 EURJPY,H1: 59038 ticks (29519 bars) generated within 1669 ms (total bars in history 35661, total time 1716 ms)
2012.10.08 19:32:50 Core 1 OnTester result 0
2012.10.08 19:32:50 Core 1 final balance 10000.00
2012.10.08 19:32:50 Core 1 2008.01.01 00:00:00 Failed to get the handle of indicator CoeffofLine_true
2012.10.08 19:32:50 Core 1 2008.01.01.01 00:00:00 cannot load custom indicator 'CoeffofLine_true' [4802]
2012.10.08 19:32:50 Core 1 loading of CoeffofLine_true EURJPY,H4 failed
2012.10.08 19:32:50 Core 1 SignalBar=1
2012.10.08 19:32:50 Core 1 SMMAPeriod=5
2012.10.08 19:32:50 Core 1 InpInd_Timeframe=16388
2012.10.08 19:32:50 Core 1 SellPosClose=true

I copied the indicator and placed it in mql5\indicators\.

compiled without errors, the same with the Expert Advisor itself.

I found an error in the EA code

InpInd_Handle=iCustom(Symbol(),InpInd_Timeframe, "CoeffofLine_true",SMMAPeriod); was

InpInd_Handle=iCustom(Symbol(),InpInd_Timeframe,"ColorCoeffofLine_true",SMMAPeriod); must be