Nav apraksta

WajeehSaqib-MQL 5e2ce1e8d3 Input renamed 6 mēneši atpakaļ
V2 5e2ce1e8d3 Input renamed 6 mēneši atpakaļ
CribMarketEA.ex5 a9b0e6fe62 few updates in the code 7 mēneši atpakaļ
CribMarketEA.mq5 a9b0e6fe62 few updates in the code 7 mēneši atpakaļ
README.md b4d81c4f17 Ticket : 4761 Add readme file 7 mēneši atpakaļ

README.md

CribMarketEA.mt5

This EA checks the gold pairs (XAU, Gold) in the Market Watch section and place trades on them according to the conditions.

EA Entry Logic:

Fetch All Gold Pairs from Market Watch and then check which pair have lowest Ask Price then place Buy trade on it and check which pair have highest Bid Price then place Sell trade on it. No other Pairs i.e EURUSD, GBPUSD should not take trades only the Gold ones included in it.

For Buy Trade:

If Buy trade count == 0 then place Buy trade on pair having lowest Ask price available in the Market Watch.

For Sell Trade:

If Sell trade count == 0 then place Sell trade on pair having highest Bid price available in the Market Watch.

Bucket Take Profit:

Continuously monitor total net profit of all active trades. If combine profit of buy and Sell is 1 $ (user input) then Close All Trades. Basket TP: Configurable in account currency (e.g., 1 $). Then Repeat The Cycle again from start.

General Settings:

Magic no = 333 (user input). lot Size = 0.1 (user input). basketTakeProfit = 1 $ (user input).