작업 종료됨
명시
This EA is to be the simple moving average cross over, when the fast moving average crosses over the top of the slow moving average then a buy will be initiated and when the fast moving average crosses under the slow moving average then a sell will be initiated.
The two rules for getting out of a trade are, 1. The fast moving average crosses going the opposite direction and 2. Hits stop-loss or the take profit.
There is to be only one trade per cross. After I have gotten out of a trade for what ever reason the fast moving average must cross the slow moving average again in order to put me in an other trade
The stop loss will be placed at the value of what I put in the property box or the highest or lowest of the last developed candlestick dependent on whether it is a buy or a sell trade.
The stop-loss would move upon the completion of the next candlestick or two depending on the number you used in trail by number of candle sticks which is set in the property box for “Trail by number of candles”
The stop-loss is to never move backwards (against me).
The stop loss needs to move a minimum of x pips or wait until the minimum is reached and the number of periods has been reached.
I need to be able to select trail by 1 candle stick or 2 candle sticks.
Example: sell trade, trail by 1 candle stick, minimum movement of stop-loss 5 pips, stop loss 20 pips
I got into a sell trade the stop loss was set at the top of the previous candle stick wick because this was closer to the entry price than the amount I put in the property box for stop loss.
Upon completion of the next candle stick the amount the stop loss would move would be 3 pips this includes the tail there is to be no movement because there is a minimum movement requirement of 5 pips. We will call this candle stick A.
Candle stick B completely develops and there is still less them 5 pips of movement to the highest point of the last candle stick developed. Once again the stop-loss remains where it was.
Candle stick C completely develops and there is a 7 pip distance between the stop loss and highest point of the candles stick B the stop-loss moves to the highest point of candle stick B because it is trailing by 1 candle stick.
In this example had we been trailing by 2 candle sticks the stop- loss would still not move because there would be less than 5 pips of required movement and there are not enough candle sticks for the stop-loss to move candle stick D needs to be completed which would put the stop-loss at the highest point of candle stick B.
Also if we were trailing be 2 candle sticks the stop-loss would initially still be at the highest part of candle stick A because that is closer to the entry point than the number of pips in the property box.
If this had been a buy trade the exact opposite applies.
If I am in a trade when the trading times expire I want the ea to continue to work until the trade either hits the stop-loss or take profit or the moving averages cross going the other direction. But does not enter any other trades until the time is correct.
This EA needs to work on all pairs and time frames.
This EA needs to work on demo and live 5 digit account
I would like to be able to trade multiple currencies at a time.
I would like a green arrow where a buy was made and a red arrow where a sell was made
In the object box I would like to have the trade number of the trade that represents the arrow
Property box settings (editable items)
Trading times according to my computers time
Fast moving average
Slow moving average
Take profit
Stop-loss
Minimum movement of stop-loss in pips
Trail by number of candles 1 or 2