Forum

MACD EA Issues

I wrote a macd EA. I need the EA trade on the close of the histogram (candle), but seems not be working. I have tried using: Volume [1] Open [1] < Close [1] and Open [1] > Close [1] time. And a combination of all three. But its not working. What other way can it be done? On the image attached

Can someone help me fix this code?

I want the EA logic to start trading when 2 MA's cross and stop trading when a trade closes in profit or when there is X number of consecutives losses. But its not working that way, its just trading normally. I need some to help me out please

Hi Guys. I am having 2 error codes on my code i am unable to fix.

I need help fixing this error in my code: "Unexpected end of program' and 'unbalanced Parentheses". When i try to fix it i get more errors. Here is the code: void OnTick () { // Check for open orders if ( OrdersTotal () > 0 ) { return ; // If there are open orders, do nothing

EA upgrade

I have this supply and demand EA. I need help editing the entries. I want the EA to only take trades when the zone is retouched and not when it is newly formed. Then there should be a bullish candle that should close above the box to trigger the buy entry and a bearish candle to close bellow the box

Please, I need help modifying an EA

I need help adding 2 moving average filter to the buy and sell entries of this EA. The EA will place a buy order when the fast MA is above the slow MA and a sell order when the fast MA is below the slow MA. The source code is attached below