how do I write an ea that enters a trade when previous high or low has been taken out by new ones when i actiavte it with a button, please any ida, i am new
to mql4 programming.
- last bar
- Please help
- How can i add an arrow or something to the chart when an position is opened or closed by my ea?
Femi Kikas: i am new to mql4
programming.
- You are new to programming, and you want buttons. Good luck with that, you are way over your head.
- Create a button, monitor it using OnChartEvent.
- Get and remember the previous high when button is first pressed.
- Wait for the market to exceed the high by monitoring OnTick.
- Open an order if there isn't any currently open ones.
- I suggest you search for a GUI/Trade Assistant EA like mine (for MT4) and just place a pending buy at the previous
high.
'Money Manager Graphic Tool' indicator by 'takycard' - Risk Management - Articles, Library comments - MQL5 programming forum - Page 6 #55
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