v88 / Publications
Forum
Cannot access mql5 website
Hi My home router IP cannot access the mql5 website, it appears to be blocked. I have a static IP. I did see an 403 error in chrome How do I remove myself from the block? Thanks
OnInit - Controlling Optimization/Tester with Criteria Problem
Hi, I would like to control the optimizer/strategy tester so it does not generate insane/crazy stop loss to take profit variations for when i select these for optimization (eg. stop loss of 100 and a take profit of 500). This is the code below that I have now in OnInit - any ideas? The optimization
Trading within certain time period problems
Hi I have some code that trades between a start hour and an end hour, eg 19:00 to 01:00 (Code as follows). string s=( string )start+ ":00" ; string e=( string )end+ ":00" ; if ( TimeCurrent ()>= StringToTime (s) || TimeCurrent ()< StringToTime (e)) { //Execute trade } else if ( TimeCurrent
Help needed - chart shows different trades than code
Hi, I'm trying to check for a buy/sell position on 2 chart indicators and then attempting to wait X bars for rest of indicators to be true. When I check the bars visually after a backtest , the trades seem to be totally not what I coded. I try to get the true condition of 2 chart indicators and then
Compare signals from 3 different indicators which need to be true within 5 bars of the first becoming true
Hi, I'm trying to compare indicator values from 3 different indicators to generate a signal to place a trade. However I'm not sure to go about it. What I'm trying to do is to check for: Any 1 of the 3 indicators to become true. Store this result Once 1 of them has become true, continue checking for
EA Buffers not matching indicator data window values (AMA Smoothe)
Hi, I'm having issues matching up data from EA buffers to indicator data window values. The indicator I'm using is the AMA Smoothe by mladen (which is really cool). You'll see from the below window that I printed the values from a backtest into the journal window. levu should correspond to Upper and
Supertrend Mql5 MTF Problems?
Hi, This is my first time dabbling with Mql5 code. I wanted to modify a commonly used Mql5 Supertrend Indicator and make it MTF with separate the bars when changing direction. I did some research and this is what I can come up. From what I've read, iBarShift is required but I'm not sure about