where do i find the exact manual for setting close trade condition based on parameter change in indicator for EA?
mp88:
I want my EA to close trade based on the change,lets say drop in bar of an indicator compared to the previous one.
how can i set the condition?
and if there is a manual can anyone link me? confused here
What have you tried ? It's a little difficult to help with a so general question.
Hi,i need the manual for it
http://book.mql4.com/trading/orderclose
I read that but never mention about close trade based on changes in indicator,current indicator bar compared to the previous bar as such if it exist,help pls
http://book.mql4.com/trading/orderclose
I read that but never mention about close trade based on changes in indicator,current indicator bar compared to the previous bar as such if it exist,help pls
Closing and Deleting Orders - Programming of Trade Operations - MQL4 Tutorial
- book.mql4.com
Closing and Deleting Orders - Programming of Trade Operations - MQL4 Tutorial
mp88:
Hi,i need the manual for it
http://book.mql4.com/trading/orderclose
I read that but never mention about close trade based on changes in indicator,current indicator bar compared to the previous bar as such if it exist,help pls
Hi,i need the manual for it
http://book.mql4.com/trading/orderclose
I read that but never mention about close trade based on changes in indicator,current indicator bar compared to the previous bar as such if it exist,help pls
Here it's about MQL5. There is no more OrderClose() function. You can read this to understand how it works with MQL5.
You have to use iCustom() or adequate function depending of which indicator you use.
Owh sory my question is for mt4
mp88:
Owh sory my question is for mt4
Please post your question in as much detail as possible on the mql4 Forum. Thank you :-)
Owh sory my question is for mt4

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
I want my EA to close trade based on the change,lets say drop in bar of an indicator compared to the previous one.
how can i set the condition?
and if there is a manual can anyone link me? confused here