timepass is tough for a permanently bedridden person
Whole Number - Half Number Indicator 1 reply
Is there a limit to the number of Global variables 5 replies
Drag&Drop buy limit and sell limit scripts 1 reply
Can someone fill my limit order even if price doesn't hit the specified limit? 5 replies
Dislikedhow do i limit the ea to one trade per symbol [ chart on which it is placed ]Ignored
void OnTick() { //reasons_to_open if(CheckBeforeOpen()) { OrderSend(....) } } bool CheckBeforeOpen() { bool check_per_symbol=true; for (int trade = OrdersTotal() - 1; trade >= 0; trade--) { if (OrderSelect(trade, SELECT_BY_POS, MODE_TRADES) == true && OrderSymbol() == Symbol()) check_per_symbol=false; } return check_per_symbol; }