jshumaker / Profile
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
jshumaker
Added topic write to file
I am trying to get a simple script to write the values of the technical indicators to a text file but I do not get the right values. The output file dates are integers void OnStart () { int file_handle= FileOpen ( "h1.csv"
jshumaker
Added topic sunday candles
I noticed that on my daily charts that I am getting 6 daily candles per week (mon - fri & sunday). Since the market is only open for 2 hours on Sunday , I feel that is skewing my indicators such as the stochastics & macd. Is there a way to
jshumaker
Added topic Strategy tester not displaying charts
I am running an EA in Strategy Tester without using visualization mode. Once it is complete I can see the results in the Results/Graph/Report/Journal tabs but I do not get the charts to display. I thought that as long as trades were executed when
jshumaker
Added topic script to download historical data
I have a script that writes the values of technical indicators per candle, but I do not know how to get the script to run on a specified date range. If I attach the script to a chart it counts backwards the number of candles from the current
jshumaker
Added topic create an array of values from a technical indicators
I want to create a script that will write the value of a technical indicator to an array or buffer for every candle in a chart. I saw the function ArrayCopySeries but that appears to only apply to open/high/low/close and not to things such as the
jshumaker
Added topic script for data download
I need to download historical data on technical indicator values per candle. Is there an existing MT4 script on this forum that I could use as a template
jshumaker
Added topic historical data
I just setup MT4 on another machine. After downloading historical data from MetaQuotes for GBP/USD, I then tried to test my EA in StrategyTester, but nothing happens. The screen is stuck on 'waiting for update'
jshumaker
Added topic negative numbers
dev = dev * 1.0 ; Why does the above line compile, but if I add a negative sign (below) then I get a compile error '-' unexpected token? dev = dev * - 1.0 ;
jshumaker
Added topic OrderClose error
if ( OrderSelect ( 0 ,SELECT_BY_POS, MODE_TRADES) == false && OrdersTotal () == 1 ) { Print ( "failed Order Select" ); } if (OrderType()==OP_BUY && M < S) { OrderClose (OrderTicket(),Lots,Bid, 2
jshumaker
Added topic my first custom indicator
I am trying to develop my first custom indicator . I only want the indicator to show on the charts during the overnight session. Therefore I added a simple IF clause to check for the hour of the day. The problem is that the indicator shows up for
jshumaker
Added topic accurate historical data
I had been speaking to FXCM regarding historical data. I already had downloaded free historical data from MetaQuotes and the support person sent me a link where I could purchase 10 years of historical data from FXCM. The price was $500 which did not
jshumaker
Added topic double order
While testing my EA on a demo account, I noticed that I got an order executed twice in the same second. Although I have a check before using OrderSend to make sure that I do not currently have an order open. What would you suggest I do to prevent
jshumaker
Added topic time periods
mt5 has more time periods. is there a way to get PERIOD_M2 , PERIOD _M3, etc... for mt4
jshumaker
Left feedback to developer for job DMX result set to MQL variable
Once again Anton did a great job. He has become my developer of choice. Very professional.
jshumaker
Added topic Pause EA in Strategy Tester to wait for SQL Server
I have an EA that passes a SQL command to a Microsoft SQL Server instance to execute a stored procedure. The stored procedure takes a few seconds to process and then produces a text file. In a live environment that should not be an issue
: