- Search Energy EXCH
-
RaptorUK replied Dec 15, 2012You really don't want to do that, you can but it's a little involved, there is a good article here, it explains how to create your own buffers etc. Transferring an Indicator Code into an Expert Advisor Code. Indicator Structure but the normal course ...
Converting indicator to EA?
-
RaptorUK replied Dec 15, 2012OrderSend() returns an int, not a bool. "Returns number of the ticket assigned to the order by the trade server or -1 if it fails. To get additional error information, one has to call the GetLastError() function." What are Function return values ? ...
Error 138 - how to overcome requote
-
RaptorUK replied Dec 14, 2012Yep, they both use the same data . . . all stored in .hst files. When you run the ST it creates synthetic ticks based on the M1 data, the number of ticks created depends on the tick count data (Volume data) for each M1 bar . . .
Help! MT4 Strategy Tester Use Date limitation!
-
RaptorUK replied Dec 13, 2012Try this . . . . but please test it first, it compiles OK but I haven't tested it. See the comments for the changes I have made. Merry Christmas

Modification for trailing SL EA
-
RaptorUK replied Dec 12, 2012Download data from an alternative source . . . you can get tick data from Dukascopy and Pepperstone and convert it to M1 . . . more data sources here: url
Help! MT4 Strategy Tester Use Date limitation!
-
RaptorUK replied Dec 12, 2012Error 138 covers out of date prices and mixed up Bid and Ask . . . From here: Trading Errors ERR_REQUOTE 138 "The requested price has become out of date or bid and ask prices have been mixed up. The data can be refreshed without any delay using the ...
Error 138 - how to overcome requote
-
RaptorUK replied Dec 12, 2012That code is very bad . . . I already fixed it once . . . why not post a much better version. url
6 orders at once?
-
RaptorUK replied Dec 9, 2012You could put it on your chart using Comment() or use a Label Object . . . or output it to a CSV file, just bear in mind if you have the CSV file open in Excel MT4 won't write to it.
Export Floating Profit/Loss to Excel?
-
RaptorUK replied Dec 7, 2012Run it as a Script not an EA . . . then it will run just once.
Some very basic MQL4 help for a newbie please
-
RaptorUK replied Dec 6, 2012The first and last candles in your time range give you the open and close values respectively . . . for the High and the Low you need the Highest bar and the lowest bar and use their High and Low . . . iHighest() and iLowest() will help you. Then ...
Need script to export daily OHLC built from only few hours in a day
-
RaptorUK replied Dec 5, 2012Try this . . . see the code header for changes . . . Caution: please be aware that this script tries to place orders with no SL or TP set
Can you close all open orders at once?
-
RaptorUK replied Dec 4, 2012You can't . . . but you could modify your script a little to turn it into an EA that places a single trade on a specified date and time, that will test the bulk of the code in your script.
How to test script in strategy tester?
-
RaptorUK replied Nov 6, 2012It's a limitation n the filesize of the fxt file . . it's limited to 2GB.
MT4 Strategy Tester doesn't go all the way
-
RaptorUK replied Jun 27, 2012More food for thought . . . — Frequency become more important with methods that have lower WRs . . in other words, frequency is more important for a method that has a 10% WR than it is for a method that has a 95% WR On the subject of methods ...
Indicator Free Trading - Skunny
-
RaptorUK replied Apr 30, 2012Well I could tell you . . . . but then I would have to kill you . . . and you live a long way away from me so that would be a little inconvenient to have to do . . .

Indicator Free Trading - Skunny
-
RaptorUK replied Apr 30, 2012Decided to go this route, used period_converter code for reference and built a small script to sit on the offline charts so they can update themselves. Works very well even with 4 offline timeframes below the timeframe running in the strategy ...
Improved multi-timeframe/offset/chart period converter, P4L PeriodCon.mq4
-
RaptorUK replied Apr 27, 2012He means there are a few Indicators on the chart . . . in contrast to the title of this thread . . . "Indicator Free Trading - Skunny" indicatorful vs indicatorfree
Indicator Free Trading - Skunny
-
RaptorUK replied Apr 23, 2012A small update . . . I sort of got it working, I was using M5 in the Strategy Tester and I created an M15 chart . . . it ran for a minute or so before locking up. I had to set a update interval of 10 secs. Because the ST is running faster than real ...
Improved multi-timeframe/offset/chart period converter, P4L PeriodCon.mq4