仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Experienced programmer needed to modify and integrate the indicators attached in mq4.
Indicators:
- CCI - as attached.
- Envelopes - as attached.
- Moving Average.
For BUY,
1. Identify
Moving Average First Time* closed p pips above the upper boundary of Envelopes.
• First time= counter reset when MA move back into envelopes. So once MA closed outside of envelope, it considered as 1st. Ignore the 2nd, 3rd, 4th … so on and so forth until MA move back into envelopes and closed outside of envelopes again.
2. Alert Triggered
ONLY IF the CCI value of that closed candle = ≥+x. (x=unknown to set; Value above 0)
For SELL,
1. Identify
Moving Average First Time* closed q pips below the lower boundary of Envelopes.
2. Alert Triggered
ONLY IF the CCI value of that closed candle= ≤–y (y=unknown to set; Value below 0)
Alert
[PA 6.1] [ASSET PAIR] [BUY/SELL] [TIME] [SELF CUSTOMIZE MESSAGE]
For Example: PA 6.1 EUR/USD BUY 20:00 Message here
Self customize alert sound.
Parameters needed for Envelopes: All same as attached original indicator.
(Period, Shift, MA method, Apply to, deviation and color. )
MA method: 1=SMA, 2=EMA, 3=Smooth, 4=Linear Weighted
Parameters needed for CCI: All same as attached original indicator.
(Period, Apply to and color)
Apply to: 1=Close, 2=Open, 3=High, 4=Low, 5=Median Price, 6=Typical Price, 7=Weighted Close
Parameters needed for Moving Average: All same as original indicator.
(Period, Shift, MA method, Apply to and color.)
MA method: 1=SMA, 2=EMA, 3=Smooth, 4=Linear Weighted
Apply to: 1=Close, 2=Open, 3=High, 4=Low, 5=Median Price, 6=Typical Price, 7=Weighted Close