MH's Buy and Sell Signals for ThinkorSwim

BenTen

Administrative
Staff member
Staff
VIP
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.

WgnrOxf.png

7NcNAdz.png


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);
 

Barmarrs

New member
I like the simplicity of this one. I don't have any feedback on the intraday signals it provides, but I've glanced over this in combination with the wave trend and market force indicators on the one-year chart, and I like the signals I've seen to this point. Thanks for sharing!
 

garrythegreat

New member
VIP
im trying to make a scanner but i dont see any signal on my chart. do you have a scanner on this for bull or bear signal?

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];
plot bullish_signal = bullish and signal;
#def bearish_signal = bearish and signal;
 

MerryDay

Administrative
Staff member
Staff
VIP
@AshtheMan
  • There is nothing in this code to prevent it working on all timeframes. Apply it to what works best with your strategy.
  • There is no white plot line associated with this indicator. The only plots in this code are the arrows.
 

Similar threads

Top