MQL4 - automated forex trading   /  

Forum

EA & offline charts

Back to topics list To post a new topic, please log in or register

avatar
5
wboyer 2006.10.11 00:59 
I have a two-hour chart which was produced using the Period_Converter_Opt indicator.
To this two-hour (offline) chart, I have attached an indicator and an EA.

The Indicator, on the two-hour chart, is operating properly, and in real-time. The EA, though, is not fairing so well. The EA's start() function is not getting called. Has anyone successfully attached an EA to an offline chart like this? If so, is there a trick that I'm missing?
Trend-Hunting

Trend-Hunting

The article describes an algorithm of volume increase of a profit trade. Its implementation using MQL4 means is presented in the article.


avatar
28
brave0heart 2006.10.11 01:59 
wboyer wrote:
I have a two-hour chart which was produced using the Period_Converter_Opt indicator.
To this two-hour (offline) chart, I have attached an indicator and an EA.

The Indicator, on the two-hour chart, is operating properly, and in real-time. The EA, though, is not fairing so well. The EA's start() function is not getting called. Has anyone successfully attached an EA to an offline chart like this? If so, is there a trick that I'm missing?

I hope someone clarifies this, I am wondering the same thing.
Steve

avatar
28
brave0heart 2006.10.11 02:02 
brave0heart wrote:
wboyer wrote:
I have a two-hour chart which was produced using the Period_Converter_Opt indicator.
To this two-hour (offline) chart, I have attached an indicator and an EA.

The Indicator, on the two-hour chart, is operating properly, and in real-time. The EA, though, is not fairing so well. The EA's start() function is not getting called. Has anyone successfully attached an EA to an offline chart like this? If so, is there a trick that I'm missing?

I hope someone clarifies this, I am wondering the same thing.
Steve

Stringo did write to use an endless loop here, in order to use an EA(?) with offline data 'Running Expert Advisor on Offline Chart'.  But I can't figure out to do this.  hope someone gives a simple example.

avatar
28
brave0heart 2006.10.19 10:05 
brave0heart wrote:
brave0heart wrote:
wboyer wrote:
I have a two-hour chart which was produced using the Period_Converter_Opt indicator.
To this two-hour (offline) chart, I have attached an indicator and an EA.

The Indicator, on the two-hour chart, is operating properly, and in real-time. The EA, though, is not fairing so well. The EA's start() function is not getting called. Has anyone successfully attached an EA to an offline chart like this? If so, is there a trick that I'm missing?

I hope someone clarifies this, I am wondering the same thing.
Steve

Stringo did write to use an endless loop here, in order to use an EA(?) with offline data 'Running Expert Advisor on Offline Chart'. But I can't figure out to do this. hope someone gives a simple example.
see 'Script example'
Back to topics list  

To add comments, please log in or register