Re: Bollinger Bands type indicators for MT4

1081
honje19960321 wrote: Mon Jun 06, 2022 4:23 pm I want to be able to convert it into a version indicator for MT4
Infinite merit



Trade The Markets Squeeze Index. The main idea is to trade only if the Bollinger Bands are located inside the Keltner Bands and form a trading zone.

This indicator is drawn as a histogram with a signal label along the centerline. The indicator has seven parameters that can be set.

BB period -Bollinger Bands calculation period
BB deviation -Bollinger Bands deviation
Keltner period -Keltner band calculation period
Keltner smooth period --Keltner smooth period
Keltner smooth method -Keltner smooth method
Keltner deviation -Keltner deviation
Signal label size -Signal line size
Image
Image
TTMS.mq5
Be patient therefore, brethren, until the coming of the Lord. Behold, the husbandman waiteth for the precious fruit of the earth: patiently bearing till he receive the early and latter rain.
Behold, we account them blessed who have endured. You have heard of the patience of Job, and you have seen the end of the Lord, that the Lord is merciful and compassionate.


Re: Bollinger Bands type indicators for MT4

1082
Banzai wrote: Tue Jun 07, 2022 7:21 am BB Rainbow
(on/off button)



Please download this new version with better code.

For the method, you get to choose from the basic 4: Simple Moving Average, Exponential Moving Average, Smooth Moving Average, and Linear Weighted Moving Average.

For the prices, you get to choose from the basic 7: Close, Open, High, Low, Median, Typical, or Weighted.

You can choose to display 1 band, double bands, or multiple bands.
Image

Image





Another good channel indicator, can also change color like this.
These users thanked the author 太虚一毫 for the post (total 2):
Jedidiah, Banzai

Re: Bollinger Bands type indicators for MT4

1083
i found it

The power of the Internet is too powerful. Thanks someone for making the MT4 version of it


TTMS = (H-L)/(TL-BL)-1, where
H = MA(Keltner_Length, Keltner_Smooth_Method, Close)+ATR(Keltner_Smooth_Length)*Keltner_Deviation,
L = MA(Keltner_Length, Keltner_Smooth_Method, Close)-ATR(Keltner_Smooth_Length)*Keltner_Deviation,
TL = ML+BB_Deviation*D,
BL = ML-BB_Deviation*D,
ML = SMA(BB_Length, Close),
D = StdDev(BB_Length, Close).
Be patient therefore, brethren, until the coming of the Lord. Behold, the husbandman waiteth for the precious fruit of the earth: patiently bearing till he receive the early and latter rain.
Behold, we account them blessed who have endured. You have heard of the patience of Job, and you have seen the end of the Lord, that the Lord is merciful and compassionate.

Re: Bollinger Bands type indicators for MT4

1084
;)
Be patient therefore, brethren, until the coming of the Lord. Behold, the husbandman waiteth for the precious fruit of the earth: patiently bearing till he receive the early and latter rain.
Behold, we account them blessed who have endured. You have heard of the patience of Job, and you have seen the end of the Lord, that the Lord is merciful and compassionate.

Re: Bollinger Bands type indicators for MT4

1085


I want to be able to convert it into a version indicator for MT4
Infinite merit


theory

The idea is that Bollinger bands squeeze uses a combination of Bollinger Bands and Keltner to narrow down the period of the "no entry" area. When the Bollinger Bands are in the Keltner channel, they are "narrowed down" and should not enter a new position. The idea behind this is that when the market level off, the deviation from the moving average is smaller than the ATR, which usually happens when an imminent change occurs in the market.

Features of this version

There are several versions of the BB squeeze indicator, but they are combined with other indicators that are not related to Bollinger Bands or the Keltner channel. This version uses only the original metric. Unlike some oscillators, the status is displayed on the main chart.

how to use

As the "narrowing down" continues, the band area is filled with gray. During this time, do not place new orders. When transparent, the region indicates the relative position of the closing price compared to the midpoint of the Bollinger band, and also indicates the band breakout of the closing price.

