Forum

Changing color and font of COMMENT instruction

Hi all, is it possible to change color, and font dimension of the text displayed with the COMMENT instruction ? Please help me. thank you

How to draw a circle object on a graph

I need to draw a circle object after a text label, how can i do ? Could you please give me an example

MT4 test performance

Hi all, i'm restart to work with MT4 after many years and i have noted a big worsening in test performance. I don't understand why, it seems that the new versions of Windows works worse than the older but i really don't understand why. I already use the standard tricks (less bars, few variables

Translate to MT5

Hi is there someone who can translate this MQL4 code into MQL5 ? //+------------------------------------------------------------------+ //| Calculate open positions | //+------------------------------------------------------------------+ int

automatic conversion Mt4/Mt5

Hi all, i'm sure this question was raised many times, I've tried to find the answer but nothing. So, do exist an automatic conversion tool from MT4code to Mt5 ? I have plenty of EA to translate and i have seen it's not an easy job, MQL5 is more powerful but also more complex. Let me know

Ghost TakeProfit and StopLoss

Hi all, i want to build an EA with a sort of "ghost" TP and SL. Which price you suggest to use to be the trigger of the closure of the trade ? I have already tested with Ask to close short trade, Bid to close long trade but it seems not work properly sometimes the price is triggered sometimes not

what about differences using Close[] or iClose() ?

Is there someone who can explain me when the Close[] is better than iClose() and why or if they are perfect the same. Thank you

How to Stop an EA in certain conditions

Hi all, i need to stop an EA by code if some condition occurs, as example if the time is <00:10 or >23:50. Could you please suggest me some code for that ? Thank you

ordersend error 131 with new version of MT4

Hi, my MT4 update to the new version released at 25 Sept 2015 and starting from this update, all my EA (who works fine before) return me the error ordersed 131. Why ? is it changed something ? let me know please i'm desperate

comment not show

Hi at all, i'm experimenting a very strange problem, i re-used some code from my old EA but the comment inserted in the OrderSend doesn't appear in Terminal even if the field Comment is selected. The strage thing is that, the same instruction in another EA works. Below the two statements: 1. VERSION