TradingView
fract
1 ago 2022 13:58

Refracted EMA 

Bitcoin / United States DollarCoinbase

Descrizione

Refracted EMA is a price based indicator with bands that is built on moving average.
The price range between the bands directly depends on relationship of Average True Range to Moving Average. This gives us very valuable variable constant that changes with the market moves.
So the bands expand and contract due to changes in volatility of the market, which makes this tool very flexible exposing psychological levels.

Note di rilascio

Small change in formula to increase graphic representation of Volatility

Note di rilascio

Added more bands

Note di rilascio

High Low levels
TF based Support and Resistance

Note di rilascio

Removed unnecessary lines

Note di rilascio

Increased responsiveness of bands

Note di rilascio

UPD: Main EMA colors denote the direction of the trend

Note di rilascio

UPD:
⚠️ Now the indicator is based exceptionally on Buying & Selling Pressure instead of ATR.
This means that when price goes up the buying pressure determines the width of the upper "hot color" channels, whereas selling pressure set the width of lower "cold color" channels on decline.[/b
Added bool. Color of Original EMA also depends on Buying and Selling Pressure and price change.

Note di rilascio

Fixed default settings upon update.

Note di rilascio

Added VWAP based bar colors which plays a role of another layer of visualized confirmation.

Note di rilascio

UPDATE: Eliminated VWAP and changed design.

Note di rilascio

Redesign of BG Trending colors. Fast MA carries a signal that colors bars. It should be at least twice less than inputs of Base EMA. I usually use same values of BSP and Base EMA.
If you want to use higher values, say 360 for BASE EMA and BSP, then you must increase proportionally the input of Fast EMA and and set Factor accordingly.
If you have no idea what's BSP, please go to my scrips and find "Buying & Selling Pressure" or just add it to the chart.

Note di rilascio

Had to remove Bar Coloring. It's a crime against trading.
Added extended lines of the bands and highlights of Buying and Selling Pressure relationship. They can also create intersections which determine levels of market conditions.
Added historic Traces within our system.

Note di rilascio

Highlights Color grouped.

Note di rilascio

Altered conditions of firing the highlights

Note di rilascio

LT version update:
Fixed once for all background highlight signals by incorporating NET BSP.
Now we have signals based on change of NET BSP and EMA. 2 confirming trend different instruments.

Note di rilascio

  • Fixing my silly mistake on wicks. (facepalm)
  • incorporated ST based on BSP.

Note di rilascio

Added no wick mode. Where certain wicks depending on whether we're dealing with Buying or Selling Pressure.
In this mode bands shrink and expand faster in correlation to trend condition.
When we're at uptrend cold color zones shrink faster while hot color zones expand according to candle metrics.

Note di rilascio

In this update I added a switch to the following visual tools inside FREMA:

Zones: (Horizontal areas filled):

Highlights: (Vertical timing of trades):

Traces (Tracks price movements inside different zones separately):

Note di rilascio

  • Changed default formula of bands
  • Rearranged user inputs

Note di rilascio

Update:
  • Ability to alter the averaging of buying/selling pressure and their factors separately
  • Assigning custom ranges enables targeting certain trend conditions

Default for both:
Averaging: 10
Factor: 3
I do not suggest changing the average BP & SP. Let them be 10.
However, by setting the factor of BP lower than of SP will force the trade to close at higher levels. It is suitable when strategy is Open Long/Close Long oriented.

Note di rilascio

  1. Now we have second source of signals + alerts "FR" (shorter term signals relative to ST)
  2. Bands are extra smoothed even in geometric mode

Note di rilascio

Added:
Bool "Invert BSP"
Assigns inverted Buying and Selling Pressure for SuperTrend bands. When enabled it closes positions faster.


Bool "Dynamic Factor"
Example: For non-inverted BSP, the bullish band of SuperTrend will have values of (BPMA X BPMA / SPMA). When inverted - SPMA*SPMA/BPMA.
Extra multiplication with that ratio gives the supertrend band an adjustment to the existing proportion of Buying and Selling Pressure of the market.

Use Dynamic Factor with default inputs of (10; 3) for each 1 raws.

When both "Invert BSP" and "Dynamic factor" are enabled:

Position Entry and Position Close are timed with the proportions of Candle Metrics.
Both are off in default mode
Commenti
gb50k
Thanks for sharing your work!
fract
@gb50k, Thanks Man!!!
JDoy24
Version before you update
**เวอร์ชั่นก่อนหน้าที่คุณจะอัพเดท**

EMA 100
......... 3.14
.
.
BUY 🟢
SALE 🔴
OVERBOUGHT 🟠
OVERSOLD
RESISTANCE
SUPPORT 🟣
JDoy24
@fract I can't remember much details.
fract
JDoy24
@fract,. yes old version that can be customized and I can't send you pictures.
fract
@JDoy24, click on source code and you will be able to choose the version of indi in the bottom where pine editor is.
fract
@fract, you were right btw. With older version I can set specific lines I want. So unnecessary lines can be ticked off to get this:
JDoy24
@fract, i want this version ฉันอยากได้เวอร์ชั่นนี้ เเต่ฉันไม่สามารถทำได้
fract
@JDoy24, add indi and click on {} then you will be able to choose version lower in pine editor
Altro