GrumpyDuckMan / Profile
GrumpyDuckMan
Added topic swap type/ swap long/ swap short/ 3 day swap
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
GrumpyDuckMan
Added topic Conditional Compilation
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
GrumpyDuckMan
Added topic Close ID Long/Short. pending or, not
Hello everyone, I think that I have looked at this before. void ShutDown_Order() { if ( OrderSelect ( 0 , SELECT_BY_POS )== true ) bool Order_Closing= OrderClose ( OrderTicket (), OrderLots (), Bid , 0 , clrRed
GrumpyDuckMan
Added topic Multi-Dimensional Array problem
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 ;
GrumpyDuckMan
Added topic Ichimoko Kinko Hyo
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
GrumpyDuckMan
Added topic ADX Crossover
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 );
GrumpyDuckMan
Added topic EventSetTimer
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()
Share on social networks · 1
4
GrumpyDuckMan
Added topic Bollinger logic
Hello everyone, I am trying to figure out how exactly this indicator works. It appears to deal with UPPER and LOWER values.
GrumpyDuckMan
Added topic rates_total
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);
GrumpyDuckMan
Added topic MQL5 objects appear after Delete all
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?
GrumpyDuckMan
Added topic problem with (MQL4) iADX to (MQL5) iADX
Hello everyone, Why is there such a big difference? //+------------------------------------------------------------------+ //| MQL
GrumpyDuckMan
Added topic Toolbar disappears after reload Metatrader 4
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
GrumpyDuckMan
Added topic confused about Fractal
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
GrumpyDuckMan
Added topic Trying to get 4/5 digit read out
Hello everyone, Code below. CurrentSymbol = SymbolName (Next_Symbol, TRUE ); CurrentSymbolLow = iLow
GrumpyDuckMan
Added topic Record Market Watch
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 =
GrumpyDuckMan
Added topic Market Watch Error
Hello Everyone, This out right naughty, CurrentSymbol = SymbolName (Next_Symbol, true ); Next_Symbol++;
Share on social networks · 1
2
GrumpyDuckMan
Added topic Experimenting with indicators on chart
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
GrumpyDuckMan
Added topic Two part question regarding use of IsConnected() and OrderModify()
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 () {
Share on social networks · 1
5
GrumpyDuckMan
Added topic class FruitClass (SOLVED)
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
GrumpyDuckMan
Added topic Attempting to improve my programming skills.
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
: