• Information
6+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Baptiste George
Added topic Problem with declaration without type
Hi, Why when I tried to copy something working into another EA‌... It doesn't work. ‌ Please Help.‌ ‌ It says 'SplitString' and 'ArraySize' - declaration without type. But it is coded like this into many EAs. int init()   ‌
Baptiste George
Added topic EA stops to run.
Hi, I have noticed that I have an old EA that sometimes stops to run. I mean I have to click compile button again so EA refreshes and restarts to run. After days it will kinda freeze again for sure. What can I do? Should I replace void_Start() by
Baptiste George
Added topic Date Variables problem.
Hi, I have 1 variable times created this way: (picture attached) I need to calculated the time between now and the last time a news time came out. when I do this way... it works nicely: Print (( TimeGMT () - GV_FxCal_News1)/ 60 ); => I got the
Baptiste George
Added topic Problem with variables not created
Hello, Please help me to correct the error. EA doesn't create variables called: GV_xAPI_Long_          GlobalVariableSet ( "GV_xAPI_Long_" +name, StringToDouble (longps)); It prints Outlook has been refresh
Baptiste George
Added topic Protecting Account
Hello, I have so many trouble since I create new EAs. All previous code seems broken: I use to do this way to protect my EA: int acc=( int ) AccountInfoInteger ( ACCOUNT_LOGIN );    if (acc== 0 ) return 0 ; // HERE I HAVE AN ERROR
Baptiste George
Added topic Comment() function... trouble for "\n"
Hello, How to use "\n" or "\r" into Comment() ?? instead of "   >|--|<  " to separate, I would like to go to the line down. Comment ( "|--|<  Daily Opened Price = " ,Daily_Open_Comment
Baptiste George
Added topic How to manage JPY pairs with parameters?
Hi, In previous version I use to do this way and it worked fine:        /// --- Prepare data --- ///                  if ( Symbol ()==
Baptiste George
Added topic Can't load EA on Chart ?
Hi all, I can't load some EA into my charts? I got th following message error: refer picture attached. I tried to copy paste the code into a new file, then saved and compiled... still not working. I can attach some EA but not all.... why? I have mql4
Baptiste George
Added topic IsDemo() ???
Hi, I'm running an EA on Demo account where server is Pepperstone-Demo02 I got weird EA logic so I printed it:    if (IsDemo()) Print ( "I work at a demo account" );    else Print ( "I work at a real account" ); It prints "I work
Baptiste George
Added topic Start() vs OnTimer()
Hi all, I'm not used to OnTimer() however, the EA refreshes every 2 minutes given by  EventSetTimer(60*2); I would like to modify this EA, but it seems not working as usual: Example    if ( TimeCurrent ()> 0 ) { bool test = true ;}
Baptiste George
Added topic How to sort data?
Hi all I would like to sort 8 global variables that are constantly updated. I have read ArraySort() fuction... but I can't figure it out. //////////////// GLOBAL VAR //////////////////////// int GV_TOTAL_ASSET_AUD = GlobalVariableGet (
Baptiste George
Added topic Problem with Object ?
Hi, I have muliples weird things while I try to create 2 simples Rectangles object: Both are created fine when I attach EA to the chart but: 1 ) When EA tries to create again and again the first one rectangle (Support) so I got error 4200 (Object
Baptiste George
Added topic How to use iCustom() ??
Hi, First time I try to call an indi into my EA... and I got lost o_O ! Here the indicator: RSI divergence. //+------------------------------------------------------------------+ //| Custom indicator initialization
Baptiste George
Added topic mail not enough space
Hi all, I have this problem since I tried to set up an email alert. error: 4066 or/and 4058. The mail function worked good until I have done a mistake so EA has sent too many mails. I guess my problem is that the client terminal queue mail is full
Baptiste George
Registered at MQL5.community
Baptiste George
Added topic Little help please.
Hi all I'm struggling with all the string functions . How to get the 3 first letters of the Symbol() How to get the last 3. Example... EA is runing on GBPNZD string Currency_1 = GBP; string Currency_2 = NZD; Cheers
Baptiste George
Added topic Little bug... please help
Hi all, I have a global close function called when total open orders (equity) is > $100 This function is called on EURUSD chart . The function below isn't closing orders like USDJPY... in fact JPY's pair. Please help how to avoid the error message
Baptiste George
Added topic Trailling Stop Problem...
Hi All, It looks like it's only performing the first step and that's it. the EA is handling 4 pairs. So I have created 4 function for each pair: Paremeters: //-------------------Variables static int magicalNumber; static string PipsDeclencheurArray[
Baptiste George
Added topic How to get the lowest price?
Hi, I don't understand the example given by documentation. How to get the lowest price from the last 100 bars? The Lowest price will be updated while chart progresses. Please help. regards
Baptiste George
Added topic Help needed:
Hi all, Please help and advise how to do this: 3 parameters: Total_Candles = 40 Above_Candles = 5 1 moving average as reference. Condition 1: If At least 5 candles in a row closes above Moving average over the last 40 candles, then Condition_1 is
123