ddock:
so here we got the orderstoploss, orderlot, orderopenprice, ordertakeprofit set
Yes, you're right
also is that ordertakeprofit means the profit point that an ea having ?
No, it isnt. OrdersTakeProfit() returns the profit of single order that was previously selected by OrderSlelect() function
ordertakeprofit = current price (bid) - the entry point ( orderopenprice) ?
Its for BUY positions. For SELL it will be
ordertakeprofit = orderopenprice - ask
great, thanx for the explain
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
the explain for orderstoploss():
Returns stop loss value for the currently selected order.
I assume that orderstoploss, orderlot, orderopenprice, ordertakeprofit are set to 0 on defualt then we set the function when we using ordersend() function
so here we got the orderstoploss, orderlot, orderopenprice, ordertakeprofit set, this is what i thinking about from the explain so if anything i got wrong please correct me.
also is that ordertakeprofit means the profit point that an ea having ?
ordertakeprofit = current price (bid) - the entry point ( orderopenprice) ?