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 Problems with SEARCH operation in MQL4
Hello freinds, I do not know what happened with the SEARCH function at this site: It always returns the announcement: The search words are too short or unknown (something like this). What happened
Yochanan Gerbi
Added topic A good Indicator - AbsoluteStrengh
Hello freinds, I need your help: I had a MQL4 indicator - called - AbsolutStrengh, and a good freind of mind cleaned it and "translated" it to MQL5.   Here are the 2 versions. Unfortunatally, we do not know why the MQL5 version does
Yochanan Gerbi
Added topic converting datetime to double
Hello freinds,   How do I convert datetime to double ? I tried to do: StringToDouble(IntegerToString(...    but I got   'StringToDouble' - '{' beginning bracket is expected Can somebody help.    Thanks 
Yochanan Gerbi
Added topic TFMigrate(tf);
Hello freinds,   I tried to imigarte a MQL4 file to MQL% file and I use the good article at: https://www.mql5.com/en/articles/81 .   There it uses the line: ENUM_TIMEFRAMES timef=TFMigrate(tf);   The compilre says: 'TFMigrate' -
Yochanan Gerbi
Added topic A function within an Indicator
Hello freinds, I have a MQL4 indicator that I "translated" it to MQL5. I still have one small problem, that I do not know what to do with it. It's called: IndicatorCounted() - a known function  in MQL4 but not within MQL5.  According
Yochanan Gerbi
Added topic FileOpenHistory(
Hello freinds,   At MQL4 I hade FileOpenHistory(...) , and I changed it to: FileOpen(C:\Program Files\Fxglobe ECN Metatrader 5.0\Bases\GoForex-Demo\history\...),   The compiler's response is: many of: '\' - illegal escape sequence
Yochanan Gerbi
Added topic pen_flags
Hi, within FileOpen there is a component called int pen_flags.   What is it?   Thanks 
Yochanan Gerbi
Added topic Imigration artical
Hi,   At the article -   https://www.mql5.com/en/articles/81  - the is a part:   at MQL4 is       int IndicatorCounted(), so at MQL5 it should be:     int IndicatorCountedMQL4()   {
Yochanan Gerbi
Added topic shortname = "T1F Price v6 (" + bas + ")";
Hello freinds,   I'm tranfering an indicator from MQL4 to MQL5, and I have this line:  shortname = "T1F Price v6 (" + bas + ")";   as -   bas      - is an integer.   I got a massage
Yochanan Gerbi
Added topic TFMigrate veriable
Hello freinds,   In the link for imigtration from MQL4 to MQL5, it says to use the following variable TFMigrate.   My complier says: This is an undeclar variable.  What is it....?   Thanks
Yochanan Gerbi
Added topic Unknown variables
Hello freinds,   I have an indicator in MQL4, with the following code line:   PostMessageA (hwnd, WM_COMMAND ,33324,0);   The 2 colored builtin indicator are not known at MQL5.   Can somebody explain how to imigrate
Yochanan Gerbi
Added topic Working with OFFLINE Chart
Hello freinds,   If I have an Offline Chart that was made by an indicator, which is a combination with some pairs.   How do I do an EXPERT that runs on this OFFLINE chart?   Thank you for your help. 
Yochanan Gerbi
Added topic A strange error - Comment
Hello freinds, As I enter the following lines: Comment ("\n"," 1 PROFIT in USD = ", NUMP1," PROFIT LOCKED = ", LP1, "\n"," 2 PROFIT in USD = ", NUMP2," PROFIT LOCKED = ", LP2
Yochanan Gerbi
Added topic How to stansform INTEGER to STRING?
Thanks for your help
Yochanan Gerbi
Added topic Hour(EURUSD) and Hour(GBPUSD)
Hello freinds, I need your help. I have an EA that have to do comparision between the Hour close price of EURUSD and Hour close price of GBPUSD . Unfortunately, the historical data is not so full, and some brokers have broken historical data, so if I
Yochanan Gerbi
Added topic '&&' - condition cannot be a string
I need your help. I wrote a code with many conditions, and some lines within the conditions list were: ........ Rank(7,PERIOD_M1,59) >=12 &&Rank(7,PERIOD_M1,29) >=12 && Rank(7,PERIOD_M1,14) >=12 && TradeType(
Yochanan Gerbi
Added topic I think it is a "small" prob.
Please, I need your help. I will write the folowing code lines: ... string beta[3] = {"EURUSD",EURCAD","USDCAD"}; ... Check1(num,beta[3]) ... void Check1(int N,string beta[3]) { .... } Within the void function we do not
Yochanan Gerbi
Added topic ORDER of COMPUTING
If I have a line of a code like: if ( function_a (xxxx) > 100 && function_b(yyy)>200) but function_b() is uses the results of function_a(). Is the MT4 computs function_a() first, and then takes its results and put them inside
Yochanan Gerbi
Added topic Returning an ARRAY from a function
Hello freinds, I understand that a function can return ONE veriable. If I want to return more then 1 veriable, (f.e. a number and a string), Can I defind within the function an aray (f.e. kuku[0,0] ), which its first place is for the number and its
Yochanan Gerbi
Registered at MQL5.community
123