Работа завершена
Техническое задание
Counts (Nos) of preset consecutive candles of the same color type (bullish or bearish)
Then open buy when (Nos) of candles are green (bullish) or sell Red (Bearish).
(e.g. if (Nos) of consecutive candles set to 2 then ea will wait for 2 consecutive Bullish or Bearish candle to close - and open buy or sell at the opening of the third candle.)
(e.g. 2 consecutive bearish candles then ea will open sell at the opening of the 3rd candle)
Length: if Calculate Candle Length set to true: then ea will calculate the length of preset (Nos)of consecutive candle, if reached then ea will reverse the order.
(e.g. if (Nos) of candles set= 2 and length equal to 50, and if there were 2 bearish consecutive candle and their length was = 50 or more then ea will open BUY Instead of normal trading sell in this case, reverse order logic).
1. Time frame = All
2. Currency Pairs = All
3. Magic No:
4. Slippage:
5. Nos of consecutive candle to counts=
6. Calculate Candle length = True/False
(If set to true ea will calculate total length of Nos of consecutive candle if reached opposite trading order will be placed, i.e. if Nos of consecutive candles reached candle length and candles were bullish then ea will place Sell opposite). If set to false then ea will trade normal when consecutive candles were bullish then ea will open Buy.
7. Total Candle Length of selected consecutive candle Nos =
8. Continue trading= True/False
(if set to true, whether take profit is reached or not, ea will continue open trading whenever there is Nos of consecutive candles)
e.g. If two bearish candles then ea will open sell at the opening of the 3rd candle, another two bearish candles again ea will open sell and so on i.e. it can open sell, sell , sell every two bearish candles. If profit reached ea will close profitable orders and continue trading, nonstop.
e.g. two consecutive bearish candles ea will open sell at the opening of the 3rd candle, tp reached at the 4th candle ea will close orders with profit, and again will open sell at the opening of the 5th candle and so on).
e.g. (if set to false, two consecutive bearish candles ea will open sell at the opening of the 3rd candle, tp reached at the 4th candle ea will close orders with profit, and from 4th candle ea will wait for another 2 consecutive candles to be of same type to open new order).
e.g. (two consecutive bearish candles ea will open sell at the opening of the 3rd candle, if another two bearish consecutive candles ea will not open sell again, in this case ea should only on sell, buy, sell, buy…etc.
9. Take Profit = (in $)
10. Starting Lot =
11. Lot Incrimination =
12. Total Orders = (if TP not reached and total order reached then ea will not open any more orders and just wait for TP to be reached).
13. Reverse Trading = True/False
(if True selected, ea will reverse all the above logic, whenever there is e.g. 2 bullish candle ea will open sell instead of buy, reverse trading).
14. Break Even = True/False
(if true selected: this option will be triggered only after total Orders reached, then ea will wait for P/L to become 0 and close all without profit or loss).
15. Display trading info.
This Ea is part of whole strategy and for testing, so I may need to change some options and logic after testing.
After testing and approval, I may require ea to have a button (start – Close)