|
|
@@ -1,2 +1,29 @@
|
|
1
|
|
-# crib_market_ea_mt5
|
|
|
1
|
+# CribMarketEA.mt5
|
|
|
2
|
+
|
|
|
3
|
+This EA checks the gold pairs (XAU, Gold) in the Market Watch section and place trades on them according to the conditions.
|
|
|
4
|
+
|
|
|
5
|
+# EA Entry Logic:
|
|
|
6
|
+Fetch All Gold Pairs from Market Watch and then check which pair have lowest Ask Price then place Buy trade on it
|
|
|
7
|
+and check which pair have highest Bid Price then place Sell trade on it.
|
|
|
8
|
+No other Pairs i.e EURUSD, GBPUSD should not take trades only the Gold ones included in it.
|
|
|
9
|
+
|
|
|
10
|
+# For Buy Trade:
|
|
|
11
|
+If Buy trade count == 0 then place Buy trade on pair having lowest Ask price available in the Market Watch.
|
|
|
12
|
+
|
|
|
13
|
+# For Sell Trade:
|
|
|
14
|
+If Sell trade count == 0 then place Sell trade on pair having highest Bid price available in the Market Watch.
|
|
|
15
|
+
|
|
|
16
|
+# Bucket Take Profit:
|
|
|
17
|
+Continuously monitor total net profit of all active trades.
|
|
|
18
|
+If combine profit of buy and Sell is 1 $ (user input) then Close All Trades.
|
|
|
19
|
+Basket TP: Configurable in account currency (e.g., 1 $).
|
|
|
20
|
+Then Repeat The Cycle again from start.
|
|
|
21
|
+
|
|
|
22
|
+# General Settings:
|
|
|
23
|
+Magic no = 333 (user input).
|
|
|
24
|
+lot Size = 0.1 (user input).
|
|
|
25
|
+basketTakeProfit = 1 $ (user input).
|
|
|
26
|
+
|
|
|
27
|
+
|
|
|
28
|
+
|
|
2
|
29
|
|