Asdac1 wrote:Hi Apprentice
I would like an Expert Adviser (EA) for MT4 & MT5 made off of the Indicator attached.
Buy - When candle crosses above trend line:
Options -
1. 0 candle, Live (immediately cross)
2. 1st candle Close above line
3. 2nd Candle Close above line
4. 3rd candle close above line
Sell - When candle crosses below trend line:
Options -
1. 0 candle, Live (immediately cross)
2. 1st candle Close above line
3. 2nd Candle Close above line
4. 3rd candle close above line
Slippage - if price exceeds
Options-
1. Open Market order
2. Open Limit order
3. Open Stop order
Symbol Specific : True/False
Options -
1. Symbol specific
2. All loaded symbols
CLOSE ON OPPOSITE SIGNAL (VERY IMPORTANT)
All other trade management options based on your discretion.
Thanks in advance
Hi Apprentice, the EA made works well but there are a few minor adjustments that are required for it to fully meet my strategy needs, and they as follows:-
SIGNAL MODE:
BUY Conditions:
1. Close of 1st Candle
2. Close of 2nd candle if close higher than 1st candle close else no trade
3. Close of 3rd candle if close higher than 2nd candle close else no trade
4. Close of 4th candle if close higher than 3rs candle close else no trade
SELL Conditions:
1. Close of 1st candle
2. Close of 2nd candle if close lower than 1st candle close else no trade
3. Close of 3rd candle if close lower than 2nd candle close else no trade
4. Close of 4th candle if close lower than 3rd candle close else no trade
SLIPPAGE:
Condition:
If price exceeds (No. of slippage)
Options-
1. Open Market order
2. Open Limit order
3. Open Stop order
SYMBOLS:
Symbol Specific : True/False
Options -
1. Symbol specific
2. All loaded symbols
"CLOSE ON OPPOSITE SIGNAL (VERY IMPORTANT)" - This works perfectly as requested. Nice job.
TRADING SESSIONS:
1. Use time zone filter (True / False)
2. Ability to manually input time zone
End Time Options:
1. Close all open orders and pending orders after end time
2. Close all profit orders and pending orders after end time
3. Close all losing orders and pending orders after end time
NOTE: After the end time passes, as expected, the ability of the EA to autotrade is disabled but in a situation that for instance either end time option 2 or 3 is chosen and there are still trades running, upon the trend line cross the EA should close the corresponding live trade still running after the 'end time' while the ability to open new trades during endtime is halted until 'start time'.