仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
I need an expert advisor.
Buy when there is 2 consecutive green histogram and price bar closed above top of ichimoku cloud
Sell when there is 2 consecutive red histogram and price bar closed below bottom of ichimoku cloud
Exit when:
1. TP is hit
2. Stopped out
3. Reverse Signal
General Settings: (these are default settings)
Time Start: 09:00
Time End: 20:00
Max lot:
SL: 25
TP: 100
Allowable Slippage: 3
(Example: If buy signal bar close at 1.36, the EA should open long trade as long as the entry price does not exceed 1.3603. If sell signal bar close at 1.36, the EA should open sell trade as long as the entry price does not exceed 1.3597).
Pips crossed cloud: 0
Sound Alert on trade: True or false
Trail and Breakeven Settings
Trail Start: 95
Trail Step: 5 (If trail start at 95 and price hits 99 and reverse, EA should close at +94 pips profit)
Breakeven Pips: 25 (Update SL after +25 pips)
Breakeven Profit: 2 (After breakeven pips is reached, move SL to entry price plus 2)
Partial Close Settings
Use Partial Close: True or False
Partial Profit (in Pips): 25
Lot size to close at partial profit: 50%
Money Management Settings
Money management enable: True or False
Maximum Risk: 1
Fixed Lot size: 0.1
Others
If I manually close current position, the EA should not open a new position. It has to wait for the next signal.
My Broker is ECN, but the EA should also work on non-ECN broker
The EA should work on time based, Renko or range bar charts (Offline charts)
There should be a status at the left top corner of the chart showing “Trading Hours” during session time and Non-Trading Hours during off session time.