icemanc:
Search for forum about PostMessageA
Hello Friends,
Can you please point me
how to stop EA from trading if the last trade is loss, I want to code this as other EA as the EA i had was compiled EX4.
Extra notes / IDEAS : I had only 1 EA running .
either stop EA from trading or close MT4.
or we can write EA to check the last trade every 5 min, if loss then stop EA or close mt4 .
Will this be possible ?
Thanks for Help!!

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
Hello Friends,
Can you please point me
how to stop EA from trading if the last trade is loss, I want to code this as other EA as the EA i had was compiled EX4.
Extra notes / IDEAS : I had only 1 EA running .
either stop EA from trading or close MT4.
or we can write EA to check the last trade every 5 min, if loss then stop EA or close mt4 .
Will this be possible ?
Thanks for Help!!
Sample code i have :
}