Specification
1. This EA or tool mainly works with the Stoch crossing (is when both Stoch lines start moving towards each other at the peak of a cycle. (explained below).
2. It is a relatively easy tool, mainly using Stoch. For a sideways moving market, it uses the Stoch middle band, and for a market going up, the upper band, versus the lower band of the Stoch for a market going down. All explained below.
3. Trading mainly takes place on M15 but would be great to able to use this tool on any timeframe and any currency pair (but the priority for now is XAUUSD). Sideways moving market: when Stoch turns below 25 or above 75 (setpoints) take relevant counter positions. Trading takes place the next time the Stoch distance will be open for 90% (setpoint) the same as during the previous candle stick, the position will close and new counter positions will be opened or when both stoch lines cross (whichever comes first). This needs to happen ONLY if the previous, when both Stoch lines start moving towards each other (as mentioned above closing positions when Stoch lines start moving towards each other always means the above way) on the other side of the middle line was below (setpoint) 28 points or above 72 points during the last x (setpoint) candlesticks.
4. Closing positions: at the same time as opening new positions as mentioned above.
5. A.1 Trend determination via Stoch: regarding the Trend and trading strategies during a particular trend.
I believe that there is a specific trend when the point just before the main line and single Stoch line start moving towards each other is not crossing x points (setpoint for downtrend is 64 points), (setpoint for uptrend trend is 36 points) or that a powerful up or downtrend has started when We stop taking positions (against the trend or completely regarding this strategy -setpoint) including martingale for the open positions.
And other important trend change indicator up or down trend is when the change in the Moving average (5) in between 2 candlesticks is more than 250 points (setpoint). We use both of the above indicators which ever one is first and for this one we wait at least 6 candlesticks (setpoint) to have determine if the trend has changed Unless we notice via the Moving average indicator (5) a reverse trend change or via the above that mentioned Stoch way a trend change. Regarding closing those positions, please see 6B.
A 2 Trend determination via line crossing: Optional setpoint to use A1, A2 or both combined (if combined only A1 will tell when there is a sideways trend) Confirming up or down trend: I would like the up or down trend as mentioned above always to be confirmed the following way: n M15, 5EMA crosses 48SMA mark the start of trend. Cross up is uptrend. Cross down is down. Also, this needs to confirms clearly if an uptrend or downtrend has finished. This method is simply about the end of a up or downtrend. If both confirm, it is certain. If only one confirms, If this method must confirm the up/downtrend change as mentioned in A first.
If using only this A2 trend determination strategy, there is no sideways so the trading must only be as an upward or downward trend.
B. Closing positions that are against the trend: at the moment this above-mentioned point (6A1) has been reached (exception) positions that need to be closed by the first line of the Stoch – separate setpoints for both up and down trend, we believe that the trend has changed and we want to close all maybe losing positions that go against this trend and at the same time we want to open (a) trend positive position(s).
C. Trend Change one: at the moment the Stoch point just before both lines cross (is where they start moving towards each other again) is again out of the trend as set above in A, we believe that the trend is changing to sideways. We open at this moment new positions as mentioned in 4 and close all open positions the next time Stoch Crosses on the other side of the bandwidth. If it does not reach the other side of the bandwidth because the trend has changed the other way/reversed, we close the newly opened positions anyway, also close the older positions opened at B and open new positions that are going with the new trend the other way as set in A.
Other trend change indicator (option to use this one too or not): If the main Stoch line goes from 26 till 74 in 6 candle sticks or less (setpoint), the trend has changed. There is no longer a up or downtrend (and we simply trade as mentioned in point 2) until the first Stoch line doesn’t move much (is less than 6 points in Stoch during 2 candle sticks - both are setpoints) This indicates another up/down trend is the keeping open of the relevant positions unless the Stoch lines crosses the setpoints as mentioned above in A.
D. Stoploss for open positions (from a previous trend that are in a big loss): Please make setpoint on the Stoch bandwidth called closing positions that are against trend between x points upper and x points lower band on a market going up and the same for a market going down or at a loss of x points (setpoint stoploss).
6. Other additional trading strategy number 2 with setpoint (to use this strategy alone, only the above strategy or both together), and to use this strategy in all market conditions, sideways market only: We take a position in M15 when the price is above the Fibonacci line (setpoint position size) of the M15 Bolinger (or below). (BB24, Deviation 3.0. Levels 0.618 and - 0.618) When above we go short and below we go long and we close it when it hits the 24sma line WHEN NOT SUPPORTED BY STOCH OR IN A COUNTER TREND AND HAS REACHED THE END OF THE CANDLE (DURIN OPENING), OTHERWISE WE CLOSE IT BY WHEN BOTH STOCH LINES START MOVING TOWARDS EACH OTHER ABOVE 64 (SETPOINT OR BELOW 36 (SETPOINT (WHEN IT WAS SUPPORTED). For those riskier positions (not supported by Stoch) we use a separate stoploss that we can set.
If this positions from point hits the outer Bollinger band or x points from it (setpoint) and supported by Stoch (setpoint number of points is not reached), double – martingale (setpoint) (if still out of the line) close those with Stoch and as a first stop-loss the middle band.
If not supported by Stoch a single extra martingale position (optional – setpoint). Those positions are pending until the market comes back in.
Stop loss for all positions is trend change + negative Stoch.
Single position is Fibonacci line without support, double is Bollinger line without support, triple is combined with Stoch or the Stoch position is separate.
We stop taking any more positions (against the trend or completely regarding this strategy -setpoint) including martingale for the open positions when the change in the Moving Average (5) line in between 2 candlesticks is more than 250 points (setpoint) and wait at least 6 candlesticks (setpoint).
Also, when the market has signalled a (possible) trend change, we don’t take in this strategy counter positions against this in this strategy for 300 minutes (setpoint)
Option for the strategy (setpoint) to during a up or down trend to not trade against the market. Meaning to only take short positions during a down trend and vice versa.
7. Martingale is x points (setpoint) from the original taking of the position, we open another position of 50%, 100%, 150%, 200%, 300%, 400%, 600% of the size of the original position. Requirement, the previous countermove did not take more than X candlesticks (setpoint use 6)
Please allow for max 2 additional positions to be taken in Martingale
Please allow for the second Martingale to be the largest (% to be set separately).
8. Need to be able to set the position size as in my previous tool. Let’s say 0.01 lot position per 25, 50, 75, 100, 125, 150, 175, 200 usd account balance.
9. Time out after 2 loss trades 4 hours (setpoint) per different strategy.
10. X minutes for market close no opening of new positions of Friday.
11. Stop loss wrong trend
12. Hidden stop loss, optional 40% draw down (set point).
13. No trading of identical currencies at the same time (to spread the risk).
14. Display D1 5EMA, W1 5EMA and MN1 5EMA on the chart