Forgot to mentioned it is for MT5
Latest posts made by edwardseer
-
OnTrade issueposted in Bug Reports
i keep having this issue with my ea. it works perfectly.fine in strategy tester. but when on live, it will sometimes display this.
once the array out of range error appear, the ea will stopped.
how should i resolve this?the array out of range is found under the OnTradeDetector() function


-
RE: fxDreema Updating Nowposted in Questions & Answers
@TecnoTrader said in fxDreema Updating Now:
I'm also getting this errors on compiling...
I know you are working to fix this so..
thank you in advance

having the same issue too
-
RE: fxDreema Updating Nowposted in Questions & Answers
@fxDreema the problem fixed by itself.Thank you.
the indicator is giving candle close value when it appears so i just used it as such
-
RE: Custom block functionposted in Questions & Answers
hi, why when i put two divides seperated by a variable it seems to change the middle of them to a constant or something based on the color. have not tested yet.
-
RE: Custom indicator suddenly not workingposted in Bug Reports
I suddenly got this error while compiling the EA
http://snag.gy/0ZJFF.jpg -
RE: Problem with On Trade MQL5posted in Questions & Answers
there seems to be a problem in the on trade blocks of mql5. the EA always stops when i put the on trade block and it works after i turned it off.
Also it seems that the money management in the buy sell block also have problems. They keep generating critical error zero divide when enabled.
those that i tried are risk fixed % of equity, risk fixed amount of money. -
RE: Trailing Stop problemposted in Questions & Answers
I extracted the portion of my code that deals with the trail stop in project ID mt4-1063.
The issue i was having was due to this portion of code in the trailing stop functionelse if ((bs>0 && tp<tplimit) || (bs<0 && tp>tplimit)) { if (USE_VIRTUAL_STOPS) { return(tp); } Print( "Warning: Too short TP requested (", DoubleToStr(tp,digits), " or ", DoubleToStr(MathAbs(tp-askbid)/point,0), " points), minimum will be taken (", DoubleToStr(tplimit,digits), " or ", DoubleToStr(MathAbs(askbid-tplimit)/point,0), " points)" ); tp=tplimit; return(tp); }if this is run in live mode, the trail stop function will sometimes change the tplevel i set to the tplimit which is above the tp level i set. i.e, for a buy order, the tp level i set will move up for each incoming new tick that moves less than the min stop level. This sometimes result in the trade unable to close for an otherwise profitable trade.
Thanks for the explanation on the custom block. i will take a look at it.
-
RE: Trailing Stop problemposted in Questions & Answers
I think i currently resolved this issue for my purpose by using a custom code to check for the min stop level to not be exceeded by my own tp level before allowing the trailing stop block to run but i would prefer the trailing stop block function to just not do anything if the min stop level is not reached rather than it changing the take profit levels.
also, is it possible for you to create a breakeven point for group of trades like what you did for each trade?
