Работа завершена
Техническое задание
Summery of stratagey
It checks in 15m chart.
against previous candle in 15m windows
Start is on the hour, then at end of first 15m it checks against the hour, if fail check then it checks the next 15m candle end against the previous one.
The check against previous candle.
Higher high, higher low =buy in 1h chart
Lower, low, lower high =sell in 1h chart
Lower high. Higher low = no trade
Higher high, lower low = no trade
If after the 30min bar in the 15m chart there is no match wait till next start of 1hr window.
if a trade is in place and in profit add trailing stop
Exit strtagey
The position could close to stop loss = loss
The position could close to trailing stop = profit
The position could close to different trend on hour = profit or loss.
Features of EA
Lable also able to turn off or on
Lable to be variable colours allowed so I can change it in EA settings
Ea need to print/show label on chart with the following information.
- Account details
- Equity details
- EA is ON or OFF
- Current position placed if any for example buy ,sell
- in profit or loss of any trade placed
- lot size
- UU or DD or DU or UD please see below. To be cleared and replace on next check if placed.
When the check has taken place, to print a (U) to indicate that the high of current candle is higher than previous, or (D) to say the high of current candle is lower than previose.
Same with lows
For example print (U) To say the low is higher than privios candle or (D) to say its lower.
What you should get then is U U for uptrend meaning buy.
Or D D for down trend meaning sell.
Or U D meaning not trade
Or D U meaning no trade.
This helps me manually check the logic of the trade to see if correct.
Trailing Stop loss variable point away also able to turn off or on
to be added when in profit.
Stop loss variable points away also able to turn off or on
Conditions
To start if buy, stop loss is on the previous candle low in 1hr chart.
Or if sell, stop loss to be on the previous candles high in 1hr chart as this is the trading chart I will be using.
Take profit variable also allow to turn off or on
ARROW for buy and sell shown on chart, variable colours allowed
X for close of trade shown on chart for both buy and sell, variable colours allowed
Lots size to be determined buy money management.
Trading times 8am to 5pm variable allowed to change in settings