StreamLine Stoch RSI Pending
Grid Expert Advisor based on the Stochastic + RSI indicators.
All distances in the indicator are set as a multiple of the ATR volatility indicator or as a fixed distance in Pips.
Two (2) conditions must be met to place orders:
- (RSI) : When a closed candle is oversold.
- (Stochastic): The main value is greater than Signal value on the open candle.
- (RSI) : When a closed candle is overbought.
- (Stochastic): The main value is less than Signal value on the open candle.
The indicator values are displayed on the screen as lines with the color corresponding to the signal.
Orders are placed at the "Distance pending" distance from the current price.
If the price moves away from the pending order, the order is trailed after the price at a distance set in "Distance pending".
If a pending order triggers and the price moves in the unprofitable direction while a new signal from the RSI and Stochastic indicators arrives, the next pending order of the grid is placed at the distance not closer than "Distance between Orders" from the nearest grid order and not closer than "Distance pending" to the current price.
The lot size of subsequent orders can be modified using the Martingale multiplier to the previously opened grid order. To disable the lot increase function, set Martingale=1.
If the current price passes the total breakeven of the series into the profit by the "Signal to Start Tralling SL (Dist.)" distance, then StopLoss is set to each order of the grid at the "Distance Tralling SL" distance from the current price. This means that StopLoss will be shared and the grid will close at the same time.
Then StopLoss is trailed after the price at the distance of "Distance Tralling SL", thus increasing the total profit of deals.
This strategy does not use take profit, since it limits the profit in case it grows.
The EA uses horizontal lines on the chart to mark: grid breakeven price, price for opening the next pending order, price to place that order, price to activate the StopLoss setting and trailing function, StopLoss price.
Designation of horizontal labels of different colors on the chart:
- grid breakeven price
- price for opening the next pending order
- price to place that (next pending) order
- price to activate the StopLoss setting and trailing function
- StopLoss price
The EA includes the "Check Instrument (e.g. Currency)" function, which protects the deposit from overloading by opening unidirectional grids on each of the trading instruments that are in the relevant Buy/Sell status.
There is an open "Buy" trade on "USDCHF". This means that opening only Sell grids is allowed on "CADCHF" with the Buy grids prohibited, since CHF is sold in the first grid and bought in the second.
It is recommended to disable this function when trading instrument that consist of a single currency.
The AlertError and PushError settings enable sending terminal alerts and push-notifications to a mobile terminal when there are malfunctions in the EA operation.