Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
Using the Super Trend Hull indicator, when the line changes color to Aqua (buy) and to Magenta (sell). Going to be using 2 different time frames for trading. The higher timeframe will be known as the “Master Trend Direction”. The lower timeframe will be known as “Slave Trend Direction” and will be used for entry signals. Signals on the “Slave Trend Direction” will ONLY enter trades in the same direction as the “Master Trend Direction”. When using start hour, have input option to enter trade right away or wait for next signal. Exit of the trades will be managed by either the “Master Trend Direction”, “Slave Trend Direction”, Trailing Stop or Breakeven Stop.
The coding of this EA must be written in a manner that will allow me to change indicator being used. So if I want to use another indicator, say “Heiken Ashi smoothed oscillator”, I should be able to update the EA with a minimum set of fields in order for the EA to still work with the new indicator. Instruction for how to change the indicator for the EA to use must be provided.
Here
are the master inputs I want included in the EA for this indicator and any other indicator:
///----Signal
Inputs ----//
---Signal
1 (Master Trend Direction)---
Trade Signal Mode = During Candle / Close of Candle
Timeframe:
"X"
Inputs of the Indicator
---Signal
2 (Slave Trend Direction)---
Trade Signal Mode = During Candle / Close of Candle
Timeframe:
"X"
Inputs of the Indicator
//----Trade
Entry & Exit Management ----
Min Margin Level % for Additional Trade Entry: #
Allow Multiple trades per candle or only single trade per candle: Multiple / Single
//---- Time Properties ---//
Use Time
Properties: True / False
Enter trade at start time or wait for next signal: Start Time / Next
Signal
Start
Hour: #
Start Minute: #
Stop Hour: #
Stop
Minute: #
Close All trades on Friday Close: True / False
Friday
Stop Hour: #
Friday Stop Minute: #
//----Money
Management --//
Volume Type: Fixed Lot / % of Equity
Volume
Value: # (allow for decimals)
Target Daily Profits in ticks (0 = off): #
Target Daily Losses in ticks (0 = off): #
Max
Number of open positions (0=off): #
//---
Stop Parameters --- //
Close on Opposite Signal from Master Signal: True / False
Close
on Opposite Signal from Slave Signal: True / False
Take Profit (ticks, 0=off): #
Stop Loss (ticks,
0=off): #
Trail Start (ticks, 0=off): #
Trail
Distance (ticks, 0=off): #
Trail Step (ticks, 0=off): #
Break
Even Start (ticks, 0=off): #
Break Even Value (ticks, 0=off): #
Indicators mentioned are attached.