Patrick
Patrick
Data Analyst at JP Morgan Chase
Friends

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

Patrick
Added topic 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 
Patrick
Added topic 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
Patrick
Registered at MQL5.community
Patrick
Added topic 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
Patrick
Added topic 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
Patrick
Added topic 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
Patrick
Added topic Market Watch Time & DST
Does the market watch time shift with daylight savings time ...forward an hour in the spring
Patrick
Added topic 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
Patrick
Added topic 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
Patrick
Added topic 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) {
Patrick
Added topic Pulisher_Balance Graph
I'm successfully publishing my accounts to a web site, however, is there a way to include the balance/equity graph with the statement
Patrick
Added topic A Better way?
I want something to happen every morning at 16:00 market watch. Using if(Hour() == 16 && Minute == 00 && Seconds = 00) is risky because if you don't get a tick at that second, it will never turn true so I use: if(Hour() == 16
Patrick
Added topic OrderSelect---Last closed order
How can I go back and check at what time my last order was closed and use that info on wheather I should proceed with my buy signal ? OrderSelect (cnt, SELECT_BY_POS,): if(TimeCurrent() - OrderCloseTime() > timecheck) { Continue; } This doesn't
Patrick
Added topic Different Broker Information
Different Brokers have Different quotes for EURUSD, such as EUR/USD, EUR.USD, and EURUSD2. So trying to use the market info function in the following way..... maxlots = MarketInfo ("EURUSD",MODE_MAXLOT); won't return the value if you're
Patrick
Added topic 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
Patrick
Added topic Logic help
I've searched for ordermodify error 1 but it still hasn't helped. The system keeps giving me order modify error 1 but there seems to be no logical reason... if ( OrderType ( ) = = OP_SELL & & Bid < SOOP30 )
Patrick
Added topic Optimal Optimization
I'm trying to run an optimization to see which is the best currency pair for trading, here is what I have thus far: extern int currency = 1; if(currency ==1) { plugcu = "EURUSD"; } if(currency ==2) { plugcu = "USDJPY"; }
Patrick
Added topic Small Zero Divide problem
Any help would be appreciated: if(stopLoss >0) { dollarrisk= equitypercent*AccountEquity(); riskperpip=dollarrisk/stopLoss; lots=riskperpip/10; } else { dollarrisk= equitypercent*AccountEquity(); riskperpip=dollarrisk/ATR2; ------------------->
Patrick
Added topic icustom Keltner_Channel Bands
I'm trying to take the Keltner_Channel strategy below and utilize its bands in an EA but I'm having trouble with being able to reference the individual bands (like you can do with the bollinger bands) in mql4. So far I've tried, " KeltnerP
Patrick
Added topic Quick Question
Hey Guys, new member, been writing in MQL4 for a few weeks know and have a quick question: Originally started my code on a 4 digit broker and for TP calculation have ACCTTP = Ask + ( take profit * point) (take profit = 100) switch to 5 digit broker