Trailing stop?

 
How can I check to see if the price has increased since the last tick so EA knows when to change the stoploss?
 
the EA knows exactly what to do

you're the one that supposed to know what to do
 

Thanks for that useless information.

 
samuelgo: Thanks for that useless information.
learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
 
samuelgo:
How can I check to see if the price has increased since the last tick so EA knows when to change the stoploss?

You assign the price to a double and when a new price arrives you compare it with the price in the double.
 
Thanks SDC :)
Reason: