WARISANGA: Am Sorry I couldn't post this as a task for developers. Metatrader 5 annoyingly keeps losing me
Top of every page is the link Freelance
Hiring to write script - General - MQL5 programming forum (2019)
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello
Am Sorry I couldn't post this as a task for developers. Metatrader 5 annoyingly keeps losing me of and on and I can't handle that
write for me a forex trading algorithm in MetaQuotes Language 5 that recalls the last two highs and the last two lows.
The algorithm reads the market structure's recent Highs, that is H2 as (previous) and H1 as (recent) and the market structure Lows L2 as (previous) and L1 as (recent).
The algorithm also describes the markets status as the following
a) Trending down - L1 less than L2 and H1 less than H2 and trades Shorts at 61% retracement of the recent H1 to L1 Swing
b) Trending Up - L1 greater than L2 and H1 greater than H2 and trades Longs at 61% retracement of the recent H1 to L1 Swing
c) Congesting - H1 less than H2 and L1 greater than L2 - places buy trades (longs) at the breakout of the H1 level or places sell trades (shorts) at the breakout of the L1 level.
d) Expanding - H1 greater than H2 and L1 less than L2) - Places an alert (rings twice)