Attachments
Be patient therefore, brethren, until the coming of the Lord. Behold, the husbandman waiteth for the precious fruit of the earth: patiently bearing till he receive the early and latter rain.
Behold, we account them blessed who have endured. You have heard of the patience of Job, and you have seen the end of the Lord, that the Lord is merciful and compassionate.


Re: Bollinger Bands type indicators for MT4

1086
;)
Be patient therefore, brethren, until the coming of the Lord. Behold, the husbandman waiteth for the precious fruit of the earth: patiently bearing till he receive the early and latter rain.
Behold, we account them blessed who have endured. You have heard of the patience of Job, and you have seen the end of the Lord, that the Lord is merciful and compassionate.

Re: Bollinger Bands type indicators for MT4

1087
BB Rainbow
(on/off button)



Please download this new version with better code.

For the method, you get to choose from the basic 4: Simple Moving Average, Exponential Moving Average, Smooth Moving Average, and Linear Weighted Moving Average.

For the prices, you get to choose from the basic 7: Close, Open, High, Low, Median, Typical, or Weighted.

You can choose to display 1 band, double bands, or multiple bands.
These users thanked the author Banzai for the post (total 2):
太虚一毫, Jedidiah

Re: Bollinger Bands type indicators for MT4

1088
00-Chartインジケーター
任意の通貨のチャートをサブウィンドウに表示するインジケーターです

00-Chart indicator
An indicator that displays a chart of any currency in a subwindow

00-Chartではサブウィンドウに任意の通貨のチャートを表示することが出来ます。

USDJPYのチャートのサブウィンドウにEURJPYやEURUSDのチャートを表示するなど。タイムフレームはメインチャートと同じになり、違うタイムフレームの表示は現在できないようです。

デフォルトでボリンジャーバンドとMAが1本表示でき、パラメータも変更できます。
また表示させる時間帯を指定したり曜日で表示をON/OFFしたりも出来ます。

時間指定パラメータの”DailyShowSH/EH”の分の単位の指定では0.5=30分 0.25=15分 のようになります。
例)

10時~15時30分の表示
DailyShowSH 10.0  DailyShowEH 15.5
24時間表示
DailyShowSH  0.0  DailyShowEH 23.9


曜日での表示をON/OFFするにはパラメータの"DayOfWeekShow”の数値で調整します。
表示をさせる場合は”1”を、させない場合は”0”を「日月火水木金土」の順で入力します。
例)
毎日表示→1111111 日曜以外表示→0111111 日曜土曜以外表示→0111110


メインの取引通貨のチャートを最大表示にして見たいけど他の通貨も見たい、そういう時に他通貨を表示して動向を見たりするのに便利です。


In 00-Chart, you can display the chart of any currency in the sub window.

Display the EURJPY and EURUSD charts in the USDJPY chart subwindow. The timeframe will be the same as the main chart, and it seems that it is currently not possible to display different timeframes.

By default, one Bollinger band and one MA can be displayed, and the parameters can be changed.
You can also specify the time zone to display and turn the display ON / OFF by day of the week.

In the time specification parameter "DailyShowSH / EH", the minute unit is specified as 0.5 = 30 minutes 0.25 = 15 minutes.
example)

Display from 10:00 to 15:30
DailyShowSH 10.0 DailyShowEH 15.5
24-hour display
DailyShowSH 0.0 DailyShowEH 23.9


To turn on / off the display on the day of the week, adjust the value of the parameter "DayOfWeekShow".
Enter "1" to display it, or enter "0" to not display it in the order of "Sun, Mon, Tue, Wed, Thu, Fri, Sat".
example)
Daily display → 1111111 Display other than Sunday → 0111111 Display other than Sunday and Saturday → 0111110


