GrumpyDuckMan
GrumpyDuckMan
GrumpyDuckMan
Added topic Strategy Tester results
Hello everyone, Today I started using the strategy tester on my EA program. The results must be wrong, or at least totally misleading
GrumpyDuckMan
Added topic GUI
Hello everyone, I'm not making any progress with this code atm. If I attempt to modify the code "Forum_Test" = "Indenifier not declared ". My question. CForum_Test can see variables, but Forum_Test.Run() will fail. I'm still trying to understand
GrumpyDuckMan
Added topic I need to ask some questions
Hello everyone, My first question is in regards to #include < controls\dialog > Q 1: Does EA continue, stop, or pause while dialog has focus? Q 2: Does #define place a variable value on loading, or is it like a const variable?  Q 3
GrumpyDuckMan
Added topic A little confused
Hello everyone, I don't understand what I have done to course error  - constant expression required. Please enlighten me double   MAW= iMA (Security,Timeframe,Preiod,MA_Shift, MODE_SMMA , PRICE_WEIGHTED , SHIFT); double
GrumpyDuckMan
Added topic Close single order
Hello everyone, I am trying to simplify closing order. //+------------------------------------------------------------------+
GrumpyDuckMan
Added topic ctrl+r
Hello everyone, Why can't breakpoints be enabled while strategy testing? Where are breakpoint allowed within strategy testing mode
GrumpyDuckMan
Added topic How to make bool in an array[]
Hello everyone, I'm not sure how to do this.  Sorry not very helpful code snippet, can it be achieved? if (MRH<MO){c= true ;} if (MRH>MO){d= true ;} if (MRL<MO){e= true ;} if (MRL>MO){f= true ;} if (MRH>MRL){g= true ;} if
GrumpyDuckMan
Added topic Chart_id numbering system
Hello everyone, Are chart_id's random numbers generated by forex/MQL4/5
GrumpyDuckMan
Added topic Switch charts and show only that chart
Hello everyone, I have been trying to use a button to switch between charts in the watch window. I can switch charts but the previous one isn't being removed/deleted . void ChangeChart()   {      CurrentSymbol =
GrumpyDuckMan
Added topic Trend look back
Hello everyone, I just started this code today, but I'm having some problems understanding the error message. "could be one of 3 function (s)"  isn't particularly helpful.  Some ideas please. void Draw_Trendline()   {   
GrumpyDuckMan
Added topic possible loss of data due to type conversion
Hello everyone, I can't seem to fix this warning at the moment. I know its only a warning, but I like to solve it correctly. The program runs fine atm, just annoying warning. void ObjectDiscription()   {   string Label[]={
GrumpyDuckMan
Added topic Add horizontal and vertial lines to separate objects
Hello everyone, I am not sure how to achieve this ,but should be possible. void ControlPanels() {   string AControlPanel= "P" ,        BControlPanel= "1"
GrumpyDuckMan
Added topic Add webpage to Object on chart
Hello everyone, is it possible in MQL4 to insert a website inside a object window? void ControlPanel() {   string ControlPaint= "Paint" ,         SecondPaint= "Paint1" ;    if ( ObjectFind (
GrumpyDuckMan
Added topic Resolve Some errors without stopping program running
Hello everyone, I have started writing some switch statements to hopefully fix some possible problems with my code running. I admit most of which I doubt I will ever come across, or in fact need to use. Now if more than one error occurs, where
GrumpyDuckMan
Added topic Q & A
Hello everyone, My apologises about the vague topic title. One of my friends that has been trading for about 11 years now told me that I would be better off looking at daily timeframe rather than the hourly timeframe to get a grasp of how
GrumpyDuckMan
Added topic Put Indicator on Chart sub window
Hello everyone, How do I place some indicators on chart sub window, for example ADX and RSI
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 ;