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
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
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
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
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
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
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