black_building / Publications
Forum
iDeMarker Return An Invalid Handle
I am running a test on a free MQL5 download EA (file name zw63). This EA uses DeMarker indicator and stochastic. However, when I ran a debug, it crashs when a call to iDeMarker return an invalid handle. I look in MQL5\Inicators directory and haven't found iDeMarker. There is a link to a page which
mql5 function shows ENUM value in debug mode "unknow enum value 65714::0
// Custom enumeration for trend direction enum ENUM_IND_TREND { NO_TREND= 0 , // No discernible trend UP= 1 , // Uptrend detected DOWN= 2 // Downtrend detected }; // Input variable to choose a default trend (optional) input ENUM_IND_TREND default_trend = UP; // Select a
back testing graph not agree with history leger
Has anyone ever seen this problem? I ran a single back testing on my EA. Graphical show there are profit on trading. However, the history show loss in all trading. I don't known what the issue is
Indicator problem
Hi: I cut and past one of the indicator from this site and inbed it in my expert. However, I have a difficulty geting it to work. Here is the setup. // -------------------------Property--------------------------------- #property indicator_color1 Blue // Medium at max or min #property
More questions regarding to iCustom indicator
Hi: With the help from this forum, I was able to write a custom indicator that plot 3 traces. When I looked closely to the return argurment of the "int start()" function, I was amazed. How can the start function return "double" when the declaration indicated "int"? I am guessing that the function
Need help writing a custom indicator
I wrote a custom indicator that draw a line using moving average. So far, it drew a line. However, I have a scale that use a timeframe as a switch to select two scaling parameters. How do I get timeframe from the current chart so I can select the proper scaling parameter. I am not concern about the