liquidd:
Where do you check that your modified order complies with this ? Requirements and Limitations in Making Trades
Hi
I am wondering what is going on with my TP level with this ea I'm programming
it returns me a tp error on the ordermodify sequence here is the code
I'm wondering if a normalizedouble woudl make it or if something obvious would affect this error
- What are Function return values ? How do I use them ? - MQL4 forum
- Where do you print the values of your variables
sl = price-sldistance; // A price like 1.34567 ordermodified = OrderModify(ticket, price, sl*Point, tp*Point, 0,CLR_NONE); // price is wrong with ANY slippage ^^^ ^^^ a value like 0.0000134567 (0.1 pips)
- Don't use NormalizeDouble
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
I am wondering what is going on with my TP level with this ea I'm programming
it returns me a tp error on the ordermodify sequence here is the code
I'm wondering if a normalizedouble woudl make it or if something obvious would affect this error