İş tamamlandı
İş Gereklilikleri
I need an EA based on fisher and BBands indicators (mql files are attached).
Opening a BUY position:
- Candle closes, BB shows a "blue dot" and the Fischer is turned "green".
SL = "blue dot" + X (where X is external variable to enter number of pips to further setup the SL. Default is 0) and it follows the BB
TP = external variable which will set a TP if value is entered otherwise TP will not be used.
If position is open and SL and/or TP values are entered/removed/changed the position should update its TP/SL on next tick.
Opening a SELL position:
- Candle closes, BB shows a "yellow dot" and the Fischer is turned "red".
SL = "red dot" + X (where X is external variable to enter number of pips to further setup the SL. Default is 0) and it follows the BB
TP = external variable which will set a TP if value is entered otherwise TP will not be used.
If position is open and SL and/or TP values are entered/removed/changed the position should update its TP/SL on next tick.
Before opening a position EA should check if last opposite position is closed.
If not it should close it and only then open new position.
It can happen that the BB shows BUY or SELL signal but Fisher still not. In this case wait until Fischer confirms
and enter:
- immediately when candle opens and Fischer changed to confirm the entry
- after the candle in which Fisher confirmed completes and on the next candle, that just opened, Fischer is still confirming.
This two options should be selectable in parameters (Example: 0-immediatelly; 1-after candle completes. Default is 1)
It can also happen that BB gives a new signal and Fischer is already confirming the same signal. In this case I need
an external variable which has to be true to enter a position. (Example: FischerThenBBEntry = true/false. Default is false)
Closing a position:
Other than hitting the SL or TP (if TP is entered) the trade should close if opposite Fischer is detected.
That means a BUY position will close immediately if Fischer turns "red" and SELL position will close immediately if
Fischer turns "green".
Managing position Option 2:
- Use NoLoss (bool) If "True" when position profit = NoLoss pips move TP to ensure profit of NoLossTP (Example: Current profit reaches 20 pips, move SL to ensure 5 pips profit)
When (or if) SL moves with BB to ensure even more profit (passes NoLoss SL) then continue to follow BB SL.
- NoLoss (Default 20 Pips)
- NoLossTP (Default 5 Pips)
Money Management to enter a number between 1-100. It should give something like:
value is 1 and EA will open 0.01 lot on an account from 0-200. On 200 it starts to open 0.02 on 300 open 0.03 etc.
value is 2 and EA will open 0.02 lot on an account from 0-200. On 200 it starts to open 0.03 on 300 open 0.04 etc.
I'm flexible here, just need some kind of MM for testing.
I also need an option to turn off MM and enter lot size manually.
Other external variables:
-Magic number
-Comment
Overlay with some basic info about the position (profit in pips and currency, max DD in pips) etc.
I leave it up to you.
EA should work on all pairs and all decimals 2/3 and 4/5 and all timeframes.
It should check and process possible errors in trading operations.
Code should be fairly commented and I expect to get .mql4 and .mql5 files.