Forum

severals terminals same EA questions

hello, I have several open terminals in a same machine ( with different accounts ) and one EA . The problem I have is that I want to update the EA , I have to go to each folder to update each terminal can be done differently to update at once ? the other question I have is if I change some property

problems of migration of mt4 B509 to mt4 b574

hello people , sorry if this is not the right place for this post . tell them , I'm new to programming and design in EA in MQL4 . when I finished and started to test my broker update the version of mt4 B574 to B509 . when I compile my EA no errors but when I want to add the AE graph tells me " is an

OrderSend - error 4059 ERR_FUNCTION_NOT_ALLOWED_IN_TESTING_MODE

hi, I have the problem...when i excute the EA. appear the error " ERROR: code=4059 - function is not allowed in testing mode" double StopLoss= 500 ; double pips = 0.00001 ; extern double TakeProfit= 1000 ; TicketNumber= OrderSend ( Symbol (), OP_BUY , LotSize, Ask , 3 , Ask -(StopLoss*pips), Ask

suggestions with close orders with profit and trailing stop

hello I need the suggestions of you , I have this portion of code where I close orders if I gain, besides that let profits run with a difference of 10 percent. I do this because my broker has long takeprofit and I want to close faster. this extern double MinProfit= 1.30 ; extern double TrailingStop=

help with my code SMA

Hello , I have a problem with my code. I'm trying to use two sma (4.9) , and when they reach the intersection of two open a position , the first candle goes well but in others no achievement to come out. I'm doing wrong? Another question is how when I have to make buy or sell , the theory says that