A simple buy and sell signals indicator based on volume and price for ThinkorSwim. Not much was written about it.
Finding the high winning percentage trade signals.
thinkScript Code
Code:
# MH's Buy and Sell Signals
# Assembled by BenTen at useThinkScript.com
# Converted from https://www.tradingview.com/script/rEmMdtXy-Buy-Sell-Signals/
def signal = volume[3] < volume[2] and volume[2]<volume[1] and volume[1] > volume;
def bullish = close[3] < open[3] and close[2]<open[2] and close[1]<open[1];
def bearish = close[3] > open[3] and close[2]>open[2] and close[1]>open[1];
def bullish_signal = bullish and signal;
def bearish_signal = bearish and signal;
# Plot Signals
plot bull = bullish_signal;
bull.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
bull.SetDefaultColor(Color.CYAN);
bull.SetLineWeight(1);
plot bear = bearish_signal;
bear.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
bear.SetDefaultColor(Color.MAGENTA);
bear.SetLineWeight(1);