Yochanan Gerbi
Yochanan Gerbi
Friends

Add friends via their profile or user search and you will be able to see if they are online

Yochanan Gerbi
Added topic How to stop the EA?
Hello, I need your help. What I want from the EA is that as the Margins arrive to a specific bottom it will stop adding new trades and stop executing. How to do it, Please
Yochanan Gerbi
Added topic Awaking the EA
Hello freinds, I have an EA that sometimes id going to "sleep". I mean that although the conditions are fit to open a trade, it doesn't open it. What I do is to reinstalle  the EA and then it opens the trades. Any idea how to overcome this
Yochanan Gerbi
Added topic Brokers MARGINS
Hello friends, Something interesting: Normally, if you open a trade like BUY 1.0 GBPUSD your free margin decrease with 1000, and then if you open a new trade like 1.0 BUY EURUSD your free margin decrease with more 1100 (f.e.) .   Some brokers
Yochanan Gerbi
Added topic Ordersend error
Hello freinds, Here is a part  of my code:             OrderSendResult = OrderSend(SymbolArray[i],OP_BUY,UseLots,MarketInfo(SymbolA,MODE_ASK),Slippage,0,0,"Adding to a long pos",MagicNumber,Blue);    
Yochanan Gerbi
Added topic the RETURN operator
Hello friends, I want to share with you my thoughts: I can see different way of using the RETURN operator:  I understand bool/double/int/string functions that returns a value. BUT why void function uses RETURN or RETURN(0)?  What it the
Yochanan Gerbi
Added topic dealing with ODD or double numbers
Hello freinds, I need your help. I want the EA to check an operation every two minutes. The simple way is to do:   if (   TimeMinute(TimeCurrent()) != 2  && TimeMinute(TimeCurrent()) != 4  &&
Yochanan Gerbi
Added topic Strange Problem with OrderCommission() function
Hello freinds, I set ProfitB = rderProfit()+OrderCommission(); The value of the parameter "ProfitB" is seen on the screen. The problem is sometimes that the value of "ProfitB" is seen (and computed) without the Commission value.  Any idea
Yochanan Gerbi
Added topic An error call: Cannot call 'stdlib.ex4::ErrorDescription', library is not allowed
Hello freinds, I do not know but I as the EA try to close simultanisly 2 trades, it close the first, but the second I get the following error: Cannot call 'stdlib.ex4::ErrorDescription', library is not allowed. BTW, I do not know what is going
Yochanan Gerbi
Added topic a BOOL veriable
Hello freinds,   We say that:   Boolean constants may have the value of true or false, numeric representation of them is 1 or 0, respectively. True or TRUE, False or FALSE can be used, as well. Examples: bool a = true; bool b = false; bool
Yochanan Gerbi
Added topic Backtest with MT4
Hello friends, I want to share with you a problem that I have with MT4: As I do a BACKTEST to an EA, It goes very very slowly. I want to add that this EA has 3,700 code lines... I do the backtest without a visual view. Is somebody can tell me how I
Yochanan Gerbi
Added topic Small question about OrderClose() order.
Hello freinds, I have a tecnical quastion: If I want to close an open trade, and I already know its: Ticket number, lot size and the correct price. Do I have to preceed the ORDERCLOSE() with ORDERSELECT()? Thank you all, Y
Yochanan Gerbi
Added topic Help: Why The EA does not close a trade
Hello freinds, I need your help. I built an EA that part of its process has to close a trade using a fuction. Here are the relevant kod's rows. Can some help me why the EA doesn't close the trade? Thank You. (Maybe, since while I use ORDERSELECT at
Yochanan Gerbi
Added topic Using the operator "BREAK" one after one
Hello friends, I have aquation, and I nead your help: If I have 2 "FOR" - loop, and I want to stop them together, Can I break the together with using the operator BREAK one after one? Means at the following example: Is the GREEN BREAK
Yochanan Gerbi
Added topic Error number 4108: unknown ticket 54 for OrderClose function
Hello freinds, I need your help, please. I wrote an EA which closes a trade with a different function. Every time I have the specific parameters for closing the trades. Sometimes, the EA closes 2 diffrent pairs. Sometimes, it closes 3 different
Yochanan Gerbi
Added topic Transfering data from Array to Array
Hello, I need your help. I have an Array called A[6] which has 6 values in it ( A[0] = 0.5, A[1]=1.0... ) . I want to transfer these data to another array - B[6], so B[0] should be 0.5 - A[0] - and B[1] should be 1.0 - A[1]. Do I need to transfer the
Yochanan Gerbi
Added topic kernel32.dll
Hello freinds, I need the KEERNEL32.DLL fiile. Can somebody attach it? Thanks, Y
Yochanan Gerbi
Added topic Comments on screen with different COLOR os font size
Hi, I do not knoe if it possible. I like to use the command: COMMENT " ", which gives you real data you need on time (almost good as DEBBEGER), but I ask if is is possible to have different color (then white) or different fons size without
Yochanan Gerbi
Added topic Controling the digits places at Comment code - very interesting subject
Hello freinds, I need your help. As I use the "Comment" to show data on the screen, I want to controle the wideness of the comment. For a better understanding I will give an example: I want to have a comment line on the screen of the
Yochanan Gerbi
Added topic presenting a number by "comment"
Hello freinds, I want to use the "comment" for presenting number on the screen. I use NormalizeDouble (x,2) for the x (a double variable) will be presented with 2 places after the dot (at the right side). I want to control the the
Yochanan Gerbi
Added topic Breaking down of MT4 platform
Hello freinds, May be, here is not the place for asking this, but I will try: I have an EA that run on my mobile P.C. 24h, but unforetunatly the MT4 platform shut down within any 3-4 hours (while the P.C. still ON) so I have to turn the EA ON every
123