A
anycolour
Member
Is there anything close to "footprints" indicator in Thinkorswim? If so, I'd like a combination with that! Thanks
So what are these 2 indicators in this thread actually measuring? Are we fools for using these 2 indicators with invalid and/or partial data?TOS is not built for nor can it produce net delta buying or selling
@tomsk unfortunately the Cumulative delta portion is not displaying the same way as it does on the original indicator... looking at TSLA on a one minute chart today there are periods of red negative bars on the original indicator, but on the new one there are no red, negative bars showing. I tested on MU as well and found similar discrepancy. Thanks for any help...
# Cumulative Volume Delta
#
# The length of the accumulation is user controlled. The cumulative bar
# is the sum of the deltas for the past 10 bars. Change that length to
# 252 (a year in days) then plot something like AAPL. Very interesting.
#
# LongShort
# 5.7.2019
declare lower;
input length = 10;
def O = open;
def H = high;
def C = close;
def L = low;
def V = volume;
def Buying = V * (C - L) / (H - L);
def Selling = V * (H - C) / (H - L);
def Delt = buying - selling;
plot Delta = Delt;
Delta.AssignValueColor(if Delta > 0 then Color.GREEN else Color.RED);
Delta.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
Delta.hide();
plot zero = 0;
zero.setDefaultColor(Color.BLUE);
plot CumulativeVolumeDelta = sum(Delta,length);
CumulativeVolumeDelta.AssignValueColor(if CumulativeVolumeDelta > 0 then Color.GREEN else Color.RED);
CumulativeVolumeDelta.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
# End Code
# Cumulative Volume Delta with Normalized Code
# tomsk
# 1.7.2020
# Cumulative Volume Delta
#
# The length of the accumulation is user controlled. The cumulative bar
# is the sum of the deltas for the past 10 bars. Change that length to
# 252 (a year in days) then plot something like AAPL. Very interesting.
#
# LongShort
# 5.7.2019
declare lower;
script normalizePlot {
input data = close;
input newRngMin = -1;
input newRngMax = 1;
def hhData = HighestAll( data );
def llData = LowestAll( data );
plot nr = ((( newRngMax - newRngMin ) * ( data - llData )) / ( hhData - llData )) + newRngMin;
}
input length = 10;
def O = open;
def H = high;
def C = close;
def L = low;
def V = volume;
def Buying = V * (C - L) / (H - L);
def Selling = V * (H - C) / (H - L);
def Delt = buying - selling;
plot CumulativeVolumeDelta = normalizePlot(sum(Delt,length), -40, 40);
CumulativeVolumeDelta.AssignValueColor(if CumulativeVolumeDelta > 0 then Color.GREEN else Color.RED);
CumulativeVolumeDelta.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
plot zero = 0;
Zero.SetDefaultColor(GetColor(5));
# End Cumulative Volume Delta with Normalized Code
Thanks for checking! So this is interesting, as I have been using it on one and five minute charts with great success. If I understand correctly, there is no way to normalize and combine Chaikin money flow and Cumulative delta successfully into one normalized study, based on what you see?
Just like most indicators I look for divergences, and/or crossings above or below the zero line to go long or short. I find Chaikin Money flow to be the more useful of the two. If consolidating but Chaikin is rising above zero line, it's a good play to go long.Mind sharing how the Chaikins provide value to you?
Were you able to find anything like this? I'm also looking for this. Ninja trader has a bunch of cumulative delta indicators but I'm hoping to find it for TOS.Does anyone have a Delta (Cumulative Delta) indicator they could share? Something like the attached image. Thank you!
can you go in detail what the blue lines represent?I wrote this code to plot the real cumulative volume using BID and ASK transactions no the close of the candle, please take a look and let me know what do you think.
it works only for 15 min charts other wise you must change the aggregation period within the code. doesn't work with tick charts.
input displace = 0;
def ASK = tick_count(priceType = PriceType.ASK , period = AggregationPeriod.FIFTEEN_MIN);
def BID = tick_count(priceType = PriceType.BID , period = AggregationPeriod.FIFTEEN_MIN);
def MARK = tick_count(priceType = PriceType.MARK , period = AggregationPeriod.FIFTEEN_MIN);
def LAST = tick_count(priceType = PriceType.LAST , period = AggregationPeriod.FIFTEEN_MIN);
def ba = BID - ASK;
plot data = Sum(ba-displace, 100);
the blue line is the Cumulative Volume Delta,can you go in detail what the blue lines represent?
I have a code but it works best with futures take a look let me know what you think! Use 15 min time frame other wise you have to change the aggregation code for specific time fame. Doesn't work with tick charts.Is there anything close to "footprints" indicator in Thinkorswim? If so, I'd like a combination with that! Thanks
declare lower;
declare zerobase;
def displace = 0;
def ASK = tick_count(priceType = PriceType.ASK, period = AggregationPeriod.FIFTEEN_MIN);
def BID = tick_count(priceType = PriceType.BID , period = AggregationPeriod.FIFTEEN_MIN);
def MARK = tick_count(priceType = PriceType.MARK , period = AggregationPeriod.FIFTEEN_MIN);
def LAST = tick_count(priceType = PriceType.LAST , period = AggregationPeriod.FIFTEEN_MIN);
def ba = BID - ASK;
plot data = Sum(ba - displace, 100);