
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
Im just a beginner in mql4 programming and I´m having a lot of trouble with the following:
I am sending two pending orders the first one just 10 points from the entry and the other one 50 points from entry( the small distance betwen is do to quicker testing results in demo)
the 1st one does not have a stoploss but the second one has a stop loss 30 points away, what i´m trying to do is to let the first order inherit the stoploss from the second order the moment the
second becomes a open order. to my inexperinced opinion I have tried allmost everything exept let the ea physically call the broker and nothing seems to work.
my coding text is mostly copied from varius ea,s i have been looking at for simular effects but so far I have not found anything with exsacly this function.
It is much like a trailing stop but still differs because it does not trail behind at every pip.
here enclosed I send you the most resent approach. If any one has a ansver to my problem or differant approach to the solution i would be very greatfull.
pardon my spelling for english is my second language.
best regards