Так он и там спрашивает - 'How to hold big totals numbor and decrease to 0 and reset big total numbor?'
Но похоже и там нет знатоков олбанского с английским акцентом.
Но похоже и там нет знатоков олбанского с английским акцентом.
many ppls in here.
pls..... help tech me.
pls..... help tech me.
double MathMax( double value1, double value2) Returns the maximum value of two numeric values. Parameters: value1 - The first numeric value. value2 - The second numeric value. Sample: double result=MathMax(big total ,totals);
Hi, xeon.
still can't get the big nombor!! because this 2 is same total. can't hold or save big nombor in memory!!
I want to hold or save the big totals nombor in memory.
maybe i want write code example here.
buylimit drop 1 become buytotals.
buystop drop 1 also become buytotals.
mean buylimit and buystop drop don't activate, only buytotals activate.
and said thanks to reply
egt520
still can't get the big nombor!! because this 2 is same total. can't hold or save big nombor in memory!!
I want to hold or save the big totals nombor in memory.
maybe i want write code example here.
int _GetLastError = 0; for ( int z = _ OrdersTotal() - 1; z >= 0; z -- ) { if ( !OrderSelect( z, SELECT_BY_POS ) ) { _GetLastError = GetLastError(); Print( "OrderSelect( ", z, ", SELECT_BY_POS ) - Error #", _GetLastError ); continue; } if ( OrderMagicNumber() == magic && OrderSymbol() == Symbol() ) { switch ( OrderType() ) { case OP_BUY: BuyTotal ++; break; case OP_SELL: SellTotal ++; break; case OP_BUYLIMIT: BuyLimitTotal ++; break; case OP_SELLLIMIT: SellLimitTotal ++; break; case OP_BUYSTOP: BuyStopTotal ++; break; case OP_SELLSTOP: SellStopTotal ++; break; } } } // because i have total of all type. i only want take Buytotal and Selltotal decrease to activate true. // example all set take profit 20pip, Buytotal increase to 6 and drop 1 profit, now have 5 totals // and how i write here become true? if( Buytotal > Buytotal ) << how here?? { for(int i=OrdersTotal()-1;i>=0;i--) { if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==false) break; if(OrderSymbol()==Symbol() && OrderMagicNumber()==magic && OrderType() == OP_BUY) { OrderClose(OrderTicket(),OrderLots(),Bid,3,CLR_NONE); } } return(0); }did you get what i mean here?
buylimit drop 1 become buytotals.
buystop drop 1 also become buytotals.
mean buylimit and buystop drop don't activate, only buytotals activate.
and said thanks to reply
egt520

Вы упускаете торговые возможности:
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Регистрация
Вход
Вы принимаете политику сайта и условия использования
Если у вас нет учетной записи, зарегистрируйтесь
example buy total to increase..
3
4
5
6 << hold array this big nombor. when totals decrease to 0 and reset this nombor
5 drop 1 profit become 5 totals
and i can use this nombor for i use example below
if( big total > totals) true?
sorry for my english. wish you know what i mean. ^^
thanks
egt520