Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
A. Indicator************************************************************************************************
Name: DCCC
MT4 Metatrader DCCC| Double Cross MA´s Close candle Indicator
Indicator DCCC
Objetive:
I need an indicator that gives me 3 signals from two averages (MA) and the opening and closing price.
1.- SELL, When the price cross the two medias (details lower)
2.- BUY, When the price cross the two medias (details lower)
3.- SELL/BUY on simple cross of medias
SELL ***************
The candle open above the fast MA and close below slow MA
BUY ****************
The candle open below the fast MA and close above slow MA
Cross **************
The fast MA cross with the slow MA
Setting Panel
General Settings
-----Fast MA-----
- Period: 7 (input manual)
- Shift: 0 (input manual)
- MA Type: Simple, Exponential, Smoothed, Linear Weighted.(Choose option)
- Close Price: Close, Open, High, Low, Median, Typical, Weighted, etc. (Choose option)
-----Slow MA-----
- Period: 21 (input manual)
- Shift: 0 (input manual)
- MA Type: Simple, Exponential, Smoothed, Linear Weighted.(Choose option)
- Close Price: Close, Open, High, Low, Median, Typical, Weighted, etc. (Choose option)
-----Design------
Double Cross MA´s
Buy Color: Tomato
Sell Color: Royal Blue
Widht: 0 (input manual)
Show Arrows: True/false
Cross MA´s
Buy Color: Tomato
Sell Color: Royal Blue
Widht: 0 (input manual)
Show Arrows: True/false
-----Send Notification------
Send Alert: True/False
Send Email: True/False
Send Push Notification: True/False
-When a signal SELL/BUY: True/False
-On Crosss of medias: True/False
ALert Message:
-When a signal SELL/BUY: True
SELL EURUSD MN 2017.09.07 14:00
O. 1.43020 (Open Price)
H. 1.45790 (High Price)
L. 1.38620 (Low Price)
C. 1.38650 (Close Price)
-On Cross BUY/SELL of medias: True
Cross SELL EURUSD MN 2017.09.07 14:00
O. 1.43020 (Open Price)
H. 1.45790 (High Price)
L. 1.38620 (Low Price)
C. 1.38650 (Close Price)
Note 1: Details and example for aesthetics see Picture 1
*******************************************************************************************************************
B. Expert Advisor***********************************************************************************************
Name EA DCCC
MT4 Metatrader DCCC EA| Double Cross MA´s Close candle Expert Advisor
Double Cross MA´s Close Candle Expert Advisor - Open/Close pending order when the price cross (open/close) two MA´s
The Expert Advisor its based on Indicator DCCC (A. Indicator)
Objetive:
The expert advisor will put a 1,2 or 3 pending order (Detailslower) when the indicator DCCC gives SEL/BUY signal on the candle that gives signal.
Rules
1. SELL, The candle open above the fast MA and close below slow MA
2. BUY, The candle open below the fast MA and close above slow MA
*****************Expert Advisor DCCC Setting Panel***************************
------------General Settings-------------
--------Strategies---------
1. -Signal: (One Pending order on the signal direction SELL/BUY), Put a Limit order on the direction of the signal and at the price of the filter of Strategie 1 Signal.
Price aplied: Close, Open, High, Low, Median, Typical, Weighted, etc. (Choose option)
2. -Signal Twin: (2 Pending order on signal direction (SELL/BUY), For example if the signal is SELL, then the EA put two Sell Limit orders to the applied price.
Price aplied order 1: Close, Open, High, Low, Median, Typical, Weighted, etc. (Choose option)
Price aplied order 2: Close, Open, High, Low, Median, Typical, Weighted, etc. (Choose option)
Note 1 EA: Only one strategy can be used at a time, all the EA its on close candle, and all its about the candle of the signal that cross the two MA´s
--------Money Management----------
Use Money Management: False/True
Risk in Percent: 2.0
Take Profit (Fibonacci Retracement %)
Stop Lost (Fibonacci Retracement %)
-----Fast MA-----
- Period: 7 (input manual)
- Shift: 0 (input manual)
- MA Type: Simple, Exponential, Smoothed, Linear Weighted.(Choose option)
- Close Price: Close, Open, High, Low, Median, Typical, Weighted, etc. (Choose option)
-----Slow MA-----
- Period: 21 (input manual)
- Shift: 0 (input manual)
- MA Type: Simple, Exponential, Smoothed, Linear Weighted.(Choose option)
- Close Price: Close, Open, High, Low, Median, Typical, Weighted, etc. (Choose option)
-----Design------
Double Cross MA´s
Buy Color: Tomato
Sell Color: Royal Blue
Widht: 0 (input manual)
Show Arrows: True/false
Cross MA´s
Buy Color: Tomato
Sell Color: Royal Blue
Widht: 0 (input manual)
Show Arrows: True/false
-----Send Notification------
Send Alert: True/False
Send Email: True/False
Send Push Notification: True/False
-When a signal SELL/BUY: True/False
-On Crosss of medias: True/False
ALert Message:
-When a signal SELL/BUY: True
SELL EURUSD MN 2017.09.07 14:00
O. 1.43020 (Open Price)
H. 1.45790 (High Price)
L. 1.38620 (Low Price)
C. 1.38650 (Close Price)
-On Cross BUY/SELL of medias: True
Cross SELL EURUSD MN 2017.09.07 14:00
O. 1.43020 (Open Price)
H. 1.45790 (High Price)
L. 1.38620 (Low Price)
C. 1.38650 (Close Price)