Forum

Cant close my Order if price move the other way

Hello, Im trying to fix my EA for 12 hours until now, Every thing going smooth and my orders open as I want to, But I cant get them close if my pair change direction... Here is it : //+------------------------------------------------------------------+ //|

Why my orders not closing at this specific time ?

My orders not closing at 5 o'clock , why ? //+------------------------------------------------------------------+ //| LETS TRY.mq4 | //| LETSTRY | //|

Is it possible to check Open>Close on multiple pairs?

Hello, Is it possible to check if(Open[1]>Close[1]) on multiple pairs of EUR/USD, USD/JPY and GBP/USD, and if true, open a trade with GBP/JPY? could u help me with a link to figure out how to do it if its possible? Thanks

I can Sell , but cant Buy with same settings

Hello, I have downloaded the following EA and modified it as i intend to trade, but there is a problem ... extern bool OpenBuy = true ; extern bool OpenSell = false ; With this settings, it doesnt open a Buy position, But if i change to false and Sell to true, it does work... with the

Takeprofit and Stoploss is 0 - why ?

Hello, I have downloaded a Timebased EA, its working like a charm with Strategy test , But when i start it with a practice account i get 0 takeprofit and stopless instead of what i have applied, Im using OandA MT4 ... Here is the code

Timed OrderClose doesnt work - Need a little help

Hello, I have a little problem, This ea open an order at a specific time ... But i want it to close after 30 mins ... Here is my code: //---- input parameters extern double Lots= 1 ; extern int TakeProfit= 100 ; extern int StopLoss= 100 ; extern int Slip= 0 ; extern int

How to build this strategy?

Hello, What would be the command for this : If EUR/USD 4-8H Candle close = LOW... and if GBP/USD 4-8H Candle close = LOW then sell EUR/USD Thats mean if the EUR/USD Last candle was LOW and the same with GBP/USD --> sell EUR/USD .. *4-8H = this mean the candle from 4 till 8 AM (one candle) Thanks

EA work fine with demo account with Alpari - But not Live with Oanda

Hello, I have a simple TimeBased EA, It does work fine with the demo account with Alpari but not in live accound with Oanda Without any errors in the Experts section Noticethat the: - Enable expert Advisors(except for Custom Indicators and Scripts) -Allow live trading -Allow external experts imports