Forum

Only one command with one MN

How does it do to the command entered, it is not yet entry and that did not enter when it is entered? So that each command entered only once. if (((C1 - 60 * Point ) > O1) && ((H1 - 100 * Point ) > L1)) {ticket= OrderSend ( Symbol (),OP_BUYSTOP,Lots,H1+ 25 * Point +Spread, 0 ,H1+ 25 * Point

Value of a particular candle

I need to get the value of a particular candle, for example H1 10:00 today or the previous day. How do I get the size anytime during the day, Low, High, some specific candle

How to specify a particular candle by time?

I need to get into the TrailingStop and BreakEven value specific candle, for example H1 10:00. As at any time during the day to gain Size, Low, High some specific candle? My simple suggestion is not working double A = iHigh( NULL , PERIOD_H1 , Bars ( NULL , PERIOD_H1 , D'10:00:00' , D'10:59:59' ));

Closing pending order, activating the opposite order

I need to close the pending order , when is activated reverse pending order - Active OP_BUY activates the close OP_SELLSTOP and vice versa. How to define this condition? for (p = 0 ; p< OrdersTotal (); p ++) if ( OrderSelect (p, SELECT_BY_POS, MODE_TRADES)== true &&