Техническое задание
- When conditions are met to enter a trade, I would like the Expert Advisor to create 2 separate orders. The first order to have a fixed stop loss and take profit. The second order to have a fixed stop loss, but no take profit, rather for the trade to be exited when the exit conditions are met. When the first order hits the take profit, I would like the stop loss of the second order to move to break-even.
Buy Trade (Entry conditions)
Buy only if ALL the below conditions apply
1- MA indicator must be in an upbuffer;
2- HMA indicator must be in an upbuffer; and
3- The accelerator oscillator needs to be in an upbuffer and must be above 0
Close buy trade
Close upon any or all the below conditions apply:
1. MA indicator is in a downbuffer zone;
2. HMA indicator is in a downbuffer zone; and/or
3. The accelerator Oscillator is in downbuffer below 0
Sell Trade (Entry Conditions)
Sell only if ALL the below conditions apply
1. MA indicator must be in a downbuffer zone;
2. HMA indicator must be in a downbuffer zone; and
3. The accelerator oscillator needs to be in a downbuffer zone below 0
Close sell trade
Close upon any of all the below conditions apply:
1- MA indicator must be in upbuffer zone;
2- HMA indicator must be in upbuffer zone; and/or
3- The accelerator oscillator is in an upbuffer zone above 0
Indicators
1- Accelerator Oscillator (Parameters below)
* PeriodF – value 5/PeriodS – Value 10/Period SAC Value 7/MA Type – Simple (SMA)/Apply to price - Close
2- MA (Parameters below)
· MA_Period – Value 55
· MA_Type – EMA
· Apply to price – (High+low)/2
· HShift – Value 0
· Vshift – Value 0
3- HMA (Parameters below)
· Period – Value 14