Abishy Kalima / Publications
Forum
open new order when previous open trades are in profits
bool Profit() { bool exist = false ; int orderstotal= OrdersTotal (); int orders= 0 ; double ordticket[ 30 ][ 4 ]; ArrayInitialize (ordticket, EMPTY_VALUE ); bool Profits=posType== OP_BUY ? Ask - OrderOpenPrice ()>( OrderTakeProfit ()- OrderOpenPrice ()) : OrderOpenPrice ()- Bid >(