tradingfinder/Auto-Trend-Lines-Indicator-Metatrader ? reverse-engineered prompt

Reverse engineered prompt

Build me an Auto Trend Lines indicator for MetaTrader 4 and 5 that I can drop onto a chart and have it draw trend lines automatically.

It should find swing highs and lows on its own, connect the important points, and show trend channels around the main line so I can spot support, resistance, and breakouts more easily. I want it to look at three timeframes, long, medium, and short term, and update in real time as new price action comes in. Please include ATR based filtering so it ignores a lot of market noise and only draws the more meaningful moves.

Let me customize the colors, line styles, and line widths for each timeframe, and make sure the lines extend forward so they’re useful for future price action too. It should work cleanly on both MT4 and MT5, with sensible default settings and no clutter from old lines hanging around. If you need to check current MetaTrader drawing behavior, look up the latest docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab