Hi, I'm looking for someone to create an Expert Advisor that will open/close a trade based on the custom MT4 Indicator "Trend Tracker" (https://www.mql5.com/en/market/product/13718). That custom indicator has an output based on two tracker lines: Swing (for long trends) and Tracker (for early breakout trends). Based on this the desired expert advisor should work the following way: EA Logic: Wait for a new signal from the Trend Tracker indicator. If the signal shows BUY: If there's an open order... If there's an existing SELL order... Close the existing SELL order. Open a new BUY order. else (there's an existing BUY order) Do nothing. else (no open orders) Open a new BUY order. If the signal shows SELL (same principle as for BUY): If there's an open order... If there's an existing BUY order... Close the existing BUY order. Open a new SELL order. else (there's an existing SELL order) Do nothing. else (no open orders) Open a new SELL order. Basically it's about having a BUY order when the signal is showing buy. As soon as the signal shows SELL, we close the BUY order and open a new SELL, and viceversa. There can be only 1 open order at a time. Opening a new order means closing an existing one. The type of signal (act only upon Swing line, Breakout line, or any) is defined in the list of parameters. The lot size is to be defined in the parameters. Desired parameters: Magic: 8-digit unique Magic Number of the EA (by default "28757148"). Signal: list. Contains "Swing", "Tracker", "Any". It defines the type of indicator signal to be listening to for opening/closing trades: swing line, tracker line or any of them (by default "Swing"). Size: lot size of the trades to be opened (by default "0.1"). Investment: used to calculate dynamic lots based on the account equity (by default "0"). When zero the lot size will always be fixed as indicated in the "Size" parameter". When there is a positive value the lot size will be calculated according to the following formula: Equity / Investment * Size. For instance, if the equity is $1,000, "Investment" is 200, and "Size" is 0.1 the EA will add "0.1" lots for every "200" units of equity, that is: 1,000 / 200 * 0.1 = 0.5 lots. Comment: custom comment of the trade (by default "swingo"). Foreground: color picker for the foreground text (by default "White"). Please let me know should you need any clarification. Thanks in advance.