[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 317
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
help! or explain! why this function does not count the current state of the account: it outputs zero
Hello everyone!
Can you please tell me what the problem is? When I try to place one pending order, I get 2.
while (Ticket2<0)
{
RefreshRates();
Ticket2=OrderSend(Symbol(),2,Lots_New*2,price,2,0,TP,"",MN); //1 order is pending Buy
Alert ("Error in Cycle",GetLastError()); Alert ("TIK2= ",Ticket2;)
Sleep(500);
}
Help - the situation has been taken to the point of absurdity !!!
When running this piece of code, the whole log is flooded with this:
Error 1 error appears when trying to change TP value equal to tpb or tps value, but why the line in the code
allows to do this ?????!!!!!!!!!
Question cleared - solved
help! or explain! why this function does not count the current state of the account: it outputs zero
I'm sorry if I'm not clear about what I wrote, but I'm still a beginner. I'm sorry if I didn't write it clearly, I'm just a newbie.
How can I programmatically remove the marks (arrows) set at the opening and closing of positions?
How can I programmatically remove the marks (arrows) set at the opening and closing of positions?
Wouldn't it be easier not to?
How can I programmatically remove the marks (arrows) set at the opening and closing of positions?
Wouldn't it be easier not to?
You should.))
But the spent ones have to be removed. It gets in the way.
arrows are objects, so see object work.
Now we'll try it.)))