I have been trying to write an indicator that will assign a 0 for a down bar and a 1 for an up bar. Here is the code for it. All my indicator is doing is printing red bars. So it seems my algorithm is wrong even though I do not see how. I am getting the open of the last bar and if it is less than
I am a beginner with mql4. I dabbled with mql4 a couple of months ago but stopped. I am know back and I am trying to code an EA that uses the AuthorizedSSBODynamicBreakoutBoxFinalEdition indicator from over in ForexFactory. It was pretty easy to get my ea to trade with the indicator, however
I have been trying to modify the stochastic histogram indicator so whenever a bar appears above 0 then an arrow will be drawn on the chart to buy. Then whenever a bar appears below 0 then an arrow will be drawn on the chart to sell. However, the indicator will not drawn the arrows. Here is the code
I have been trying to program an EA that uses some custom indicators . When I compile my EA I do NOT get any errors. However, when I back test it no trades are ever placed so I am guessing I called iCustom wrong. Here is my code: #include <IncludeExample.mqh> // External variables extern bool
Hello, I was wondering how long it took you guys to write your first profitable expert adviser. Did it take months? or even years
Hello, I have been trying to teach my to program an expert adviser for about a week. I have been following the EA template in the book for order accounting, closing orders, and opening orders but implementing my own strategies. However, whenever I try to back test it stops right after it collects