Simple Buy/Sell EA Based on Signal Provided by Indicator

MQL4 指标 专家

工作已完成

执行时间3 天

指定

This EA is a simple buy/sell indicator based on the color of the dots from the indicator. A blue dot indicates a buy signal, and a yellow dot indicates a sell signal.

The EA should open either a buy/sell signal based on the color of the dot upon the close of the candle.

The first option for the EA should be "WaitForOppositeSignal" true or false. The "true" option means that the EA must wait for an opposite colored dot to open a trade. The "false" option means that once the EA is attached it will open a trade based on the CURRENT color of the dot. 

IMPORTANT: THE EA MUST WAIT FOR THE COLOR OF THE DOT/CANDLE TO CLOSE. IT SHOULD NOT OPEN A TRADE IF THE DOT OPENS A DIFFERENT COLOR, IT SHOULD WAIT FOR THE CANDLE TO CLOSE BEFORE TAKING THE TRADE. The EA Should close the trade once an opposite signal is triggered and it should then open a trade in the opposite direction.

The additional options should be as follows:

Lot Size: 

Break Even Pips:

Stop Loss Pips:

Take Profit Pips:

Session Start Hour:

Session Start Minute:

Session End Hour:

Session End Minute:

Minimum Opposite Dots to Open/Close Trade: (#) This is the number of closed dots required to open/close trades. The default value is set to 1, meaning only 1 opposite colored dot needs to close before opening/closing the trade. A higher value like 2 or 3 would be used to filter trades if price reverses only momentarily, useful for shorter time frames.

Below is a picture indicating valid entries for the EA. PLEASE READ: THE LINE INDICATES ENTRIES BASED ON THE CLOSE OF THAT CANDLE. MEANING THE ACTUAL ENTRY IS AT THE OPEN OF THE CANDLE AFTER THE VERTICAL LINE. THIS IS VERY IMPORTANT, PREVIOUSLY EAs I REQUESTED HAD TRADES OPENING/CLOSING AS THE COLOR OF THE DOT CHANGED RATHER THAN WAITING FOR IT TO CLOSE. 

 

AGAIN: THE TRADE SHOULD BE TAKEN AT THE OPEN OF THE CANDLE AFTER THE VERTICAL LINE INDICATES BECAUSE WE ARE WAITING FOR THE COLOR CHANGE OF DOT TO CLOSE. THE TRADE IS OPEN/CLOSED ONCE AN OPPOSITE COLORED DOT HAS CLOSED. If the EA takes multiple trades as the color of the dot changes within the time frame then it is not working correctly. The EA set on a 5 minute time frame should take trades only at 5 minute intervals, the close of a candle. I shouldn’t see trades being taken at  ex: 2:43, 2:41, 2:44, etc. 

IF THE CURRENT TREND IS A BUY (BLUE DOTS) AND THE NEXT CANDLE OPENS WITH A YELLOW DOT, THE EA SHOULD NOT OPEN A SELL TRADE UNTIL THE CANDLE CLOSES WITH A YELLOW DOT BECAUSE THE COLOR OF THE DOT MAY CHANGE WITHIN THAT TIME INTERVAL 

 

 

THE EA SHOULD BE CODED USING THE FOLLOWING SETTINGS FOR THE INDICATOR, IT DOES NOT REPAINT. 

 

Attached is the indicator. This should be a relatively simple EA to code however it is critical that entries are based on the close of candles/dots and not as the color is changing within the time frame.

 

附加的文件:

EX4
nonlagdot.ex4
14.9 Kb

反馈

1
开发者 1
等级
(320)
项目
525
66%
仲裁
52
21% / 38%
逾期
169
32%
空闲
2
开发者 2
等级
(88)
项目
143
39%
仲裁
21
19% / 48%
逾期
30
21%
空闲
3
开发者 3
等级
(2114)
项目
2684
62%
仲裁
114
46% / 25%
逾期
419
16%
繁忙
4
开发者 4
等级
(769)
项目
1033
44%
仲裁
50
8% / 50%
逾期
117
11%
空闲
5
开发者 5
等级
(339)
项目
809
73%
仲裁
30
33% / 37%
逾期
194
24%
空闲
6
开发者 6
等级
(68)
项目
111
26%
仲裁
17
6% / 71%
逾期
15
14%
空闲
7
开发者 7
等级
(106)
项目
314
49%
仲裁
42
52% / 19%
逾期
22
7%
空闲
8
开发者 8
等级
(121)
项目
134
66%
仲裁
36
25% / 56%
逾期
22
16%
空闲
9
开发者 9
等级
(11)
项目
17
41%
仲裁
4
0% / 100%
逾期
5
29%
空闲
10
开发者 10
等级
(219)
项目
405
60%
仲裁
13
38% / 23%
逾期
160
40%
工作中
11
开发者 11
等级
(13)
项目
34
76%
仲裁
1
100% / 0%
逾期
6
18%
空闲
12
开发者 12
等级
(31)
项目
81
83%
仲裁
1
0% / 0%
逾期
29
36%
空闲
13
开发者 13
等级
(49)
项目
134
27%
仲裁
62
13% / 53%
逾期
58
43%
空闲
14
开发者 14
等级
(12)
项目
17
35%
仲裁
1
0% / 100%
逾期
3
18%
空闲
15
开发者 15
等级
(71)
项目
156
44%
仲裁
22
41% / 14%
逾期
16
10%
空闲
16
开发者 16
等级
(3)
项目
4
50%
仲裁
0
逾期
0
空闲
相似订单
I am developing a master EA that integrates several sub-EAs. The project is complex, and the documentation is thoroughly structured, spanning 50 pages with detailed step-by-step procedures. 1st sub-EA: This EA opens trades without using indicators. Instead, it opens a new trade based on the color or status of the last candle. For instance, if the last candle was green, a new buy trade is opened. 2nd sub-EA: This EA
Good Day I would like to order a trading robot. Pairs: XAUUSD (GOLD) EUR/USD USD/JPY The robot should be trading daily with TP/SL build in, would like to have trailing and stop loss, should execute up to 5 trades (preffarable setting choice) up to 10 trades Los sizes to be choise setting, must also trade major US vews events Like:US- PPI, CPI, NFP, Sales m/m and so on Must also show/display alert when opening
Hello Guys, I need a trading bot for the MT5 to place order based on my trading strategy which is based on - >> entry based on EMA with rejection from specific levels like support and resistance area - levels and time frame i will apply into the robot manually on daily basis. also need - trailing stoploss , shift to breakeven after gaining some points. need a highly expert developer
Trade Manger EA 30+ USD
Hello Programmer! I am looking to build an EA that will place my trade and manage it. Once i have manually found my setup, I will want an EA to open the trade, set the R:R and manage it according to my specifications. please take a look at the attached to get an Idea of what I would like. I will require the source code once completed
Hello there i need someone who will create a robot that will calculate the movement between buy/sell and show where to take profit the robot should work with all currency and indices including stock
EA to send account history to web request. It should send every 5 mins or when there is an update. It then sends the json to a web request where gain, drawdown, balance, equity will be displayed
I have a full strategy based on indicator and candle based on . i would like to make it into a robot which will trade for me on a specific time and specific rules. i need a person who can do this project for me. If you have done this type of job . you are most welcome for this. Apply only if you know binary trading option and binomo trading platform well and how it works
Preciso de um EA, que faça o fecho automático de operações abertas no final da sessão e nas notícias de alto impacto. Um EA simples com apenas 1 função. Fecho das operações abertas
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable

项目信息

预算
25 - 30 USD
开发人员
22.5 - 27 USD
截止日期
 1  7 天