Forum

Identical Open High Low Close prices

Running a strategy test on " Open Prices Only " and using: Print(">> ", Time[0], " ", Open[0], " ", High[0], " ", Low[0], " ", Close[0]); Returns the same value for the Open, High, Low, Close Prices: 2009.09.29 09:01:34 2009.09.09 23:57 TEST EURUSD,M1: >> 1252540620 1.4560 1.4560 1.4560 1.4560 When

Old Tick

I see "Old Tick" alerts/errors coming into my back tester and data demo accounts . I often saw these in MT4, what exactly do they mean again? Pat

Muli Currency Indicator

Under the new mql5 system for referencing indicator values, you must create a global array, indicator handles, copy the buffer, and set the array as series. If i'm trying to reference indicator values across 12 currency pairs , must I do this for each different currency? This seems rather resource

Objective Function & Optimization

In conducting some walk forward optimizations i'm looking for an efficient yet easy objective function to dictate which settings were the "best". By default MT4 gives you, Profit, Profit Factor, DD$, Expected Payoff, DD%, and Total Trades. By themselves, none of them are mind blowing as an objective

Odd Custom Indicator Bug

The Below Indicator has a bug I've been working on for a few days. When you attach it to a chart, Buf_1[] is not drawn (on any bars below bar 0), but it starts drawing from candle 0 once you attach it to a chart. Interestingly enough, if you attach it to a chart and then compile it the Buf_1 values

Heiken Ashi Logic Step

In the heiken Ashi loop below, why do they differentiate the array that stores high and low data based on if the candle was bullish or bearish? Why wouldn't they always just have high and low data in the same array? Attached the full version if need to help me :) while (pos>= 0 ) {

Market Watch Time & DST

Does the market watch time shift with daylight savings time ...forward an hour in the spring

Mid Optimization Compile

I was running a 3 day optimization and while my platform was in the middle of this optimization, I made some changes to my program and compiled it. Would the Optimizations from that point on use the newly compiled settings or the old settings? I would think it would still use the old settings

Documentation and Trading Development

I've been developing systems in MQL4 for about a year now and seem to run into the same types of problems when developing and testing systems. After I form a hypothesis, write the program and test out the system, I analyze the results, come up with ways to make it better, and continue along this

Quick Fix ???

I'm trying to write data to a file but it keeps writing it over the old data, i'm using the file seek function but it doesn't seem to like me, is their something small i'm doing wrong? int start() { if(Hour() == 17 && hit == true) { handle=FileOpen("test_2", FILE_CSV|FILE_WRITE,';');