Please edit your post and
use the code button (Alt+S) when pasting code
-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum 2019.05.06
Messages Editor -
You are looking at a signal. Act on a change of signal.
MQL4 (in Strategy Tester) - double testing of entry conditions - MQL5 programming forum #1 2017.12.12
-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum 2019.05.06
Messages Editor -
You are looking at a signal. Act on a change of signal.
MQL4 (in Strategy Tester) - double testing of entry conditions - MQL5 programming forum #1 2017.12.12
Thanks! I'll be sure to look at the Forum you linked, and sorry about the coding, this was my first post
Please edit your post and
use the code button (Alt+S) when pasting code
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I'm new to coding so please don't blast my code xD
But basically how my EA works is when 2 trend lines cross is makes a sell/buy trade (depending on which way) but because there is obviously some time when the lines are touching, my EA goes nuts and opens and closes like 100 trades per second, I basically just want help adding in like a buffer where my EA will wait for the next bar before altering/opening/closing new trades.
Thanks!!