Search found 1 match

by mtbBend
Tue Oct 03, 2017 10:24 pm
Forum: MetaTrader
Topic: Code Help
Replies: 0
Views: 3288
Gender: None specified

Code Help

Trying to get the profit of the order just closed and add that to my previous TpAmount variable ... Would this work? double ticket=OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if(OrderType()>=2 || OrderMagicNumber()!=MyMagic) continue; Print("* Closing ... ",OrderSymbol(),". Ticket #&quo...

Go to advanced search