I wish to modify the Simpler Pro Squeeze code to match a version of the Squeeze chart I saw and heard displayed on described on the Simpler website. The new variant is called the B3 Squeeze.
The Pro Squeeze chart has two components. 1. The chart/graph itself and 2. The histogram.
The B3 Squeeze has 3 components 1. The chart/graph 2. The histogram and 3. Multi Time Frame Labels. It is my understanding that The B3 Squeeze chart was created by modifying the Pro Squeeze code and adding the Multi Time Frame Labels studies. I have already modified the chart lines in my Pro Squeeze (See screenshot of My B3 Squeeze Chart and I will provide a shared chart link) and am now working on the histogram. The first problem I ran into was defining the Squeezes. The B3 Squeeze was described to me as being in the middle between the Low Squeeze and the Medium Squeeze of the Pro Squeeze or as it was put another way: If the Low Pro Squeeze was defined as 1 and the medium a 1.5 and the high a 2 then the B3 Squeeze would be 1.25. (See screenshot of Big 3 Squeeze math). The problem for me is that the Pro Squeeze code I have does not numerically define the Squeeze. It uses inequality symbols, Keltner Channels and Bollinger bands (see lines of code below).
Also looking ahead to the multi–Time Frame studies and labels for the chart (See the attached documents: (Big 3 Squeeze Histogram & Labels & Multi-Time Frame Labels and How to Configure a Multi-Time Frame label study). Simpler claims the MTF study is available on ToS but I can’t find it on ToS or even on their website for sale. I have sent them an email about where to find it.
Big 3 Squeeze Histogram & Labels & Multi-Time Frame Labels | Simpler Trading Help Center
I wish to modify the Simpler Pro Squeeze code to match a version of the Squeeze chart I saw and heard displayed on described on the Simpler website. The new variant is called the B3 Squeeze.
https://tos.mx/!WA2OcnKo
#// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
#// © Beardy_Fred
#indicator('Beardy Squeeze Pro', shorttitle='Squeeze', overlay=false, precision=2)
# Converted by Sam4Cok@Samer800 - 05/2023
declare lower;
input ShowLabel = yes; # "Alert Price Action Squeeze"
input MovAvgType = AverageType.SIMPLE;
input length = 20; # "TTM Squeeze Length"
input BB_mult = 2.0; # "Bollinger Band STD Multiplier"
input KC_mult_high = 1.0; # "Keltner Channel #1"
input KC_mult_mid = 1.5; # "Keltner Channel #2"
input KC_mult_low = 2.0; # "Keltner Channel #3"
def na = Double.NaN;
def last = isNaN(close);
#--- Color
DefineGlobalColor("up1", CreateColor(0,188,212));
DefineGlobalColor("up2", CreateColor(41,98,255));
DefineGlobalColor("dn1", CreateColor(255,82,82));
DefineGlobalColor("dn2", CreateColor(255,235,59));
#------
DefineGlobalColor("sqz1", CreateColor(255,152,0));
DefineGlobalColor("sqz2", CreateColor(255,82,82));
DefineGlobalColor("sqz3", Color.GRAY);#CreateColor(54,58,69));
DefineGlobalColor("sqz4", CreateColor(76,175,80));
#//BOLLINGER BANDS
def BB_basis = MovingAverage(MovAvgType, close, length);
def dev = BB_mult * stdev(close, length);
def BB_upper = BB_basis + dev;
def BB_lower = BB_basis - dev;
#//KELTNER CHANNELS
def tr = TrueRange(high, close, low);
def KC_basis = MovingAverage(MovAvgType, close, length);
def devKC = MovingAverage(MovAvgType, tr, length);
def KC_upper_high = KC_basis + devKC * KC_mult_high;
def KC_lower_high = KC_basis - devKC * KC_mult_high;
def KC_upper_mid = KC_basis + devKC * KC_mult_mid;
def KC_lower_mid = KC_basis - devKC * KC_mult_mid;
#// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
#// © Beardy_Fred
#indicator('Beardy Squeeze Pro', shorttitle='Squeeze', overlay=false, precision=2)
# Converted by Sam4Cok@Samer800 - 05/2023
declare lower;
input ShowLabel = yes; # "Alert Price Action Squeeze"
input MovAvgType = AverageType.SIMPLE;
input length = 20; # "TTM Squeeze Length"
input BB_mult = 2.0; # "Bollinger Band STD Multiplier"
input KC_mult_high = 1.0; # "Keltner Channel #1"
input KC_mult_mid = 1.5; # "Keltner Channel #2"
input KC_mult_low = 2.0; # "Keltner Channel #3"
def na = Double.NaN;
def last = isNaN(close);
#--- Color
DefineGlobalColor("up1", CreateColor(0,188,212));
DefineGlobalColor("up2", CreateColor(41,98,255));
DefineGlobalColor("dn1", CreateColor(255,82,82));
DefineGlobalColor("dn2", CreateColor(255,235,59));
#------
DefineGlobalColor("sqz1", CreateColor(255,152,0));
DefineGlobalColor("sqz2", CreateColor(255,82,82));
DefineGlobalColor("sqz3", Color.GRAY);#CreateColor(54,58,69));
DefineGlobalColor("sqz4", CreateColor(76,175,80));
#//BOLLINGER BANDS
def BB_basis = MovingAverage(MovAvgType, close, length);
def dev = BB_mult * stdev(close, length);
def BB_upper = BB_basis + dev;
def BB_lower = BB_basis - dev;
#//KELTNER CHANNELS
def tr = TrueRange(high, close, low);
def KC_basis = MovingAverage(MovAvgType, close, length);
def devKC = MovingAverage(MovAvgType, tr, length);
def KC_upper_high = KC_basis + devKC * KC_mult_high;
def KC_lower_high = KC_basis - devKC * KC_mult_high;
def KC_upper_mid = KC_basis + devKC * KC_mult_mid;
def KC_lower_mid = KC_basis - devKC * KC_mult_mid;
The Pro Squeeze chart has two components. 1. The chart/graph itself and 2. The histogram.
The B3 Squeeze has 3 components 1. The chart/graph 2. The histogram and 3. Multi Time Frame Labels. It is my understanding that The B3 Squeeze chart was created by modifying the Pro Squeeze code and adding the Multi Time Frame Labels studies. I have already modified the chart lines in my Pro Squeeze (See screenshot of My B3 Squeeze Chart and I will provide a shared chart link) and am now working on the histogram. The first problem I ran into was defining the Squeezes. The B3 Squeeze was described to me as being in the middle between the Low Squeeze and the Medium Squeeze of the Pro Squeeze or as it was put another way: If the Low Pro Squeeze was defined as 1 and the medium a 1.5 and the high a 2 then the B3 Squeeze would be 1.25. (See screenshot of Big 3 Squeeze math). The problem for me is that the Pro Squeeze code I have does not numerically define the Squeeze. It uses inequality symbols, Keltner Channels and Bollinger bands (see lines of code below).
Also looking ahead to the multi–Time Frame studies and labels for the chart (See the attached documents: (Big 3 Squeeze Histogram & Labels & Multi-Time Frame Labels and How to Configure a Multi-Time Frame label study). Simpler claims the MTF study is available on ToS but I can’t find it on ToS or even on their website for sale. I have sent them an email about where to find it.
Big 3 Squeeze Histogram & Labels & Multi-Time Frame Labels | Simpler Trading Help Center
I wish to modify the Simpler Pro Squeeze code to match a version of the Squeeze chart I saw and heard displayed on described on the Simpler website. The new variant is called the B3 Squeeze.
https://tos.mx/!WA2OcnKo
#// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
#// © Beardy_Fred
#indicator('Beardy Squeeze Pro', shorttitle='Squeeze', overlay=false, precision=2)
# Converted by Sam4Cok@Samer800 - 05/2023
declare lower;
input ShowLabel = yes; # "Alert Price Action Squeeze"
input MovAvgType = AverageType.SIMPLE;
input length = 20; # "TTM Squeeze Length"
input BB_mult = 2.0; # "Bollinger Band STD Multiplier"
input KC_mult_high = 1.0; # "Keltner Channel #1"
input KC_mult_mid = 1.5; # "Keltner Channel #2"
input KC_mult_low = 2.0; # "Keltner Channel #3"
def na = Double.NaN;
def last = isNaN(close);
#--- Color
DefineGlobalColor("up1", CreateColor(0,188,212));
DefineGlobalColor("up2", CreateColor(41,98,255));
DefineGlobalColor("dn1", CreateColor(255,82,82));
DefineGlobalColor("dn2", CreateColor(255,235,59));
#------
DefineGlobalColor("sqz1", CreateColor(255,152,0));
DefineGlobalColor("sqz2", CreateColor(255,82,82));
DefineGlobalColor("sqz3", Color.GRAY);#CreateColor(54,58,69));
DefineGlobalColor("sqz4", CreateColor(76,175,80));
#//BOLLINGER BANDS
def BB_basis = MovingAverage(MovAvgType, close, length);
def dev = BB_mult * stdev(close, length);
def BB_upper = BB_basis + dev;
def BB_lower = BB_basis - dev;
#//KELTNER CHANNELS
def tr = TrueRange(high, close, low);
def KC_basis = MovingAverage(MovAvgType, close, length);
def devKC = MovingAverage(MovAvgType, tr, length);
def KC_upper_high = KC_basis + devKC * KC_mult_high;
def KC_lower_high = KC_basis - devKC * KC_mult_high;
def KC_upper_mid = KC_basis + devKC * KC_mult_mid;
def KC_lower_mid = KC_basis - devKC * KC_mult_mid;
#// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
#// © Beardy_Fred
#indicator('Beardy Squeeze Pro', shorttitle='Squeeze', overlay=false, precision=2)
# Converted by Sam4Cok@Samer800 - 05/2023
declare lower;
input ShowLabel = yes; # "Alert Price Action Squeeze"
input MovAvgType = AverageType.SIMPLE;
input length = 20; # "TTM Squeeze Length"
input BB_mult = 2.0; # "Bollinger Band STD Multiplier"
input KC_mult_high = 1.0; # "Keltner Channel #1"
input KC_mult_mid = 1.5; # "Keltner Channel #2"
input KC_mult_low = 2.0; # "Keltner Channel #3"
def na = Double.NaN;
def last = isNaN(close);
#--- Color
DefineGlobalColor("up1", CreateColor(0,188,212));
DefineGlobalColor("up2", CreateColor(41,98,255));
DefineGlobalColor("dn1", CreateColor(255,82,82));
DefineGlobalColor("dn2", CreateColor(255,235,59));
#------
DefineGlobalColor("sqz1", CreateColor(255,152,0));
DefineGlobalColor("sqz2", CreateColor(255,82,82));
DefineGlobalColor("sqz3", Color.GRAY);#CreateColor(54,58,69));
DefineGlobalColor("sqz4", CreateColor(76,175,80));
#//BOLLINGER BANDS
def BB_basis = MovingAverage(MovAvgType, close, length);
def dev = BB_mult * stdev(close, length);
def BB_upper = BB_basis + dev;
def BB_lower = BB_basis - dev;
#//KELTNER CHANNELS
def tr = TrueRange(high, close, low);
def KC_basis = MovingAverage(MovAvgType, close, length);
def devKC = MovingAverage(MovAvgType, tr, length);
def KC_upper_high = KC_basis + devKC * KC_mult_high;
def KC_lower_high = KC_basis - devKC * KC_mult_high;
def KC_upper_mid = KC_basis + devKC * KC_mult_mid;
def KC_lower_mid = KC_basis - devKC * KC_mult_mid;
Attachments
Last edited by a moderator: