TradingView
tugskh9w
2021년 12월 24일 오전 5시 40분

[mdeacey] EMA% Channel + BB Range Strategy 

ETHUSDT SPOTBybit

설명

This strategy is based off the users selection of an EMA and percentage defined channel. The strategy longs when a red "reversal candle" (that exceeds the averages of 3 and 9 above the EMA 3) is found until such time that either the price goes outside the Bollinger Band or the green reversal candle is found. The same but opposite process for shorts. If the price begins trending and moves outside the channel all trades are exited to prevent loss.

For trending markets the sister strategy ("[mdeacey] EMA% Channel + Bollinger Band Trending Strategy") should instead be used.
tradingview.com/script/qXxWAtJy-mdeacey-EMA-Channel-Bollinger-Band-Trending-Strategy

The obvious fallback to this strategy is that:
- If the bands are too wide we don't have a good definition of trending vs ranging and the price can move up/down significantly and trend whilst remaining within the ranging channel. We try to mitigate this through use of a stoploss defined by ATR and a pretty tight channel. This is a tightrope exercise as making the percentage channels tighter misses earlier entries in optimal cases. Change the parameters to find an EMA and percentages to find the best R/R in your case.

Potential further iteration:
- It would be good to see if the R/R changes positively if we only allow shorts above the EMA and longs below it.

All options are configurable and code open source. Happy trading!

릴리즈 노트

Update:
- Now only allowing shorts above the EMA and longs below it. R/R increased!

릴리즈 노트

Strategy now includes the use of glaz's "RSI Candles" indicator (tradingview.com/script/RADlhsKE-RSI-Candles/). The basis for including this indicator into the strategy is to delay position entries if red/green RSI candles are found with the hope to remove entries that ride the bollinger band and end up getting stopped out - decreasing the total number of trades but increasing both profitability and rate of return. This update also closes trades when the opposite bollinger band is crossed on close as I noticed this causing a number of entries to be closed too early in their move.
코멘트
Saudia100
Hello my honorable teacher
Thank you for your wonderful effort.. and I have a small request, please. I want to help me write a buying and selling strategy that states the following
Access

1/ The volume is greater than the last 3 bars or candles
2/ The candle is the largest average of 7 exponential (break it)
3/ MACD gave a positive crossover (MACD the fast line is greater than the slow)
4/rsi is greater than the 50th line
5/ If the candle broke out at a price higher than the closing price of the previous candle

Exit
It is the negative crossover of the downside stochastic with settings 25/k4/d2
If possible, there is a possibility to change the settings

stop loss
It is about 5% and it is moving. Every time the price rises, the stop will rise and never go down

And if it is possible to draw on the chart the entry and exit signal and draw the stop loss in the form of a moving line

Waiting for your kind reply
Thank you for your effort
tugskh9w
Hi there @Saudia100,
I'm willing to code this up for you for 0.25ETH. Let me know – DM's are open.
더보기