- Search Energy EXCH
-
RaptorUK replied Jul 30, 2013If you are running an EA, Script or Indicator in Demo or Live and printing information it will be visible in the Experts tab, if you right click on the text in the experts tab and click on Open the folder containing the logs will be opened, you can ...
Code to capture high/low of bar trade opened on?
-
RaptorUK replied Jul 30, 2013No idea, you didn't say for which trading platform . . . just write it, it is a simple script.
Automatic order setup EA
-
RaptorUK replied Jul 30, 2013Talk to your Broker, either your account is not allowed to trade, or EA's aren't allowed or you are trying to trade the wrong symbol . . . some Demo accounts have a set of symbols you can trade and a set you can't, EURUSD vs EURUSDi
Need help with "OrderSend"
-
RaptorUK replied Jul 29, 2013You need to allow live trading, do it for the terminal and for your EA image image
Need help with "OrderSend"
-
RaptorUK replied Jul 29, 2013You can't have Alerts and Email, turn Alerts off (AlertON = false) and you will get email . . . poor coding but that is how it works.
E-Mail Alert Not Working! Please Help!
-
RaptorUK replied Jul 29, 2013Sorry, got side tracked a little . . . file
Building .hst files with MQL4
-
RaptorUK replied Jul 25, 2013Cool, glad to have been some help. I'm going to bed now, in the morning I'll post a modified version of your code to show how to use the error 4066 stuff just in case you need to use it in future.

Building .hst files with MQL4
-
RaptorUK replied Jul 25, 2013If you want the same value just use Bid at the start of the new Bar, that will be the opening value of OHL & C . . . using iOpen, iClose, etc will not give you what you want because during the time between you requesting the data and it arriving ...
Building .hst files with MQL4
-
RaptorUK replied Jul 25, 2013So you save the OHLC values for bar 0 when a new bar 0 has just started . . . if (bolNewBar) . . . and at the start of the new bar 0 the OHLC values are all the same, they must be the bar has just started, so when you say compare the values to the ...
Building .hst files with MQL4
-
RaptorUK replied Jul 25, 2013Your code doesn't compile . . . . static datetime _sTime[7]; // you have an array here if (_sTime == 0 // but not an array here
Building .hst files with MQL4
-
RaptorUK replied Jul 25, 2013Your Blank.mq4 EA ? OK, I'll do it but I'll do it right.
Building .hst files with MQL4
-
RaptorUK replied Jul 25, 2013I get accurate data . . . 22:08:32 VariousFunctionTest GBPUSD,M15: initialized 22:08:33 VariousFunctionTest GBPUSD,M15: 0.9475 0.9512 0.9517 22:08:35 VariousFunctionTest GBPUSD,M15: 0.9475 0.9512 0.9517 22:08:39 VariousFunctionTest GBPUSD,M15: ...
Building .hst files with MQL4
-
RaptorUK replied Jul 25, 2013I don't understand why you are spending time on something you don't need to do ? if you don't want to listen to good advice when given why on earth did you ask for help ? url url url
Building .hst files with MQL4
-
RaptorUK replied Jul 25, 2013Sorry, only just seen your post . . . even though there is a Input for MagicNumber it is not used, Magic Numbers of Orders are not checked in any way . . . so all Orders regardless of Magic Number should be closed . . . as long as they are not ...
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jul 25, 2013You can't simply compare doubles like that . . . it will often give you the wrong answer, read this thread: Can price != price ?
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jul 24, 2013As I already said . . . you need to test for error 4066, if you try to access data that has not yet been downloaded you need to wait for it . . . when it has arrived you can read it, error 4066 tells you that the data has not yet arrived.
Building .hst files with MQL4
-
RaptorUK replied Jul 23, 2013OK, it's easy to address this issue, attempt to read data for the other timeframes you want to update and check for error 4066, when you no longer get error 4066 your data has been updated, use iHigh() for example and specify the timeframe . . .
Building .hst files with MQL4
-
RaptorUK replied Jul 23, 2013OK, perhaps I am missing something, if you have a chart you already have the hst files and they are already being updated as you get fresh data from your Broker . . . what am I/you missing ?
Building .hst files with MQL4
-
RaptorUK replied Jul 23, 2013Have you tried Period_Converter_ALL_Rev01.mq4 ? but bear in mind this: url
Building .hst files with MQL4