amibroker code to find swing high and swing low

Job ID: 31790957

Budget: ₹1,500 – ₹12,500 INR

simple program to find the swing retracement high in uptrend and swing retracement low in downtrend. pls view the image
Related categories: Amibroker Formula Language