Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
this EA is combination with MA and Chandelier Exit
basically this ideal is easy, entry with Moving Average cross and close trade with Chandelier Exit
sometime do grid trade (loss or profit) also is optional close trade with different moving average
please check screen print below and any question just ask me
INPUT SETTING
I- Initial trade Setting (choice one)
Both Side (Long and Short)
Any Single Side
Long Side Only
Short Side Only
II- Lots management
Lots Type to choice one ==> 1. Fixed Lot Size or 2.Lots base on XBalance
1. Fixed Lot
- Fixed Size ( number of lots)
2. Lots Base on X Balance
- X Balance (input for Xbalance)
- Lot Size Per Balance
(example : if i put 100 and lot size 0.1 = when i have 300 balance will trade 0.3 lots)
III- Grid Setting for Loss and Profit (individual setting input for each one)
1. Active Grid (on/off)
2. Max Grid Trades (numbers)
3. Grid GAP type ( Fix or Custom Distance)
-Fix Grid Gap : points ( example if i set 300 means each 300 point loss or profit open new grid trade)
-Custom Grid in points (numbers inputs separate with ; ) (example 200;300;400 means each number consecutive for next grid trade)
4. Grid trade only in signal (True / False )
5. Grid Trade only in new candle (True / False )
6. Lot Type for Grid (choice one)
- Multiple (numbers for multiple)
- Add Lots (numbers for each next trade to add lots ) (example: if i set 0.03 . i start trade with 0.04 and next grid trade will be 0.07)
- Fix Lots (number fo fix)
- Custom Lots (numbers inputs separate with ; ) (example 0.04;0.05;0.07 means for next grid trade lots)
IV- Profit / Loss Management
1. Profit Behavior
-Individual ( each trades Separate calculation)
-Averaging ( average number for close trade)
- Fix Gap from initial trade (points from first trade)
2. Loss Behavior
-Individual ( each trades Separate calculation)
-Averaging ( average number for close trade)
- Fix Gap from initial trade (points from first trade)
3. Profit in currency for close
- Profit in currency for close after numbers of order
4. .Loss in currency for close
- Loss in currency for close after numbers of order
5. Total Equity Profit to close all
V. Initial Strategy Setting
1. Initial Combination setting ( For Entry) : (And / Or) Note: if choice AND = need all "entry indicator has entry/exit signal |||| if choice OR = Any signal is established
2. Initial Combination setting ( For Exit) : (And / Or)
VI. Auto Trade Indicator Setting
Note: will need 6 set of Moving Average ( 1 set = Moving Average with slow line and fast line)
1. 1,2,3,4,5,6 sets of Moving Average (On/Off) Each combination is individual
2. Choice for Entry or Exit
3. MA signal ( up/down or Cross) ( up/down = if The fast line is above the slow line always open trade)
4. MA time frame (current or any other time frame
5. Slow Period : 60
6. Fast Period : 20
7. MA price : (Close, Open Low, High, Media, etc)
8. MA method (simple, Exponential, Weighted or smoothed)
9. Reverse signal (False / True
VI.1 Chandelier Exit ( need 2 sets of Chandelier Exit) (please check attachment for chandelier exit code)
1. Active Chandelier Exit Indicator (On/Off)
2. Choice for (Entry or Exit)
3. ATR period: (numbers)
4. ATR Multiplier: (numbers)
VII. Magic Number and Comment
VIII. Status Panel ( please check image below)