Hello everyone, I am very confused about what exactly swap means. I found this bit on Google "A swap/rollover fee is charged when you keep a position open overnight. A forex swap is the interest rate differential between the two currencies of
Hello everyone, I have two demo accounts at the moment in which I test my EA's. I don't want both the EA's to be capable of being enabled on both accounts. Can I use a conditional compilation to prevent this from happening? If it
hello everyone, I think this maybe an easy problem to solve, but I can't get it to work with out causing an error. int a= 0 ,i= 1 ; double test [a][i]; // invalid index value test[a][i] = 1.35 ;
Hello everyone, I have been doing some research on Ichimoko Kinko Hyo trending system. https://www.forexfactory.com/attachment.php/1141519?attachmentid=1141519&d... Now I am trying to code it so that it will advise me of which
Hello everyone, I am a little bit stuck on how to check for a cross over, I started writing this code. AVD_Minus = iADX ( NULL , 0 , 14 , PRICE_CLOSE , MODE_MINUSDI , 0 ); AVD_Plus = iADX ( NULL , 0 , 14 , PRICE_CLOSE , MODE_PLUSDI , 0 );
Hello everyone, EventSetTimer() appears to work the same sleep(). Is this correct or, can the program still in EventSetTime() run code while the time is set for a period set OnInit()
Hello everyone, I would like to make a function that works the same way as OnCalculate in my EA. I'm not sure where to start, but I think this might be the same as rates_total used in indicators. int calculated = BarsCalculated (Cal_Value);
Hello everyone, Simple problem I believe. Objects on chart are active again with out manual re activation. very annoying. How do I remove auto act object from chart window?
Hello everyone, I am not sure what I have done, but every time I reboot Metatrader 4 my toolbars are not saved in my profile settings. I use to have timeframe, standard, charts, line studies and status bar all appear automatically on
Hello everyone, Ok, before I start asking more questions concerning fractal indictor . I am going to try and answer my own questions. How does fractal work? Its looking at previous data and taking into
Hello everyone, I have had this on the back burners for some time now. I have removed some parts of the code so that it is hopefully easier to read. (note: Full code isn't functioning ) void Market_Watch() { CurrentSymbol =
Hello Everyone, I have been trying to some study using indicators built into MetaTrader4. I have four indicators, below the setup in a way that I think best shows a market. Do these parameters make sense to a
Hello everyone, My first question is based around the code below. I would like variable (NoConnection) to descend while there is a internet failure. Return the value of NoCorrection is seconds and minutes void OnInit () {
Hello everyone, I am not sure how to ask this question, but I give it ago anyway. The value of the first variable changes every time that FruitClass is called (excuse me if that the incorrect terminology). Now as for the rest of the variables stay
Hello everyone, I found this post https://www.mql5.com/en/forum/150808 I am trying to get the example to work, but I have run into a problem with completely solving it. I get these errors: ')' - unexpected end of program line