Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 366
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Why an order closes immediately on the next tick, my head is already boiling over, I'm trying to make an order close at a certain number of pips from the price, like a virtual stop...
Print out the value
...
Why the order is closed immediately at the next tick, my head is already boiling because I am trying to close it by a certain amount of points from the price, sort of a virtual stop...
This would be the same as if you did the following calculation on this line:
if ((100 >=100-30)||(100 <=100 + 25))
{
Print(100) ;
OrderClose(OrderTicket(),OrderLots(),Bid,50,Blue) ;
}
You see what I mean?)
It's like if you did the following calculation on this line:
if ((100 >=100-30)||(100 <=100 + 25))
{
Print(100) ;
OrderClose(OrderTicket(),OrderLots(),Bid,50,Blue) ;
}
See what I mean?)
Yes, the logic is floating))
Yes, the logic swam)))
It will...))) At first, I think everyone did...))
It will...)))) at first, I think everyone had that))))
Yeah hard to start) thanks for the help
That's how it works.
can you tell me how to write "some condition, then request manual confirmation" on MLQ4?
The MessageBox function creates and displays a message box and controls it.
The MessageBox function creates, displays and manages a message box.
Thank you, we'll study it...)
Thank you, we'll look into it...)
example
Hi all. Can you give me a suggestion?
MarketInfo(Symbol(),MODE_SPREAD) returns result in pips, it's written in description. Is it in int or double ? It doesn't say anything about it. Thank you in advance.