Waikiki Daddy O
New member
...or since the the lables alternate (for exameple Buy-Sell-Buy or Sell-Buy-Sell etc.)
...and I don't care if I see a labled, because I know if I want go go long or short;
...maybe I can reduce the with of the bubble just a little/enough and go with an "x" or "checkmark" in place or nothing at all but the price. Ihink the changing bubble color will be enough. TBD.
Note: The bubble has a little pointer the candle, so idealy I would like to see it populate to the left of the real-time candle, but beggars can't be chooses when you don't speak Java or whatever this stuff is called.
So I'm still hoping for something better. Many thanks!
REGARDING THE SCANNER BUBBLES SCRIPT
I edited a Scanner Script another member posted to tanke out the 10, 15, 30, and 60 minute rows so that I only see one 5min row... and it ran an is stable. However, it positions the bubbles will appear at the very top row or bottom row when add a Thinkorswim RSI study and in this position the scanner bubble gets cut in half on my monitor.
The link below will show you a picture of what I'm talking about.
https://www.flickr.com/gp/196664859@N04/Q7L4oj2E12
Can anyone explain how I can add a blank row above the bubble... like a empty margin-row... and then I bet we will be able to see a full circle row of scanned bubbles, which will be more noticable.
Here's the edited code I am using with only shows one row based on 5min data.
Code:
# Superscript Scanner Script_5min_Hull
declare lower;
input agg1 = AggregationPeriod.Five_Min;
input AtrMult = .70;
input nATR = 4;
input AvgType = AverageType.HULL;
script ST{
input agg = AggregationPeriod.Five_Min;
input AtrMult = .70;
input nATR = 4;
input AvgType = AverageType.HULL;
def Fh = FundamentalType.High;
def Fl = FundamentalType.Low;
def Fc = FundamentalType.Close;
def Fhl2 = FundamentalType.HL2;
def h = Fundamental(Fh, period = agg);
def l = Fundamental(Fl, period = agg);
def c = Fundamental(Fc, period = agg);
def hl = Fundamental(Fhl2, period = agg);
def ATR = MovingAverage(AvgType, TrueRange(h, c, l), nATR);
def UP = hl + (AtrMult * ATR);
def DN = hl + (-AtrMult * ATR);
def S = if c < S[1]
then Round(UP / tickSize(), 0) * tickSize()
else Round(DN / tickSize(), 0) * tickSize();
plot ST = if c > S then 1 else 0;
}
def cl = close;
def x = isNaN(cl[2]) and !isNaN(cl[3]);
def FirstAgg = ST(agg = agg1, AtrMult = AtrMult, nATR = nATR, AvgType = AvgType);
plot FirstAggPlot = if isNaN(cl)
then double.nan
else 1;
FirstAggPlot.SetStyle(Curve.Points);
FirstAggPlot.SetLineWeight(3);
FirstAggPlot.AssignValueColor(if FirstAgg == 1
then color.green
else color.red);
AddChartBubble(x, 1, (agg1/1000/60) + " min", color.white, yes);
def SecondAgg = ST(agg = agg1, AtrMult = AtrMult, nATR = nATR, AvgType = AvgType);
# End Code ST MTF
...and I don't care if I see a labled, because I know if I want go go long or short;
...maybe I can reduce the with of the bubble just a little/enough and go with an "x" or "checkmark" in place or nothing at all but the price. Ihink the changing bubble color will be enough. TBD.
Note: The bubble has a little pointer the candle, so idealy I would like to see it populate to the left of the real-time candle, but beggars can't be chooses when you don't speak Java or whatever this stuff is called.
So I'm still hoping for something better. Many thanks!
REGARDING THE SCANNER BUBBLES SCRIPT
I edited a Scanner Script another member posted to tanke out the 10, 15, 30, and 60 minute rows so that I only see one 5min row... and it ran an is stable. However, it positions the bubbles will appear at the very top row or bottom row when add a Thinkorswim RSI study and in this position the scanner bubble gets cut in half on my monitor.
The link below will show you a picture of what I'm talking about.
https://www.flickr.com/gp/196664859@N04/Q7L4oj2E12
Can anyone explain how I can add a blank row above the bubble... like a empty margin-row... and then I bet we will be able to see a full circle row of scanned bubbles, which will be more noticable.
Here's the edited code I am using with only shows one row based on 5min data.
Code:
# Superscript Scanner Script_5min_Hull
declare lower;
input agg1 = AggregationPeriod.Five_Min;
input AtrMult = .70;
input nATR = 4;
input AvgType = AverageType.HULL;
script ST{
input agg = AggregationPeriod.Five_Min;
input AtrMult = .70;
input nATR = 4;
input AvgType = AverageType.HULL;
def Fh = FundamentalType.High;
def Fl = FundamentalType.Low;
def Fc = FundamentalType.Close;
def Fhl2 = FundamentalType.HL2;
def h = Fundamental(Fh, period = agg);
def l = Fundamental(Fl, period = agg);
def c = Fundamental(Fc, period = agg);
def hl = Fundamental(Fhl2, period = agg);
def ATR = MovingAverage(AvgType, TrueRange(h, c, l), nATR);
def UP = hl + (AtrMult * ATR);
def DN = hl + (-AtrMult * ATR);
def S = if c < S[1]
then Round(UP / tickSize(), 0) * tickSize()
else Round(DN / tickSize(), 0) * tickSize();
plot ST = if c > S then 1 else 0;
}
def cl = close;
def x = isNaN(cl[2]) and !isNaN(cl[3]);
def FirstAgg = ST(agg = agg1, AtrMult = AtrMult, nATR = nATR, AvgType = AvgType);
plot FirstAggPlot = if isNaN(cl)
then double.nan
else 1;
FirstAggPlot.SetStyle(Curve.Points);
FirstAggPlot.SetLineWeight(3);
FirstAggPlot.AssignValueColor(if FirstAgg == 1
then color.green
else color.red);
AddChartBubble(x, 1, (agg1/1000/60) + " min", color.white, yes);
def SecondAgg = ST(agg = agg1, AtrMult = AtrMult, nATR = nATR, AvgType = AvgType);
# End Code ST MTF
Last edited: