[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 408 1...401402403404405406407408409410411412413414415...1145 New comment Victor Nikolaev 2010.01.29 12:56 #4071 Vekker писал(а) >> Good afternoon Can anyone tell me why the attached piece does not identify the order type? In the list of orders type = 0, the error number outputs =0 OP_BUY==0 OP_SELL==1 [Deleted] 2010.01.29 13:03 #4072 Vinin писал(а) >> OP_BUY==0 OP_SELL==1 Very interesting. Does it mean that I will not get the order number at the next operation !?? if (OrderType()==OP_BUY) Ticet_No = OrderTicket(); Where do I get these numbers? In the description of the language, I have a concept of this phrase. OrderType int OrderType() Returns the transaction type of the currently selected order. M can be one of the following values : OP_BUY - buy position, OP_SELL - sell position Useful features from KimIV [ARCHIVE] Any rookie question, how is history indexed? Victor Nikolaev 2010.01.29 13:07 #4073 Vekker писал(а) >> Very interesting. Does that mean I won't get the order number for the next operation !??? if (OrderType()==OP_BUY) Ticet_No = OrderTicket(); In my language description, there is a concept of this phrase. OrderType int OrderType() Returns the transaction type of the currently selected order. M may be one of the following values : OP_BUY - buy position, OP_SELL - sell position Transaction type for the OrderSend() function. Can be any of the following values: Constant . Value Description OP_BUY 0 Buy OP_SELL 1 Sell OP_BUYLIMIT 2 BUY LIMIT pending order OP_SELLLIMIT 3 Pending SELL LIMIT order OP_BUYSTOP 4 Pending BUY STOP order OP_SELLSTOP 5 Pending SELL STOP order Any rookie question, so [Archive!] Any rookie question, Place Pending Order once [Deleted] 2010.01.29 13:12 #4074 Vinin писал(а) >> The type of operation for OrderSend(). Can be any of the following values: Constant . Value Description OP_BUY 0 Buy OP_SELL 1 Sell OP_BUYLIMIT 2 BUY LIMIT pending order OP_SELLLIMIT 3 Pending SELL LIMIT order OP_BUYSTOP 4 Pending BUY STOP order OP_SELLSTOP 5 Pending SELL STOP order Thank you. I have not got these figures in the MQL tutorial. You have already answered so many of my inane questions that I'm beginning to have a conscientious idea whether to send you N-amount from the first profit of the created EA? order select should be MT4: How can I What is it? [Deleted] 2010.01.29 13:14 #4075 How to test the strategy? --- 2010.01.29 13:20 #4076 serjMois >>: Как протестировать стратегию? in the terminal? costy_ 2010.01.29 13:32 #4077 serjMois >>: Как протестировать стратегию? Ask one of us to test it =)) OR THERE "Can be used as a "template" for beginners, just write your strategy after void Check()." [Deleted] 2010.01.29 15:02 #4078 Entry on fractal breakout, RSI to buy above 50, to sell below 50, S/L 20 p., trailing stop 15 p. I would like to test it on the history, I don't know how. [Deleted] 2010.01.29 15:07 #4079 [Deleted] 2010.01.29 15:14 #4080 Is there such an indicator or advisor? So I don't waste your time? 1...401402403404405406407408409410411412413414415...1145 New comment
Good afternoon
Can anyone tell me why the attached piece does not identify the order type?
In the list of orders type = 0, the error number outputs =0
OP_BUY==0
OP_SELL==1
OP_BUY==0
OP_SELL==1
Very interesting. Does it mean that I will not get the order number at the next operation !??
if (OrderType()==OP_BUY)
Ticet_No = OrderTicket();
Where do I get these numbers?
In the description of the language, I have a concept of this phrase.
OrderType int OrderType()
Returns the transaction type of the currently selected order. M can be one of the following values :
OP_BUY - buy position,
OP_SELL - sell position
Very interesting. Does that mean I won't get the order number for the next operation !???
if (OrderType()==OP_BUY)
Ticet_No = OrderTicket();
In my language description, there is a concept of this phrase.
OrderType int OrderType()
Returns the transaction type of the currently selected order. M may be one of the following values :
OP_BUY - buy position,
OP_SELL - sell position
Transaction type for the OrderSend() function. Can be any of the following values:
The type of operation for OrderSend(). Can be any of the following values:
Thank you.
I have not got these figures in the MQL tutorial.
You have already answered so many of my inane questions that I'm beginning to have a conscientious idea whether to send you
N-amount from the first profit of the created EA?
How to test the strategy?
Как протестировать стратегию?
in the terminal?Как протестировать стратегию?
Ask one of us to test it =))
OR THERE
"Can be used as a "template" for beginners, just write your strategy after void Check()."
Entry on fractal breakout, RSI to buy above 50, to sell below 50, S/L 20 p., trailing stop 15 p.
I would like to test it on the history, I don't know how.