仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
I have an idea to EA that I want to test.
The trading robots will work on all time parameters within mt4.
Entry
first find trend
ex. pending buy order
http://forextradingstrategies4u.com/wp-content/uploads/2016/04/breakout-of-low-or-high-indicates-the-start-of-a-new-forex-trend.png
- scan Higher high [1] Higher high [2] Higher high [3] Higher low [1] Higher low [2] Higher low [3]
- draw trend line
wait reversal candlestick in number 3 near trend line Higher low [3] [picture 5]
when end reversal candlestick pending order
if Higher low [3] have reversal candlestick and near trend line pending order buy
if Higher high [3] have reversal candlestick and near trend line pending order sell
=======================
Exit
Options needed
- TP value
TP Value options
- Fixed Pips
-% of account balance
- Ratio of Stop Loss 'N' (this is if the pip profit is N times the SL pip count)
SL (with Offset in settings )
- Fixed Pips
- extreme of previous candle (Low for Buy order and High for Sell order)
Lot sizing
- Risk % of account balance (calculate lot size with the percentage and default to 0.01 (0.02 if partial close is enabled)
- Fixed Lot size
Break Even - Break even type (pips or % of account profit) - value 0 in both values below will disable the options
- Break Even Pips (at what Pips to move SL to Break Even)
- Lock in pips for Break Even (to cover for commission and swap ) user defined pip count
Trailing Stop
- Trail start after Break Even - True/False (trailing only starts after Break Even hits)
- Trail Type (Pips or Candle) - trailing will only trigger once the position goes in profit
- Trail Pips (pips to trail from current price)
(If candle is chosen then trailing should be based on the Lowest low of the previous Trail Step candles for a buy order and the highest high of previous Trail Step candle for a sell order)
- Trail Step (candles to wait before moving trail to next level or Candles to check for Lowest low or highest high for Candle based trailing)
Partial Close (50% only) - value 0 in both values below will disable the options
- Partial Close at Pips
- Ratio of Stop Loss 'N' (this is if the pip profit is N times the SL pip count)
News Filter (disable making new entries during news) - True or False
if True
- Close Positions in Profit (if in Min Profit or in Pips provided in user setting) - True or False
- Min Profit to close positons (value in pips)
- Move SL to Max SL (Move SL of losing positons to a MaxSL value if the current stop loss is greate than Max SL value - True/False
- Max SL
News
- do not enter any new trades during news
- Time before news (in minutes) - not to trade
- Time after news (in minutes) - not to trade
- Level of news (High, Med, Low) a lower level should include all above levels. eg, if Med is chosen then High and Med type of news should be considered to perform step for news.
· INDICATOR MUST DRAW LINE LIKE TRAILING PROTECTING STOP LOSS LINE
· INDICATOR WILL MUST SHOWING STOP LOSS AREA WITH RACTANGLE