Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Candlestick pattern indicator Double Inside Bar shows when the "inside bar" pattern is drawn on the chart 2 times in a row. The signal is very rare as in the "Double Outside bar" Indicator.
⚙First, import indicator by using <Edit Studies> menu. It will appear on the list, but you cannot see it right away.
You need to enter Studies – User Defined. Click on the necessary indicator and add - "Add Study". There are no special settings for this indicator.
________________
HTML Code:
#thinkscript indicator: Double_Inside_bar.
#Shows the pattern "Double Inside bar"
#by thetrader.top
def bSignalDown = high[2]>high[1] and high[1]>high and low[2]<low[1] and low[1]<low;
def bSignalUp = 0;
plot down = if bSignalDown then high else double.NaN;
plot up = if bSignalUp then high else double.NaN;
up.SetPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_up);
down.SetPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_down);
up.setDefaultColor(color.LIGHT_green);
down.setDefaultColor(color.LIGHT_red);
This indicator indicates the place of three bar reversal with arrows on the chart📈. The formation is quite specific. Not many people know about it.
⚙Let's place the indicator according to the "three bar reversal" pattern. We'll choose a 5-minute timeframe for that. Import indicator by using <Edit Studies> menu. It will appear on the list. You need to enter Studies – User Defined. Click on the necessary indicator and add - "Add Study".
________________
HTML Code:
#thinkscript indicator: Three_Bar_Reversal.
#Shows the pattern "Three Bar Reversal"
#by thetrader.top
def bSignalDown = open[2]<close[2] and low[1]>low[2] and low[1]<high[2] and high[1]>high[2] and high<high[1] and close[1]<low[1];
def bSignalUp = open[2]>close[2] and low[1]<low[2] and low[2]<high[1] and low[1]<low[2] and low>low[1] and low<high[1] and close>high[1];
plot down = if bSignalDown then high else double.NaN;
plot up = if bSignalUp then high else double.NaN;
up.SetPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_up);
down.SetPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_down);
up.setDefaultColor(color.LIGHT_green);
down.setDefaultColor(color.LIGHT_red);
📈Double-Bar Indicator shows bars with similar bases using the arrows on the chart. ⚙First, import indicator by using <Edit Studies> menu. It will appear on the list, but you cannot see it right away.
You need to enter Studies – User Defined. Click on the necessary indicator and add - "Add Study". There are no special settings for this indicator.
________________
HTML Code:
#thinkscript indicator: Double_Bars.
#Shows the pattern "Double Bars"
#by thetrader.top
def bSignalDown =close[1]>open[1] and high[1]==high and open>close and close<high[1];
def bSignalUp = open[1]>close[1] and low[1]==low and open<close and close>high[1];
plot down = if bSignalDown then high else double.NaN;
plot up = if bSignalUp then high else double.NaN;
up.SetPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_up);
down.SetPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_down);
up.setDefaultColor(color.LIGHT_green);
down.setDefaultColor(color.LIGHT_red);
📈The indicator will show candlesticks larger than the daily ATR. Period ATR=14, present ATR=10%. 10% excess daily ATR will be highlighted in color. If shares go up (3 consecutive candlesticks) they are colored green on the chart, if down - red. The indicator can be used to find some movement (dinamic).
________
#thinkscript indicator: Dinamic_Stock.
#When three candles in a row close above % of ATR
# by thetrader.top
HTML Code:
input period_ATR = 14;
input Precent_ATR = 10; #рывок свечи в % от АТR
def agg = getAggregationPeriod();
def iATR = round((Average(high(period=agg)[0], period_ATR )-Average(low(period=agg)[0], period_ATR )),2);
def iDiff = Precent_ATR*iATR/100;
def BU0 = close[0]-close[1]>=iDiff and close[1]-close[2]>=iDiff and close[2]-close[3]>=iDiff;
def BU1 = close[-1]-close[0]>=iDiff and close[0]-close[1]>=iDiff and close[1]-close[2]>=iDiff;
def BU2 = close[-2]-close[-1]>=iDiff and close[-1]-close[0]>=iDiff and close[0]-close[1]>=iDiff;
def BD0 = close[0]-close[1]<=-iDiff and close[1]-close[2]<=-iDiff and close[2]-close[3]<=-iDiff;
def BD1 = close[-1]-close[0]<=-iDiff and close[0]-close[1]<=-iDiff and close[1]-close[2]<=-iDiff;
def BD2 = close[-2]-close[-1]<=-iDiff and close[-1]-close[0]<=-iDiff and close[0]-close[1]<=-iDiff;
def bSignalUp = BU0+BU1+BU2;
def bSignalDown = BD0+BD1+BD2;
AssignPriceColor( if bSignalUp then color.green else if bSignalDown then color.red else color.gray);
Hello to All,
I am new to trading as well as to this site. Saw a lot of helpful and smart people here. So I joined to get some help on thinkorswim. I am currently using this platform but it is really complicated. I am trying to create a scan where I can scan 3 or more moving averages at the same time and get an alert before that happens. So far unsuccessful. Can anyone please help me in creating a think script for 3 simple moving averages( 20,50,200 SMAs) crossing close to each other to the upside at single point and get an alert right when it is happening. Please see this screenshot and the point where it is splitting in an upward movement. Any help will be highly appreciated. Thanks in advance.
📈 This indicator will help to put a line on the chart for one more share and we'll see their interaction. Usually, this indicator is used when you want to see the share's attitude to the market.
⚙ Automatically, the indicator is set at the bottom, but it is inconvenient, so in the settings press "Move Up" and "Apply", after which the indicator will be drawn directly on the chart. In "Inputs" parameter "Symbol" can be changed, there is also a possibility to adjust the line by type and thickness. If you choose "Left Axis", the price scale of this market will be displayed on the left side of the screen.
________
HTML Code:
#thinkscript indicator: Chart_Background.
#Set the chart of any symbol in the background
#by thetrader.top
declare lower;
input symbol = {default “/ES”, "SPY"}; #type in the desired character
plot Line = close (symbol);
Line.SetDefaultColor (Color.GRAY);
The indicator will draw a gray candles of the time when you think you do not need to trade. 📈
⚙Inputs: select the time (start time and end time). For example, from 9.30-10.30 a.m. we do not want to trade, from 12.00-1.00 p.m. at lunch and from 3:00-4:00 p.m. at the end of the session. Apply. The specified time on the chart will be highlighted in gray.
It is possible to leave one period as you like.
________
HTML Code:
#thinkscript indicator: Bars_Color.
#gray out bars on a chart, while the trader is prohibited from trading
#by thetrader.top
input Start_Time1 = 0930;
input End_Time1 = 1030;
input Start_Time2 = 1200;
input End_Time2 = 1300;
input Start_Time3 = 1500;
input End_Time3 = 1600;
def Open1 = SecondsTillTime(Start_Time1) <= 0;
def Close1 = SecondsTillTime(End_Time1) <= 0;
def Open2 = SecondsTillTime(Start_Time2) <= 0;
def Close2 = SecondsTillTime(End_Time2) <= 0;
def Open3 = SecondsTillTime(Start_Time3) <= 0;
def Close3 = SecondsTillTime(End_Time3) <= 0;
def Off_Time = Open1 and !Close1 or Open2 and !Close2 or Open3 and !Close3;
AssignPriceColor( if Off_Time then Color.GRAY else Color.CURRENT);
📈The indicator shows when the "Overlapping Bodies" formation is formed. It shows with the arrows the candlestick pattern that is formed on the chart.
⚙The signals are divided into buy and sell. The arrows are adjustable (color, size, etc.).
________
HTML Code:
#thinkscript indicator: Body_overlapping.
#It shows a pattern "Body overlapping"
#by thetrader.top
def bSignalUp = open[1]<close[1] and open>close[1] and close<open[1];
def bSignalDown = open[1] > close[1] and open < close[1] and close > open[1];
plot up = if bSignalUp then high else Double.NaN;
plot down = if bSignalDown then high else Double.NaN;
up.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
down.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
up.SetDefaultColor(Color.LIGHT_RED);
down.SetDefaultColor(Color.LIGHT_GREEN);