Stop loss

 
Is it possible in EA to modify stop loss above buy order open price in order to trail the stop and gain profit? 


I wrote the code but it returns the 130 code error.

Please guide me in this case.
 
hamedskv:
Is it possible in EA to modify stop loss above buy order open price in order to trail the stop and gain profit? 


I wrote the code but it returns the 130 code error.

Please guide me in this case. 

How about providing the code first...No code i guess no help either unless someone in this forum has some kind of 6th sense and can see your code in his mind :)

 
hamedskv:
Is it possible in EA to modify stop loss above buy order open price …

I wrote the code but it returns the 130 code error.

Please guide me in this case.
  1. Of course.
  2. Your code is broken.
  3. Fix your broken code.
 
William Roeder:
  1. Of course.
  2. Your code is broken.
  3. Fix your broken code.
Thank you I find the solution 🙏🏼🙏🏼🙏🏼
Reason: