trailing stop help....

 

please can some one help me

modify the trailing stop for this ea so that

it TRAILS THE MARKET ONLY ONCE?

Files:
 

your code is a bit difficult to read. My suggestion is that at each "IF..." statement you try putting some debug code, like Print("reached condition .... value of stop="+trailingstoop). This way you can get an idea of how the EA is behaving.

Reason: