Philip Ninson / Publications
Forum
limit EA Number of Trades Per day
hello guys I have developed an EA which i want to take a maximum of three trades per day. but it seems my function for that is not working. still learning, your help would be much appreciated. my code below int TodaysOrders = 0 ; for ( int i= OrdersTotal ()- 1 ; i >= 0 ; i--) {
Mql4 Trailing stop problem
//TRAILING BUYS for ( int P= OrdersTotal ()- 1 ; P>= 0 ; P--) if ( OrderSelect (P,SELECT_BY_POS,MODE_TRADES)&&OrderType()==OP_BUY&&OrderStopLoss()<OrderOpenPrice()&&(OrderOpenPrice()+Ask)>MaxSL) {
MqL4 Fractals
hi guys i'm new to mql4 and trying to write a code for the current four Fractals where i want some form of identification for the previous fractals. Problem is i'm stuck at the array. Please any help with the code would be much appreciated below is what i have been able to do. ***