Closing Trades When Price Crosses the Kijun Sen
Summary
This expert advisor closes open positions for the chart’s symbol when price reaches or crosses the Kijun Sen. In Stealth Mode, a buy closes when Bid is at or below the line, while a sell closes when Ask is at or above it; a price gap triggers closure at the next available price. In Spread Mode, closure occurs when the Kijun Sen lies between Bid and Ask. If price gaps past the line, positions remain open until the spread again contains it or the positions are closed manually.
The document also describes alerts and saved input settings, but its key operational caveats concern order identification and scope. Manual trades lack the magic number used to distinguish orders, and the advisor acts on positions across charts for its symbol. Running it on multiple charts of the same symbol can cause duplicate closure behavior. No evidence is offered on trading performance, slippage, or suitability of the Kijun Sen as an exit signal.
Key ideas
- Stealth Mode closes buys at or below Kijun Sen and sells at or above it.
- Spread Mode closes trades when Kijun Sen falls between Bid and Ask.
- In Spread Mode, a gap past the line leaves trades open until the spread returns across it or they are closed manually.
- The advisor can affect trades on other charts with the same symbol.
- Manual orders lack magic numbers, limiting the advisor’s ability to distinguish them.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.