工作已完成
指定
Please modify the EA to place order based on the market sentiments from Myfxbook outlook:
The data will refreshed every 30 minutes.
In the EA you will see 2 layer of conditions, daily & current. For more details,
- "daily" means layer 1 conditions. In this layer 1 condition, the EA enters a state of "ready to open a position", buy/sell.
- "current" means layer 2 conditions. In this layer 2 condition, the EA will open a buy/sell position according to the algorithm.
inside "daily", I want this EA:
- Get ready to "BUY" if "SHORT sentiment" is above 75%
- Get ready to "SELL" if "LONG sentiment" is above 75%
inside "current", I want this EA:
- Open a "BUY" position if there is an increase of at least 2% in "SHORT sentiment" from the 30 minutes before.
- Open a "SELL" position if there is an increase of at least 2% in "LONG sentiment" from the 30 minutes before.
If the Open Order is in loss condition:
- For Buy open orders, will be closed when "SHORT sentiment" is below 65%
- For SELL open orders, will be closed when "LONG sentiment" is below 65%
Add a Sentiment Image in the chart according to the symbol being traded. You can copy and paste the exact same design from myfxbook outlook. Please also create an algorithm that converts symbol names from myfxbook which may be different from brokers (for example "XAUUSDz" in brokers, myfxbook says "XAUUSD". Or "GOLD" in brokers, myfxbook says "XAUUSD").
Please do not change the existing functions in this EA, which includes lot calculations, trailing, trading hours, etc.