Is there any way to code last two swing form trendline, high break, fib draw, open order for a retracing EA?

1 View
Lynn Chavez
Answered 3 months, 1 week ago
<p id="isPasted">Yes, it's possible to code an Expert Advisor (EA) that identifies swing points, draws a trendline, detects a breakout, draws Fibonacci retracements, and places an order based on a retrace. The process involves several steps: swing point detection, trendline drawing, breakout detection, Fibonacci retracement drawing, and order placement based on a retest of the trendline within a Fibonacci zone.&nbsp;</p><p>1. Swing Point Detection:</p><p>Identify the last two swing highs and lows on the price chart.</p><p>Swing points are generally defined as local maximums (swing highs) and minimums (swing lows) on the price chart.&nbsp;</p><p>2. Trendline Drawing:</p><p>Connect the two identified …</p>