Раздача Индикатор Объёмов для валютных пар!

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
может поделитесь рабочим
#########################################################################
# BWD_TrendStrengthMeter ToS Study
#
# Author: BigWaveDave
# Version: 1.7
# Release Date: 6/27/14
# Email me with bugs: [email protected]
#
# No guarantees as to accuracy expressed or implied
# Use at your own discretion
#
#
# Usage:
# Run on any chart... best on 2min and 15min charts, however.
#
# Version 1.7 Changes
# ===================
# + Fixed issue with meter not displaying correctly after another TOS update.
#
# Version 1.6 Changes
# ===================
# + Fixed issue with meter not displaying correctly after TOS update.
#
#
# Version 1.5 Changes
# ===================
# + Added another settings option to use a fixed color background for the
# ADX value label. Some people had difficulty reading the value
# depending upon their chart background color. Sadly, I've hit a bug
# in TOS and can't make the value editable via the Study Settings. To
# change the fixed background color, you'll need to manually edit the
# RGB values below ADXBkgndValueR, ADXBkgndValueG, and ADXBkgndValueB
#
# Version 1.4 Changes
# ===================
# + Based on excellent suggestions, modifed to draw ADX value background
# in same color as currently active segment.
#
# Version 1.3 Changes
# ===================
# + Optionally turn off then meter to view only the ADX value.
#
# Version 1.2 Changes
# ===================
# + Added display of ADX value option.
#
# Version 1.1 Changes
# ===================
# + Fixed logic error causing dropped segments.
#
# Version 1.0 Changes
# ===================
# + Initial release. Feedback requested.
#
#
#


input length = 14;
input ShowADXValue = {DoNotShow, OnLeft, default OnRight};
input DisplayStrengthMeter = {"No", default "Yes"};
input FixedValueBkgndColor = {default "No", "Yes"};


def ADX = DMI(length).ADX;
def DIBull = DIPlus(length);
def DIBear = DIMinus(length);

def BullishTrend = DIBull >= DIBear;

def ShowDigits;

switch (ShowADXValue)
{
case DoNotShow:
ShowDigits = 0;
case OnLeft:
ShowDigits = 1;
case OnRight:
ShowDigits = 2;
}


#if DI+ > DI- then trend is bullish
#if DI- > DI+ then trend is bearish
#if ADI >= 20 then market is trending

def HighlightColor =
if (ADX >= 50) then 51 else
if (ADX >= 40 and ADX < 50) then 51 else
if (ADX >= 30 and ADX < 40) then 102 else
if (ADX >= 20 and ADX < 30) then 153 else
if (ADX >= 10 and ADX < 20) then 204 else
255;


# default background color for ADX value label. Can be changed via study settings
# sadly, I've some sort of color limitation bug in TOS scritping. To change the
# background color, you'll need to modify the RGB values below, which means that
# you unfortunately can't have a different background color for different charts.
def ADXBkgndValueR = 25;
def ADXBkgndValueG = 25;
def ADXBkgndValueB = 25;


AddLabel(FixedValueBkgndColor and ShowDigits == 1, Floor(ADX), CreateColor(ADXBkgndValueR, ADXBkgndValueG, ADXBkgndValueB));

AddLabel(!FixedValueBkgndColor and ShowDigits == 1, Floor(ADX), CreateColor(if !BullishTrend then 255 else HighlightColor, if !BullishTrend then HighlightColor else 255 , 51));