It is convenient to display other currencies and see trends at such times when you want to see the chart of the main transaction currency in the maximum display but also other currencies.
These users thanked the author Jedidiah for the post:
rexey
Be patient therefore, brethren, until the coming of the Lord. Behold, the husbandman waiteth for the precious fruit of the earth: patiently bearing till he receive the early and latter rain.
Behold, we account them blessed who have endured. You have heard of the patience of Job, and you have seen the end of the Lord, that the Lord is merciful and compassionate.

Re: Bollinger Bands type indicators for MT4

1089
00-BollingerBands_v104
ボリンジャーバンドのインジケーター。ボリンジャーバンドの幅で色が変わります。
σ超え・BBセンタークロスでのアラート機能

00-BollingerBands_v104
Bollinger band indicator. The color changes depending on the width of the Bollinger band.
Alert function at σ over / BB center cross
ボリンジャーバンド(以後BB)の幅が指定幅以上でBBの色を変えることが出来ます。

BBの収縮・拡大を視覚的に捕らえやすくしてくれます。
またパラメータでの追加設定でσとのクロス、BBセンターラインとのクロスでのアラート機能付。
MTF対応。
パラメータ説明転載

以下のパラメータ追加。bAlertRangeをtrueでボリバンの 幅>=rangeでアラート。
bAlertRange   = false; // alert when abs(upper - lower) >= range
markRangeUpper = 233;  // range mark, upper
markRangeLower = 233;  // range mark, lower
colRange    = Aqua; // range color
wRange     = 0;   // range mark width
ボリバン/センターとのクロスでalert追加。
bAlertSigma  = false; // alert on crossing sigma line
bAlertSigmaAlt = false; // alert on crossing sigmaAlt line
bAlertCenter  = false; // alert on crossing center(ave) line


You can change the color of BB when the width of Bollinger Bands (hereinafter BB) is wider than the specified width.

It makes it easier to visually capture the contraction / expansion of BB.
In addition, with additional settings in the parameters, an alert function is provided for crossing with σ and crossing with the BB center line.
MTF compatible.
Parameter explanation reprint

Added the following parameters. Alert Range with true and Bolivan width> = range.
bAlertRange = false; // alert when abs (upper --lower)> = range
markRangeUpper = 233; // range mark, upper
markRangeLower = 233; // range mark, lower
colRange = Aqua; // range color
wRange = 0; // range mark width
Added alert at the cross with Bolivan / Center.
bAlertSigma = false; // alert on crossing sigma line
bAlertSigmaAlt = false; // alert on crossing sigmaAlt line
bAlertCenter = false; // alert on crossing center (ave) line
Be patient therefore, brethren, until the coming of the Lord. Behold, the husbandman waiteth for the precious fruit of the earth: patiently bearing till he receive the early and latter rain.
Behold, we account them blessed who have endured. You have heard of the patience of Job, and you have seen the end of the Lord, that the Lord is merciful and compassionate.

Re: Bollinger Bands type indicators for MT4

1090
ハイローバンドのインジケーター。
High-low band indicator.

High-Lowバンド+中心線。
シグナルチェックのため、デフォルトはHigh-Lowバンドは1バー遅れ、中心線は遅れ
なしになってます。(それぞれshiftHiLo、shiftCenterで設定)
MTF(マルチタイムフレーム)対応

High-Low band + center line.
Due to signal check, the default is 1 bar delay in the High-Low band and delay in the center line.
It has become none. (Set in shiftHiLo and shiftCenter respectively)
MTF (multi time frame) compatible
Be patient therefore, brethren, until the coming of the Lord. Behold, the husbandman waiteth for the precious fruit of the earth: patiently bearing till he receive the early and latter rain.
Behold, we account them blessed who have endured. You have heard of the patience of Job, and you have seen the end of the Lord, that the Lord is merciful and compassionate.


Who is online

Users browsing this forum: Amazon [Bot], baka.85, Banzai, ChatGPT [Bot], Grapeshot [Bot], TransparentTrader and 80 guests