brettosm8
brettosm8
Friends

Add friends via their profile or user search and you will be able to see if they are online

brettosm8
Added topic Data quality, optimizing, back testing, walk forward analysis etc..
Hi all, I want to forward test daily data but Pepperstone's tick data goes back until only 2009, not enough for several walk forward passes using at least 3 years for the sample data. Perhaps I could use a broker on MT5 like Alpari, but how do I know
brettosm8
Added topic Indicator history changes when a new bar is shown
Hi there, I have this indicator which draws SR lines from fractal levels. I appears as below and looks like it is working.    Then, I go in to Strategy Tester and start testing a system using the indicator. It starts off as expected as
brettosm8
Added topic Highest outside of bands indicator help
Hi there, I have this indicator:   The red line, and the other lines, as you can see stops 2 bars away from where the new line starts. I want the line to go in to the bar that breaks above it.  I've played around to try and get the line to
brettosm8
Added topic HODLOD Indicator help please.
Hi there, I've had a poke around and not found what I'm looking for. I'm trying to create an indicator that draws a line along the prevailing HOD level during the trading session. In the code below I've limited the indicator to work only since the
brettosm8
Added topic Print seconds remaining in bar
Hi there, I want to print how much time is left remaining for a bar to close, so I can open an order just before the bar closes. Print("Time left: ", PeriodSeconds() -TimeSeconds(Time[ 0 ])); But on the M1 chart "60" prints out for every tick . On
brettosm8
Added topic Indicator values don't match EA generated values.
Hi there, My EA has bands that don't match the values of the bands in an indicator I'm using to test my EA. The indicator displays the bands as below: The upper band value of the previous bar to the current bar is:   It's code looks like this
brettosm8
Added topic OrderDelete function returns invalid ticket for OrderDelete function
Hi there, I have this code: void OnStart ()   { //---    for ( int i= OrdersTotal ()- 1 ;i>= 0 ; i--)      {        Print ( "OrdersTotal: " , OrdersTotal ());
brettosm8
Added topic OrderClose - Error 4051
Hi there, I manually opened a BUY order and ran the below code: void OnStart ()   { //---    for ( int i= OrdersTotal ();i> 0 ; i--)      {        Print ( "OrdersTotal: "
brettosm8
Added topic How to update MT4 to latest build
Hi there,   I asked a question on here before that seems to have disappeared as it's no longer under my name when I search by it for questions I've asked. I asked why I got an error when sending an order for .01 lots. It related to the MINISIZE
brettosm8
Added topic OrderSend generates 131 error Invalid trade volume
Hi there,  I'm using this code to open a couple pending orders and get the error as in subject. extern double SLDistance=. 0020 ; double Lots= 0.01 ; //MODE_MINLOT/Digits; double LongEntry; double ShortEntry;   LongTicket= OrderSend (
brettosm8
Added topic OrderSend() returns error: ERR_NO_RESULT - No error returned
Hi there, When I run the below code I get error code 1 i.e. ERR_NO_RESULT - No error returned, but the result is unknown.  Would appreciate any advice as to how to resolve that. Cheers, B. Ticket1= OrderSend ( Symbol
brettosm8
Added topic Everything appears tiny with windows 8.
Hi there, I just installed MT4 on win 8 and it appears as below! As you can see the buttons and text are TINY! Can anyone please assist!? LOL. Thanks, Brad
brettosm8
Added topic Tick data from different brokers leads to different results in Strategy Tester
Hi there, I downloaded tick data from 2003 from Dukascopy and used it to test my EA.  I found that for the period 05/14 - 12/14 the balance graph is very different, compared with the tick data from Pepperstone I was using, so different trades
brettosm8
Added topic Import tick data to MT4 for Strategy Tester
Hi there, I'd like to import tick data from https://pepperstone.com/mt4-forex-trading/mt4-tick-chart-history-data.php which is in the below format. EUR/USD,20090501 00:00:00.365,1.32436,1.32451 EUR/USD,20090501 00:00:00.371,1.32437,1.32452
brettosm8
Added topic How to Strategy Test swap prices.
Wishing everyone well for the holiday season and new year. I have a question re testing my code in Strategy Tester .  My EA has positions that regularly remain open over several days.  Is it possible include swap prices in the testing of my
brettosm8
Added topic FileOpen() returns error in debug mode but not with Stratergy Tester.
Hi there, I run an EA in ST ok.  It reads dates and times from a file in tester\files. If I run the EA in debug mode , FileOpen() returns -1.  It appears when using debug mode the EA looks for the file in MQL4\files because trying to open
brettosm8
Added topic FileOpen works in script but not EA Strategy Tester
Hi there, I have code that opens and reads a file when run in a script.  When I copy the function and put it in an EA and test it in ST an error returns as below. 5004 ERR_FILE_CANNOT_OPEN Cannot open file The script: input string fileName=
brettosm8
Added topic FileReadDateTime renders date incorrectly
Hi there, Your assistance is appreciated, thanks. I have a csv file that looks like this: 20140103 14 : 30 : 00 20140106 10 : 00 : 00 20140106 17 : 30 : 00 FileReadDateTime() " Reads from the file of CSV type a string of one of the formats
brettosm8
Added topic Unable to open csv file
Hi there, I receive this error: 5004 ERR_FILE_CANNOT_OPEN Cannot open file It happens when trying to open a csv file to read it. input string fileName= "calendar_statement.csv" ; input string directoryName= "Files" ; datetime newsItemDateTime; int
brettosm8
Added topic Strategy Tester using accurate historical spreads
Hi there, is it possible to use Strategy Tester based on actual historical spreads?  If this isn't built in to ST can it be coded in to an EA? Thanks, Brad
12