Download MetaTrader 5

Updating existing EA

To add comments, please log in or register
Watch how to order a trading robot
Read the Rules before you post an order or execute it
How to order a trading robot and get the desired result
Develop a robot in no time
Write trade operations easily
202
Customer 2017.07.17 15:47 100+ USD   from 1 to 2 day(s)

Important

- This EA must control its trades separately. I will be running more than one EA on same currency pair so it must not conflict.

- Drawdown protection must be control as whole account and not just this EA.

- All inputs conditions may change during open trades and all existing trades must follow the new updated rules.


Management

- TimeFrame

- DDprotection = if drawdown reaches certain input, no new trades can be executed. But if first entry has been made it must finish the cycle.

- TP in pips to close all trades made from this EA

- TP in dollars to close all trades made from this EA

- Apply Logic on Open of New Abr Only = True/False

- Allow custom comments inputs - This can be displayed from the comments sections.


Trend confirmation

- Parabolic SAR = Trend confirmation (Allow Input Value and TimeFrame selection) Enable True/False


Entry

- BUY trade Scenario 1 = If hit indicator "Envelopes" on Upper Band check Parabolic Sar on same TF for bullish direction (Allow input valuen change on Parabolic Sar) ENTER Long position and MUST be first Parabolic Sar first dot ONLY. If after first DOT of Parabolic Sar then DO NOT ENTER TRADE!

- Set SL last candle low to close all positions that is opened from this EA

- Set BUY STOP pending order 5pips from first entry (Allow input value change to lot size and pip distance)

- Set BUY STOP pending order 10pips from first entry (Allow input value change to lot size and pip distance)

- Set BUY STOP pending order 15pips from first entry (Allow input value change to lot size and pip distance and True/False to be active or not)

- Set BUY STOP pending order 20pips from first entry (Allow input value change to lot size and pip distance and True/False to be active or not)

- Enter new BUY position on hit LOWER BAND once only with SL 10pips (Allow input value change to lot size and pip distance to SL) from entry 

- Set Trailing SL after 10pips profit (Allow input value change) to follow every pip move. TrailingSL must apply to one or more positions together. If there are more than one open positions opened, EA must calculate trailingSL together to find profit P/L and trail and when hit it must close all together.

- BUY trade Scenario 2 = If hit indicator "Envelopes" on Lower Band check Parabolic Sar on same TF for bullish direction (Allow input value change on Parabolic Sar) enter long position.

- Set SL 10pips (Allow input value change) from entry and to close all positions that is opened from this EA

- Set BUY STOP pending order 5pips from first entry (Allow input value change)

- Set BUY STOP pending order 10pips from first entry (Allow input value change)

- Set BUY STOP pending order 15pips from first entry (Allow input value change and True/False to be active or not)

- Set BUY STOP pending order 20pips from first entry (Allow input value change and True/False to be active or not)

- Set Trailing SL after 10pips profit (Allow input value change) to follow every pip move. TrailingSL must apply to one or more positions together. If there are more than one open positions opened, EA must calculate trailingSL together to find profit P/L and trail as one and close all when trailing SL gets hit.


ALL SELL scenario is to follow Scenario 1 & 2 but reversed.


Dashboard

- To show on the top left hand corner how many positions are opened from the 6 posible entries and show P/L on this EA trades.


Security - Add security in source file so EA can only work when it matchses the account name and number and within expiry date. This is disabled on default setting unless I input the information.

- AccountName

- AccountNumber

- ExpiryDate



Update from existing EA requirements:

1) Add Enable/Disable OsMA trend confirmation rule to enter trade. When there is an opportunity to enter trade, confirm OsMA is above 0 line for BUY and below 0 line for SELL

2) Apply a new rule, to all entries. EA checks for trades to confirm if current candle Envelopes band line is higher than the previous band line and must have options to check different number of previous candles lines to confirm a trade. If I input 2 then it will check that the last 2 candless lines from the Envelopes indicator is higher high or lower low for SELL.

3) Currently first entry from SAR first dot uses SL of the previous candle. Apply an option to use pip SL instead if I choose to.

4) Currently on first Dot SAR entry hitting upper band envelopes it will enter trade, I need to add an option (Enable/Disable) to enable trade when price hit upper band even after first dot of SAR. This ENABLE  trade option is only one time entry when hitting upper band. Second time hitting the upper band will not make any trades until an change of SAR direction and everything will start again.

5) I need to add a new fuction where if the trailing SL is activated with 80 pips gap and price is profiting 100pips. When price profits to 200 pips I like to reduce trailing Gap to 30pips. SO then trailing SL will change from 80 to 30 pips. I require a method so I can change the trailing SL to a smaller value once profit hits a certain number. I would prefer using pips so once price reaches certain pips in profit apply new trailing SL value.

6) First SAR Dot entry now must trade at all times even if old positions are not closed. Currently on first SAR new cycle and price hits upper band envelopes EA must enter first trade BUY or SELL with the same direction of the SAR. But if old direction positions are not close it will not make new entry so I would like to have it so it will still open the new cycle entry even old positions are not closed.

7) Create one SET of rules for UPPER band separating from Lower band rules.  Example, Upper band will have its own Order distance 1,2,3,4,5. Initial TP, SL,MAX trades, Trailing SL, Trailing_fromTrade,BE_on. Currently both upper and lower band is following the same rules.

8) Allow Enable/Disable rule for ""Multi Trade On" Lowerband entry. Currently it is set so only one positions can be opened at a time during one cycle. (One cycle mean from first DOT SAR to last DOT SAR). This option enables to keep entering new trades when price hitting lower band but it must still follow all rules from current settings.

Experts, MQL4
Job completed in 19 hours. Budget: 100.00 USD
2017.07.21
: One of the best coder I have worked with! Great job!

Developer 2017.07.17 18:25
Published 1 code in Library
Jobs: 388 (71% personal)
Arbitration: 22 (completed in favor of the developer 27%, canceled in favor of the customer 59%)
Overdue: 71 (18%)

Developer 2017.07.17 17:25
Jobs: 220 (26% personal)
Arbitration: 40 (completed in favor of the developer 15%, canceled in favor of the customer 50%)
Overdue: 99 (45%)

Developer 2017.07.17 18:30
Published 2 codes in Library
Jobs: 34 (11% personal)
Arbitration: 9 (completed in favor of the developer 22%, canceled in favor of the customer 66%)
Overdue: 10 (29%)

Developer 2017.07.17 16:13
Jobs: 61 (29% personal)
Arbitration: 7 (completed in favor of the developer 0%, canceled in favor of the customer 85%)
Overdue: 14 (22%)
To add comments, please log in or register