easylanguage newbie here trying to program a trailing stop entry order activated by a mouse click.
I have found how to program an entry stop order with a mouse click, my problem is that I have no idea how to make that stop order trail the candles. So Let us say price is rising, and I would like the stop order to trail the low of each rising candle so that as soon as price touches the low of last candle then the stop order becomes a market order. It is a very simple entry,just don't know how to program it. any help would be much appreciated.Here is my code