工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
MT4 Robot
1. Signal Generating Strategy
When the 20 & 50 SAM come within 7 pips price range and
The actual price comes and touches the any of the lines or comes within the 6 pips price range of 20 or 50 SAM and
Then the candle that closes on the top or bottom of both of these lines,
The bull candle the price must close on the top 25% of the candle
The bear candle the price must close on the bottom 25% of the candle
When all of this setup has happened then the robot should get ready to take a trade
2. Time frame
15 minutes default
Need a setting to be able to change the time frame
2. Entry Point:
Bull candle 1 pip above the signal candle
Beer candle 1pip below the signal candle
#Referring to the candle that was used to generate the signal
The robot should automatically open the position soon as it hits the entry price
3. Stop Loss:
Bull candle 1 pip below the signal candle
Beer candle 1pip above the signal candle
Minimum stop loss 4 pips from entry point
#Referring to the candle that was used to generate the signal
4. Take Profit:
Two and half times the candle that was used to generate the signal
Example: the candle that was used was 10 Pip from the top to the bottom or bottom to the top
Then take profit should be 25pip (10 x 2.5 = 25)
5. Ignore and cancel signal
If a signal has been generated from a candle
And the Enter prise has not hit by the closed of the next 2 candles then this order should be cancelled
5.1 if the stop loss is 30 pips or more,
Then the signal should not be traded as default
(Stop Loss 30 pips or more,
This signal should be ignored).
Need a setting to be able to change this
5. Currency Pairs:
The robot should simultaneously scan 7 Currency Pairs
According to the time frame it has been setted up for
The Different Currency Pairs
EUR/USD
GBP/USD
AUD/USD
NZD/USD
USD/JPY
EUR/JPY
GBP/JPY
Need a setting to be able to change the pairs
6. Lot Size:
Default settings 0.01
Need a setting to be able to change the lot size
7. Maximum Petition:
Maximum positions Robot will trade
Default settings
Maximum positions 5
Need a setting to be able to change the Maximum positions more or less petitions cleaning positions
8. I need the source code