Forum

Disable Ea

Is there a way to have an EA disable itself after it makes a trade

Invalid stop driving me nuts

I am getting an invalid stop every time my EA goes to trade. It is driving me nuts. I have posted the OrderSend code for you to look over. int ticket=OrderSend(Symbol(),OP_SELL,lots,Bid,6,Bid+15*point,Bid-takeProfit*Point,"comment",283,0, CLR_NONE ); int

Metatrader 4 brokers

what is the best broker using metatrader 4? i have the hardest time staying connected to interbank

Simple idea...need programmers

ok i've tried to do this for a friend of mine but i can't seem to get it right. ok here is what i need. first i need to be able to set lots, take profit , day of month, hour, minute and second. when it hits the day at X hour at Y minute and Z seconds it needs to do the following. 1) Store the ask

Strategy tester

hey does anyone know where i can get a decent strategy tester ? the one that comes with the interbank package only has about a months worth of data

Update Ask/Bid

I have a loop that only exits when my Ask/Bid price meets certain criteria. The problem is that they values don't change. How can I update to current Ask/Bid in my loop

Stop Loss/Take Profit problem

Ok I have a problem. When I set up by open like this it works. ticket1=OrderSend(Symbol(),OP_SELL,1.0,Bid,0,0,0,"expert comment",255,0,CLR_NONE); But when I put in my stop loss and my take profit it doesn't. I've tried the 3 following variations but to no avail

Magic number

can someone explain to me what a magic number is please

Checking for open position

how do i check to see if i have any open positions? my ea is opening like 2 positions a minute

Trade Times

Ok I am somewhat new to forex metatrading. Are there any times during the day that should be avoided where the market basically stays quiet but can send my autotrader to make a bad trade