OP_SELLLIMIT,0.1,Ask+(100*Point)
You Buy@Ask and Sell@Bid. One way to remember Buy-A...Sell-B. Or A_B. In your code, You're Selling@Ask. Also search Google for 4-5 Digit Broker Code to help you understand Pips vs Points.
thank you.
do you have a link to a nice documentation about this? i normally go trough the mql4 documentation but its too shallow most of times....i dont even understand the whole points stuff....i get that if broker is 4 digit its the 1 point per pip for 5 digit its 10 point per pip.
thanks for your time and sending the google search about the 4-5 digit broker, found a script from kolier.
reading it now.

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
Hi everyone, been using this forum a lot in the last months, just registered to have a little question taken out that i havent been able to solve or find solution online.
this is an EA i have been playing for 2 days to detect doji candles (its a code in progress) but im having a problem with the ordersend.
everytime it sends an Ordersend with OP_SELLLIMIT the takeprofit and stoploss its off by 10 pips.
my stops are 40 pips not 50, and my takeprofit is 110 pips not 100.
anyone knows why? i have already looked into....tought maybe the spread...but the spread is about 2 pips....cant figure it out.
Thank you.