AddLabel(DisplayStrengthMeter and !BullishTrend and (ADX >= 50), " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and !(!BullishTrend and (ADX >= 50)), " ", CreateColor(77, 0, 25));

AddLabel(DisplayStrengthMeter and !BullishTrend and (ADX >= 40 and ADX < 50), " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and !(!BullishTrend and (ADX >= 40 and ADX < 50)), " ", CreateColor(77, 0, 0));

AddLabel(DisplayStrengthMeter and !BullishTrend and (ADX >= 30 and ADX < 40), " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and !(!BullishTrend and (ADX >= 30 and ADX < 40)), " ", CreateColor(77, 25, 0));

AddLabel(DisplayStrengthMeter and !BullishTrend and (ADX >= 20 and ADX < 30), " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and !(!BullishTrend and (ADX >= 20 and ADX < 30)), " ", CreateColor(77, 51, 0));

#
AddLabel(DisplayStrengthMeter and !BullishTrend and (ADX >= 10 and ADX < 20), " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and !(!BullishTrend and (ADX >= 10 and ADX < 20)), " ", CreateColor(77, 77, 0));

AddLabel(DisplayStrengthMeter and ADX < 10, " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and ADX > 10, " ", CreateColor(77, 77, 0));

AddLabel(DisplayStrengthMeter and BullishTrend and (ADX >= 10 and ADX < 20), " ", CreateColor(HighlightColor, 255, 51));
AddLabel(DisplayStrengthMeter and !(BullishTrend and (ADX >= 10 and ADX < 20)), " ", CreateColor(77, 77, 0));
#

AddLabel(DisplayStrengthMeter and BullishTrend and (ADX >= 20 and ADX < 30), " ", CreateColor(HighlightColor, 255, 51));
AddLabel(DisplayStrengthMeter and !(BullishTrend and (ADX >= 20 and ADX < 30)), " ", CreateColor(51, 77, 0));

AddLabel(DisplayStrengthMeter and BullishTrend and (ADX >= 30 and ADX < 40), " ", CreateColor(HighlightColor, 255, 51));
AddLabel(DisplayStrengthMeter and !(BullishTrend and (ADX >= 30 and ADX < 40)), " ", CreateColor(25, 77, 0));

AddLabel(DisplayStrengthMeter and BullishTrend and (ADX >= 40 and ADX < 50), " ", CreateColor(HighlightColor, 255, 51));
AddLabel(DisplayStrengthMeter and !(BullishTrend and (ADX >= 40 and ADX < 50)), " ", CreateColor(0, 77, 0));

AddLabel(DisplayStrengthMeter and BullishTrend and ADX >= 50, " ", CreateColor(HighlightColor, 255, 51));
AddLabel(DisplayStrengthMeter and !(BullishTrend and ADX >= 50), " ", CreateColor(0, 77, 25));

AddLabel(FixedValueBkgndColor and ShowDigits == 2, Floor(ADX), CreateColor(ADXBkgndValueR, ADXBkgndValueG, ADXBkgndValueB));

AddLabel(!FixedValueBkgndColor and ShowDigits == 2, Floor(ADX), CreateColor(if !BullishTrend then 255 else HighlightColor, if !BullishTrend then HighlightColor else 255 , 51));
 

jenya2000

Новичок
Регистрация
11.02.15
Сообщения
130
Реакции
20
jenya2000 не предоставил никакой дополнительной информации.
#########################################################################
# BWD_TrendStrengthMeter ToS Study
#
# Author: BigWaveDave
# Version: 1.7
# Release Date: 6/27/14
# Email me with bugs: [email protected]
#
# No guarantees as to accuracy expressed or implied
# Use at your own discretion
#
#
# Usage:
# Run on any chart... best on 2min and 15min charts, however.
#
# Version 1.7 Changes
# ===================
# + Fixed issue with meter not displaying correctly after another TOS update.
#
# Version 1.6 Changes
# ===================
# + Fixed issue with meter not displaying correctly after TOS update.
#
#
# Version 1.5 Changes
# ===================
# + Added another settings option to use a fixed color background for the
# ADX value label. Some people had difficulty reading the value
# depending upon their chart background color. Sadly, I've hit a bug
# in TOS and can't make the value editable via the Study Settings. To
# change the fixed background color, you'll need to manually edit the
# RGB values below ADXBkgndValueR, ADXBkgndValueG, and ADXBkgndValueB
#
# Version 1.4 Changes
# ===================
# + Based on excellent suggestions, modifed to draw ADX value background
# in same color as currently active segment.
#
# Version 1.3 Changes
# ===================
# + Optionally turn off then meter to view only the ADX value.
#
# Version 1.2 Changes
# ===================
# + Added display of ADX value option.
#
# Version 1.1 Changes
# ===================
# + Fixed logic error causing dropped segments.
#
# Version 1.0 Changes
# ===================
# + Initial release. Feedback requested.
#
#
#


input length = 14;
input ShowADXValue = {DoNotShow, OnLeft, default OnRight};
input DisplayStrengthMeter = {"No", default "Yes"};
input FixedValueBkgndColor = {default "No", "Yes"};


def ADX = DMI(length).ADX;
def DIBull = DIPlus(length);
def DIBear = DIMinus(length);

def BullishTrend = DIBull >= DIBear;

def ShowDigits;

switch (ShowADXValue)
{
case DoNotShow:
ShowDigits = 0;
case OnLeft:
ShowDigits = 1;
case OnRight:
ShowDigits = 2;
}


#if DI+ > DI- then trend is bullish
#if DI- > DI+ then trend is bearish
#if ADI >= 20 then market is trending

def HighlightColor =
if (ADX >= 50) then 51 else
if (ADX >= 40 and ADX < 50) then 51 else
if (ADX >= 30 and ADX < 40) then 102 else
if (ADX >= 20 and ADX < 30) then 153 else
if (ADX >= 10 and ADX < 20) then 204 else
255;


# default background color for ADX value label. Can be changed via study settings
# sadly, I've some sort of color limitation bug in TOS scritping. To change the
# background color, you'll need to modify the RGB values below, which means that
# you unfortunately can't have a different background color for different charts.
def ADXBkgndValueR = 25;
def ADXBkgndValueG = 25;
def ADXBkgndValueB = 25;


AddLabel(FixedValueBkgndColor and ShowDigits == 1, Floor(ADX), CreateColor(ADXBkgndValueR, ADXBkgndValueG, ADXBkgndValueB));

AddLabel(!FixedValueBkgndColor and ShowDigits == 1, Floor(ADX), CreateColor(if !BullishTrend then 255 else HighlightColor, if !BullishTrend then HighlightColor else 255 , 51));

AddLabel(DisplayStrengthMeter and !BullishTrend and (ADX >= 50), " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and !(!BullishTrend and (ADX >= 50)), " ", CreateColor(77, 0, 25));

AddLabel(DisplayStrengthMeter and !BullishTrend and (ADX >= 40 and ADX < 50), " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and !(!BullishTrend and (ADX >= 40 and ADX < 50)), " ", CreateColor(77, 0, 0));

AddLabel(DisplayStrengthMeter and !BullishTrend and (ADX >= 30 and ADX < 40), " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and !(!BullishTrend and (ADX >= 30 and ADX < 40)), " ", CreateColor(77, 25, 0));

AddLabel(DisplayStrengthMeter and !BullishTrend and (ADX >= 20 and ADX < 30), " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and !(!BullishTrend and (ADX >= 20 and ADX < 30)), " ", CreateColor(77, 51, 0));

#
AddLabel(DisplayStrengthMeter and !BullishTrend and (ADX >= 10 and ADX < 20), " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and !(!BullishTrend and (ADX >= 10 and ADX < 20)), " ", CreateColor(77, 77, 0));

AddLabel(DisplayStrengthMeter and ADX < 10, " ", CreateColor(255, HighlightColor, 51));
AddLabel(DisplayStrengthMeter and ADX > 10, " ", CreateColor(77, 77, 0));

AddLabel(DisplayStrengthMeter and BullishTrend and (ADX >= 10 and ADX < 20), " ", CreateColor(HighlightColor, 255, 51));
AddLabel(DisplayStrengthMeter and !(BullishTrend and (ADX >= 10 and ADX < 20)), " ", CreateColor(77, 77, 0));
#

AddLabel(DisplayStrengthMeter and BullishTrend and (ADX >= 20 and ADX < 30), " ", CreateColor(HighlightColor, 255, 51));
AddLabel(DisplayStrengthMeter and !(BullishTrend and (ADX >= 20 and ADX < 30)), " ", CreateColor(51, 77, 0));

AddLabel(DisplayStrengthMeter and BullishTrend and (ADX >= 30 and ADX < 40), " ", CreateColor(HighlightColor, 255, 51));
AddLabel(DisplayStrengthMeter and !(BullishTrend and (ADX >= 30 and ADX < 40)), " ", CreateColor(25, 77, 0));

AddLabel(DisplayStrengthMeter and BullishTrend and (ADX >= 40 and ADX < 50), " ", CreateColor(HighlightColor, 255, 51));
AddLabel(DisplayStrengthMeter and !(BullishTrend and (ADX >= 40 and ADX < 50)), " ", CreateColor(0, 77, 0));

AddLabel(DisplayStrengthMeter and BullishTrend and ADX >= 50, " ", CreateColor(HighlightColor, 255, 51));
AddLabel(DisplayStrengthMeter and !(BullishTrend and ADX >= 50), " ", CreateColor(0, 77, 25));

AddLabel(FixedValueBkgndColor and ShowDigits == 2, Floor(ADX), CreateColor(ADXBkgndValueR, ADXBkgndValueG, ADXBkgndValueB));

AddLabel(!FixedValueBkgndColor and ShowDigits == 2, Floor(ADX), CreateColor(if !BullishTrend then 255 else HighlightColor, if !BullishTrend then HighlightColor else 255 , 51));
Федя, спасибо
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Всем доброго времени суток! Сейчас созданна kif тема http://binary-forum.com/threads/indikatory-thinkorswim-najdennye-v-seti.4744/ в которой присутствуют индикаторы которые работают только на фьючерсах и не ставятся на валюты так как в них присутствуют обьёмы! Я перепешу их все под валюты как дополнения и выложу участникам покупки!
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Первый индикатор CHART_VWAP_SD_BANDS это практически тот же самый боллинжер бэндс только который строится от обьёмов с добавлением ещё границ!
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Второй MktFacillationIndx лежать в основе лежат обьёмы и виллиамс индикатор!
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Постораюсь сделать до завтра их все так как послезавтра уезжаю и плюс сделаю ещё пару от себа в которые будут прописанны обьёмы!
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Третий! AvtoV_MoneySpy_V8
 

kif

Модератор
Регистрация
20.08.14
Сообщения
4,543
Реакции
3,818
kif не предоставил никакой дополнительной информации.
Третий! AvtoV_MoneySpy_V8
Федь на счёт этого индикатора.... у меня есть ещё одна версия его там ещё доп расчёты + стрелы, но там код кривой у меня не получилось его поправить в общем как найду его в личных напишу.
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Четвёртый! AvtoV_NegVol_StDev ! подобие подвального болинжера с уменьшенными настройками где вместо баров цены выступает скользящая по обьёмам которая так же подкрашивается в зависимости от своей направленности!
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Пятый! AvtoV_RealVolume сделан по типу BetterTickVolume!
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Шестой. AvtoV_RelativeVolume!
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Седьмой. AvtoV_StochFullVolume! стрелочный индикатор ! В стрелку заложена целая система а точней ряд условий! Обьёмы -пересечение скользящей AvgVolum + стокхастик + плюс тренд по четырём скользящим периодами 8, 21, 50,200

P.S. туда дальше раскидаю возможно всю систему по деталям чтоб каждому было понятно как формируется сигнал а точней на каких условиях!
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Восьмой! AvtoV_UpDownVolume! Строит гистограмму и на пробитии уровней сигналит сменой цвета!
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Друзья ! Смотрите и скачивайте, выложил в доставке!
 

Clarion

Уважаемый
Регистрация
02.06.15
Сообщения
150
Реакции
62
Clarion не предоставил никакой дополнительной информации.
Федь на счёт этого индикатора.... у меня есть ещё одна версия его там ещё доп расчёты + стрелы, но там код кривой у меня не получилось его поправить в общем как найду его в личных напишу.
kif , Федя, а можете этот индикатор (если получится его допилить), то же выложить в "Доставку" к этой складчине?
 

kikos

Старейшина
Регистрация
23.09.14
Сообщения
4,554
Реакции
6,126
kikos не предоставил никакой дополнительной информации.
Верх Низ