Forum

dont trade if more than 1 expert

pls i want to ask is it possible to remove automatically remove an EA from mt4 if more than one ea attached with different name expert something like ExpertRemove() if another EA is detected... or return(0) if more than 1 expert attached....thanks

pls help me with is code line fix

pls i have this difficulty fix fixing this code to stop trading for the day if profit is made my problem is it not working,looks like am missing something .thanks int Startfrom= 9 ; //my day start int Stop_on= 20 ; //my day to end trading double Ppt= 10 ; double AcctBalance = AccountBalance ();

OrderOpenPrice() not working for buy low why?

please can someone tell me the reason why order ask < OrderOpenPrice()--------->buy is not working. i have been using the function for long to open buy low but suddenly i discovered my ea is no longer opening buy order anymore but open sell very well which i sell high like bid > OrderOpenPrice()

ask and bid format to open orders

please help me with handy code to open buy 10pips above buy price and open sell 10pips below current sell price do not add ordersend on it i can do that,its just signal 10pips above and bellow open prices. i have try may ask and bid format code yet it seems like its not working.thanks

please How to open order buy 10 pips or 10 ticks above the current open order

please handy code to open order buy 10 pips or 10 ticks above the current open order,please help me see what i have done so far but it seems as its not working as i want. if( ma1 > Bid + (10*Point)&& CurrentTime != Time[1]) { Opn_B=true; } CurrentTime= Time [1];

help with this close all open order once order is modified

please can some one help me with this script code,i have try everything yet not yet fix please i want this code to close all my open order one order is modified ,my code......thanks extern int tp= 200 ; int start() { double spread=Ask-Bid; int Ticket=OrderTicket(); //

how to remove price line or hide it/move to the next orderopen price line,please help

please can someone help me with a code to hide price line i mean take profit and stop loss line or you can help me with the code to move it at the next profit or stoploss level.help if it cant be hide.i have search and try coding it into my ea but of no avail .thanks

why is my ea returned lotsize 0.01 when reaching lot 0.41

please i have this ea that increase lotsize on lossing position but my problem is why did the lotsize reaches 0.41 and returned 0.01 lot what is the cause of this or is there anything to tweak on the ea code.thanks

Help with closing all buy or all sell when takeprofit is hit or reach

please can someone help me with handy code to close all buy or sell when takeprofit is reached or hit please help me i didnt know all code loops please.thanks bellow is what i even i try to count down order but yet after that the countdown loop will not work with mt4 strategy test it hangs it so