Search
Products
Community
Markets
News
Brokers
More
IN
Get started
Community
/
Ideas
/
BTCUSD бесплатный индикатор уровней
Bitcoin / TetherUS
Education
BTCUSD бесплатный индикатор уровней
By ErjanHayek
Follow
Follow
Updated
Feb 17, 2020
1
5
8
8
Feb 15, 2020
Написал скрипт индикатора на основе идеи вычисления средних значений цены.
Копируйте и вставляйте в свой скрипт индикатора:
//
version
=4
study("MIN MAX and Average", overlay=true)
biggest(series) =>
max = 0.0
max := nz(max[1], series)
if series > max
max := series
max
max
smallest(series) =>
min = 0.0
min := nz(min[1], series)
if series < min
min := series
min
min
//Average sell prices
averageAT = (biggest(close)+smallest(close))/2
average_sell_1 = (averageAT+biggest(close))/2
average_sell_2_1 = (average_sell_1+biggest(close))/2
average_sell_2_2 = (average_sell_1+averageAT)/2
//Average buy prices
average_buy_1 = (averageAT+smallest(close))/2
average_buy_2_1 = (averageAT+average_buy_1)/2
average_buy_2_2 = (average_buy_1+smallest(close))/2
plot(biggest(close), color=color.red, title="All time max", transp=0, linewidth=2, trackprice=true)
plot(smallest(close), color=color.green, title="All time low", transp=0, linewidth=2, trackprice=true)
plot(averageAT, color=color.orange, title="All time average", transp=0, linewidth=2, trackprice=true)
plot(average_sell_1, color=color.purple, title="avg sell 1", transp=0, linewidth=2, trackprice=true)
plot(average_sell_2_1, color=color.fuchsia, title="avg sell 2_1", transp=0, linewidth=2, trackprice=true)
plot(average_sell_2_2, color=color.fuchsia, title="avg sell 2_2", transp=0, linewidth=2, trackprice=true)
plot(average_buy_1, color=color.lime, title="avg buy 1", transp=0, linewidth=2, trackprice=true)
plot(average_buy_2_1, color=color.lime, title="avg buy 2_1", transp=0, linewidth=2, trackprice=true)
plot(average_buy_2_2, color=color.lime, title="avg buy 2_2", transp=0, linewidth=2, trackprice=true)
Feb 17, 2020
Note
Шкалу индикатора что слева необходимо объединить с той что справа
Feb 17, 2020
Note
//
version
=4
//Author ErjanHayek
study("MIN MAX and Average", overlay=true)
biggest(series) =>
max = 0.0
max := nz(max[1], series)
if series > max
max := series
max
max
smallest(series) =>
min = 0.0
min := nz(min[1], series)
if series < min
min := series
min
min
//Average sell prices
averageAT = (biggest(close)+smallest(close))/2
average_sell_1 = (averageAT+biggest(close))/2
average_sell_2_1 = (average_sell_1+biggest(close))/2
average_sell_2_2 = (average_sell_1+averageAT)/2
//Average buy prices
average_buy_1 = (averageAT+smallest(close))/2
average_buy_2_1 = (averageAT+average_buy_1)/2
average_buy_2_2 = (average_buy_1+smallest(close))/2
plot(biggest(close), color=color.red, title="All time max", transp=0, linewidth=2, trackprice=true)
plot(smallest(close), color=color.green, title="All time low", transp=0, linewidth=2, trackprice=true)
plot(averageAT, color=color.orange, title="All time average", transp=0, linewidth=2, trackprice=true)
plot(average_sell_1, color=color.purple, title="avg sell 1", transp=0, linewidth=2, trackprice=true)
plot(average_sell_2_1, color=color.fuchsia, title="avg sell 2_1", transp=0, linewidth=2, trackprice=true)
plot(average_sell_2_2, color=color.fuchsia, title="avg sell 2_2", transp=0, linewidth=2, trackprice=true)
plot(average_buy_1, color=color.lime, title="avg buy 1", transp=0, linewidth=2, trackprice=true)
plot(average_buy_2_1, color=color.lime, title="avg buy 2_1", transp=0, linewidth=2, trackprice=true)
plot(average_buy_2_2, color=color.lime, title="avg buy 2_2", transp=0, linewidth=2, trackprice=true)
averageprice
Technical Indicators
ranges
уровни
ErjanHayek
Follow
Related publications
Simple strategy BTC/USD
by ErjanHayek
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the
Terms of Use
.