Auftrag beendet
Spezifikation
I am looking for someone to adjust my existing Expert Advisor. Below are the required changes:
-
In the attached graphic, you will see the labels “BuyChange” and “SellChange.”
→ These will be removed. -
The functions “BuyHigh”, “BuyNow”, “SellLow”, and “SellNow” currently generate signals based solely on the integrated ZigZag indicator.
→ This remains unchanged. -
The initial Stop Loss is currently set exclusively based on the ZigZag indicator.
→ This needs to be adjusted as described below. -
There are two Trailing Stop options, “ZZ-Trail” and “HL-Trail,” which can be activated individually. These set a Trailing Stop based on either the ZigZag indicator or the Highest-Lowest indicator.
→ This setup is fine as it is. -
The Expert Advisor must be modified so that when “HL-Trail” is activated:
- The initial Stop Loss is based on the Highest-Lowest indicator.
- The functions “BuyHigh” and “SellLow” also reference the Highest-Lowest indicator when.
-
The buttons “BuyNow” and “SellNow” are currently usable depending on the ZigZag trend.
→ When “HL-Trail” is activated, these buttons should instead be usable based on the trend of the Highest-Lowest indicator.
Summary
The task involves modifying the Expert Advisor to ensure compatibility with the Highest-Lowest indicator when “HL-Trail” is activated. Specifically:
- Remove “BuyChange” and “SellChange.”
- Adjust the initial Stop Loss and the functionality of “BuyHigh” and “SellLow” to reference the Highest-Lowest indicator when “HL-Trail” is active.
- Ensure the buttons “BuyNow” and “SellNow” operate based on the Highest-Lowest indicator trend when “HL-Trail” is active.
If you have any questions or need further clarification, please don’t hesitate to contact me. 🌞
Here you can see how it looks in MetaTrader. The ZigZag indicator and a Highest and Lowest (HL) indicator are integrated. You can also see in the interface that the buttons allow activation of ZZ-Trail on the left and HL-Trail on the right.
When HL-Trail is activated, everything—such as the initial Stop Loss and other buttons—should reference the Highest and Lowest (HL) indicator instead of the ZigZag indicator.