작업 종료됨
명시
I want an EA that enters and manages trades using the 1-hour chart.
I want to toggle and select for which of the 24 hours of that day the EA should look for signals and enter a trade.
I’m imagining a toggle like this:
▢ 00:00 |
▢ 01:00 |
▢ 02:00 |
▢ 03:00 |
▢ 04:00 |
▢ 05:00 |
▢ 06:00 |
▢ 07:00 |
▢ 08:00 |
▢ 09:00 |
▢ 10:00 |
▢ 11:00 |
X 12:00 |
▢ 13:00 |
▢ 14:00 |
▢ 15:00 |
▢ 16:00 |
▢ 17:00 |
▢ 18:00 |
▢ 19:00 |
▢ 20:00 |
▢ 21:00 |
▢ 22:00 |
▢ 23:00 |
For hours that are selected: On that hour(say, 12:00), the robot should check if the previous hour’s candle (11:00) touched or crossed one or more prices, defined by two instances of MT4’s Fibonacci Retracement tool. The Daily chart will look as follows. Though each Fibonacci tool contains four prices, there will be max seven prices, because one is shared between the two Fibonacci retracement drawings.
Once the EA determines which is the most recent price that has been crossed, it should enter pending trades (with SL and TP) based on another set of inputs from the user. For each of the maximum 7 prices, the user determines whether signals are entered long, short, or not at all.
Retracement1 |
Retracement2 |
||
FibPrice1 |
SELL |
FibPrice1 |
SELL |
FibPrice2 |
OFF |
FibPrice2 |
BUY |
FibPrice3 |
SELL |
FibPrice3 |
OFF |
FibPrice4 |
BUY |
For example, if FibPice1 from Retracement2 was violated during the 11:00 candle, per our example (at 12:00), the EA will enter a pending SELL order at FibPrice1.
Trade Size
Trade size should also be determined by the user and dependent on the stop-loss/risk of the trade. The calculation and interface should model this