For this you need to make an EA out of the script,
You can re-use the currect code from the script.
Add a check for current open pending order, and if there is none open, open a new one.
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.
I have a basic question in mq4 scripting.
I have already a script that creates a Pending position with S/L.
Now when that pending position goes active entry into the market,
I would like to call the same script again, for a new Pending
with the same criteria (new entry price same pending distance).
I like to program myself, so please offer me some friendly hints.
/Bengt in sunny Halland, Sweden