3 Types of Doji StarDoji types:
1. Standard Doji
2. Dragonfly Doji
3. Gravestone Doji
Input:
1. EMA
2. Proportion (%) of Dragonfly & Gravestone Doji
K线分析
Multicheck NYSE GORCSummary:
This script is an extension of GORC Indicator, it allows to verify if any of 22 different ticker symbols belowing to Nyse Composite Exchange accomplish with a green candle is over a red candle after a rebound in the exponential average of 20 periods, or had a rebound in teh simple moving average of 50 periods
The script will check the condition described above in any timeframe you are positioned. For example: In you are checking INTC (it doesn't matters the ticker symbol you are analyzing) in 4 hours timeframe, the script will check all the 22 ticker symbols selected in order to accomplish the condition, after that if you change to other timeframe, like 5 minutes, ths script will check again but this time in 5 minutes period for the 22 ticker symbols pre-selected, and so on
Options:
You can select any of the ticker symbols that belows to the Nyse Composite Exchange. Maximun number of ticker symbols = 22
Multicheck NASDAQ GORCSummary:
This script is an extension of GORC Indicator, it allows to verify if any of 22 different ticker symbols belowing to Nasdaq Composite Exchange accomplish with a green candle is over a red candle after a rebound in the exponential average of 20 periods, or had a rebound in teh simple moving average of 50 periods
The script will check the condition described above in any timeframe you are positioned. For example: In you are checking INTC (it doesn't matters the ticker symbol you are analyzing) in 4 hours timeframe, the script will check all the 22 ticker symbols selected in order to accomplish the condition, after that if you change to other timeframe, like 5 minutes, ths script will check again but this time in 5 minutes period for the 22 ticker symbols pre-selected, and so on
Options:
You can select any of the ticker symbols that belows to the Nasdaq Composite Exchange. Maximun number of ticker symbols = 22
Pullback Traps v. 0.1Trading Strategy for scalping the CME_MINI:ES1! and CME_MINI:MES1! futures on the 5 min. time frame.
The strategy will count legs and look for failed pullbacks and failed second entries where shorters get trapped.
How to use:
When a trap occurs (Marked with green light) place an order one tick above the high of the trap and enter on next candle
If entry doesn't happen on next candle and it has a lower high, move entry to one tick above high of that candle.
Keep doing the above until you enter or until a candle is marked with a blue light and the text Trap Dead.
If you see Trap dead and you haven't entered, quickly cancel your order.
What is green light?
A second or later pullback down away from the uptrend. When the green light is present the shorters haven't made a 1 point profit and short scalpers are trapped.
What is blue light?
1. Shorters made their 1 point profit and trap is dead. Cancel your trade. Or...
2. Shorters hit their stop loss and you're probably in a trade now and about to profit.
Profit and stop loss:
Numbers are done with profit 5 ticks and stop loss 30 ticks.
Should I have a stop loss 6 times greater than profit?
Probably not. The numbers you see here are made with these profit and stop loss figures but I don't advice it in real trading.
The numbers look good on this backtest but in reality a few bad trades would ruin everything.
This was made purely for fun and sim trading - Feel free to do your own testing and show the resulsts.
SN Intraday BundleThe intraday bundle is a combination of this item:
1 ) Buy and Sell trailing based on the Average True Range (ATR) with an alert
2 ) 3 customizable moving average line
Blue: MA 1 (5)
Red: MA 2 (18)
Green: MA 3 (13)
3 ) Trend line indicator
Green: when CCI is positive
Orange: when CCI is negative
4 ) Trend card background-color based on EMA trend direction
Green: Uptrend
Red: Downtrend
Yellow: Neutral
5 ) Bursa Malaysia Limit Up and Limit Down indicator
Green Dotted Line: + 30% from last day closed priced
Red Dotted Line: - 30% from last day closed priced
6 ) Daily, weekly, and monthly VWAP line
Grey: Daily VWAP
Blue: Weekly VWAP
Silver: Monthly VWAP
7 ) Above and below daily VWAP indicator with alert
Blue Arrow Up: Price above daily VWAP
Blue Arrow Down: Price below daily VWAP
Trade with caution ✌️
Join data and union of 2 hystorical markets
How to create a union from two contiguous Tradingview tickers (series)
Francesco Marzolo March 18, 2021
Go to the older ticker of the two, for example CME: SP1! and open it on Tradingview.
On the graph thus created, add this script.
In the indicator settings select the same ticker as the chart in Symbol1
while in Symbol2 the ticker from which to retrieve the most recent data, for example: SPX500
The operation this script does is examine each bar of the two tickers, where there is a value for the second it holds this one, where it does not exist in second ticker it keeps the value of the first one. This new series is called Merge. So now in the chart there will be 4 series:
- that of the original chart without script
- the same series loaded via script (Symbol1)
- series 2 of "new" data (Symbol2)
- the Merge series that "prefers" the Symbol2 data if present, otherwise it shows Symbol1
So now you have to change the visibility of the 4 series to see the differences:
- turn off the visibility of the chart indicator
- turn off the Symbol1 series in the script properties (old data only)
- switch off the Symbol2 series as well (only new data)
- switch on the Merge series (new data if existing, old if not present in the new ticker)
EL Fly Candle (spinning top) by Epullemanhighlight spinning top candle with alerted volume > vol sma 20 and stoch above 50
Nirvana Price ActionYou can set it according to your own needs
The required display can be opened ☑
Do not need to display can be closed ❌
I chose to turn them on by default: inside bars ☑ pin bars ☑ price action bar names ☑ price action bars ☑
Colors can be customized
I wish you a smooth transaction!
Visual Candlestick Blender (Analysis Tool), by @BlueJayBird- This is a analysis tool.
Brief Description
- It generates candlestick containers for current timeframe, using OPEN/HIGH/CLOSE/LOW data from higher time frames.
- Current version supports up to 4 CVB at the same time. Usually using only 2 is enough.
- Vertical extended divisions for 1h, 4h, 1D and 1W using background lines are included too.
* Report any bugs or feedback you have.
NOTE. At current unclosed candlestick , some weird line painting it is expected. It is not a bug, it is a Trading View feature that I haven't been able to solve yet. To solve this, setting the VCB off and then on should be enough.
Renko + CandlesThis indicator has been designed to show you both candle chart and Renko chart in one place.
I think most of you are familiar with candle chart which is working with the time and price movements but Renko chart is based on price differences and is not related to the "time" parameter.
so if you see a Renko brick is appear up(or down) to the previous brick it means that a certain and fixed price movement has been occurred (which mostly calculate by ATR). and also this indicator works in any time frame.
Remember because we want both charts we have time parameter in this indicator, and if the price doesn't move up or down a certain percentage from previous bars, it will plot a renko bar beside the previous one.
you can use this indicator to see if the price moves up or down.
Or you can determine the important support and resistances with much less noises.
it can be used as a confirmation for you to keep your positions or exit.
go ahead and discover it...
If you have any questions, don't hesitate! ask in the comments section below.
Previous Two Day High and LowThis Script is used to find High Low for previous two days.
H1 is previous day high.
L1 is previous day low.
H2 is day before previous day high.
L2 is day before previous day low.
This H1, L1, H2 and L2 line can be used to determine support and resistance for symbol.
Configurable Yield CurveThis script draws the US Yield Curve (one month to 30 years). It can be configured to show earlier values using the "Yield values from x bars before" parameter. A value of five and chart time zone "1 day" will show the Yield Curve as it was five days ago. In addition, style settings of the Yield Curve line and the labels can be configured. The drawing engine is also optimized to reduce local and server-side computations.
EMA Cross 9,21,50,80,200 + Inside barEste script faz o seguinte:
1. Plota 5 EMAs (9,21,50,80,200)
2. Faz crossover da 9x21 e 21x50
3. Colore inside bar em amarelo (é possível ainda colorir diferentemente bullish e bearish inside bar)
NYCOB Kill Zone StrategyI have now turned the NYCOB Kill zone into a stand alone strategy!
Fully customizable in regards to time of entry and levels of entry but the standard settings are the best all around.
Original NYCOB Kill Zone text below
This script plots the H and L of the first 2 hours of the NYC session and shades the space between in which i deem the NYC Order Block
It also maps out the First two hours on the chart as well so you can understand when the OB has formed
Over the past 3 years of trading cryptocurrency i have noticed a phenomena that has occurred nearly every day
The H or L will 90% of the time will be posted in the first two hours of this session
knowing this means you understand if you just wait til this time you can better your odds at not getting stop hunted due to poor entry
A few things to take from this study are these.
1. after the OB is formed
2. whichever side gets taken out first (H/L) will 90% define the bias for the day. I have found that using the m13-m15 TF will add some more confirmation with 1-2 closes outside of range H/L/
3. After general bias has formed 2 things can happen
A) PA just takes off and there is really nothing you can do about it unless you had other studies that told you that will happen
B) PA will dip back INTO the OB and create the OTE which is any retracement below the .5 Fibonacci of the shaded OB
4. Typically OTE happens after the session has ended
5. If you used OTE off of the past days NYCOB then you can use the new (forming or just formed) NYCOB to CONFIRM your initial bias presented from the previous days OTE and bias.
6. When PA cannot close outside the NYCOB it presents a range to range play where PA will visit the opposite side of the range to chase liquidity,
7. When the NYCOB is TIGHT then deviation is more likely to result in price expansion, when the NYCOB is WIDE then deviation tends to present more range to range plays.
8. After bias is formed and OTE has been made your stops should always be outside the NYCOB. I use the m30 or H1 ATR to get a slight cushion from the OB to ensure i dont get stop hunted.
Standard TP are all set at the same level but you can adjust them accordingly
Shout out to Elevate-Trading family member Boederzeng for helping me with the code!
TrendSystem by DhruvThis Script take moving average, RSI and Awesome Oscillator in to consideration to get the idea about the trend of underlying symbol.
LepikkokynttiläSimple indicator highlighting Lepikkokynttilä.
You can tweak wick sizes, body size relative to candle size and colors.
Heikin Ashi+RSI+EMA Strategy 2.0 v4 [Cryptocurrency] by GodtrixHi,
I know a lot of people are looking for a more sophisticated and customizable strategy tool, I'm facing the same problem too, so I created one for myself and decided to share it for free trials and if you think this tool do what you wanted, you can contact me for the subscription "Premium" version.
I'll keep it simple with point forms, if you have any further inquiries or questions, please feel free to message me. Thank you.
Best profit plan with this strategy is you trade on Future leverage while you hold on to your coin, so that when price goes up, your coin value goes up, and at the same time, you trade with your leverage to earn even more, easily doubling up your total profit.
Benefits:
Fully customizable and you can easily personalized it and FINE TUNE it according to the market or coin you trading on.
The strategy is based on REAL PRACTICAL trading skills, so it works in real-world.
I fixed the "repainting" issue so the backtest it shows you IS ACCURATE when you run for real-time.
We all know one indicator is not going to help you win your trades, so this strategy combines ALL three: EMA for long+short term trend, HA for short term trend, RSI for entry/exit
This strategy is designed for LONG trade (Buy low, Sell high), not for SHORT trade.
This is not day trading, it is more to mid-term trading, where there's only few trades per month
Mainly is coded to work with 3Commas bot auto trading, so you only need to key in your Bot ID & Email Token.
Bot trading NOTE:
You need to replace the Alert Message with this: {{strategy.order.alert_message}}
One Alert will work for both Buy and Sell Order
If you using other Bot service, you can enter Custom Command too, so it works on any bot service.
Lastly,
regarding the setting advice, I would say you try playing with different settings and your objective is to achieve a backtest result that has:
1) Profitable is > 80%
2) Losing trades is nearly 0 or below 25% of your winning trades. Trick is using far stop loss %
3) Net Profit be almost same or more than "Buy & Hold Profit"
If you interested in our subscription version, message me for price.
Best Luck & a million dollar profit to you,
Godtrix BITSTAMP:BTCUSD BINANCE:DOTUSDT
4H Closes [Intromoto]This script is one level from the "closes" script, but as an individual script, this allows more historical closes to be observed at once.
Shows 4 hour closes from the exact candle, regardless of time frame.
Number of lines plotted is limited by tradingview/pinescript, show will only show a certain number i.e recent weekly levels.
Lines can be styled by user: Thickness, solid vs dotted vs dashed, range of colors, label size and X location.
The "line.new" function requires that you 'show' the indicator where the close occured, in order to have the line show. The labels are there regardless and will remind you of the level, with or without the line. This is also true if you change chart resolution. You may have to 'search' for the close to have the line show up.
DM for access.
Thanks!
6H Closes [Intromoto]This script is one level from the "closes" script, but as an individual script, this allows more historical closes to be observed at once.
Shows 6 hour closes from the exact candle, regardless of time frame.
Number of lines plotted is limited by tradingview/pinescript, show will only show a certain number i.e recent weekly levels.
Lines can be styled by user: Thickness, solid vs dotted vs dashed, range of colors, label size and X location.
The "line.new" function requires that you 'show' the indicator where the close occured, in order to have the line show. The labels are there regardless and will remind you of the level, with or without the line. This is also true if you change chart resolution. You may have to 'search' for the close to have the line show up.
DM for access.
Thanks!
Empirical MomentsBINANCE:BTCUSDT I thought I’d make an indicator for the “fast trader”. This indicator compares the changing high prices with the close prices and in doing so, detects positive “anomalies” (the outlier drift). It gets more complicated than that; the practical indicator is the “empirically weighted drift”, which is a weighted average of the former with its derivatives up to the third order I.e. the “outlier yank”. The empirically weighted drift crossing above and below zero with long and short actions, respectively is used as the strategy. With this strategy, current backtesting for the 15 minute BTCUSDT on the Binance market yields a Sharpe ratio of 1.47 and profit factor of 1.12. Publishing the strategy as well.
Digit Sum - NumerologyThis script calculates the digit sum of a chosen source.
Only possible thanks to MichelT String to Number Script.
Pinescript - Common String Functions Library by RRBCommon String Functions Library by RagingRocketBull 2021
Version 1.0
Pinescript now has strong support for arrays with many powerful functions, but still lacks built-in string functions. Luckily you can easily process and manipulate strings using arrays.
This script provides a library of common string functions for everyday use, such as: indexOf, substr, replace, ascii_code, str_to_int etc. There are 100+ unique functions (130 including all implementations)
It should serve as building blocks to speed up the development of your custom scripts. You should also be able to learn how Pinescript arrays works and how you can process strings.
Similar libraries for Array and Statistical Functions are in the works. You can find the full list of functions below.
Features:
- 100+ unique string functions (130 including all implementations) in categories: lookup, testing, conversion, modification, extraction, type conversion, date and time, console output
- Live Output for all/selected functions based on User Input. Test any function before using in script.
- Live Unit Test Output for several functions based on pre-defined inputs.
- Output filters: show unique functions/all implementations, grouping
- Console customization options: set custom text size, color, page length
- Support for Pages - auto splits output into pages with fixed length, use pages in your scripts
- Several easy to use console output functions to speed up debugging/output.
WARNING:
- Compilation Time: 1 min
Notes:
- uses Pinescript v3 Compatibility Framework
- this script is packed to the max and sets a new record in testing of Pinescript's limits: 500 local scopes, 4000+ lines, 180kb+ source size. It's not possible to add more ifs/fors/functions without reducing functionality
- to fit the max limit of local scopes = 500 all ifs were replaced with ?: where possible, the number of function calls was reduced, some calls replaced with inline function code
- ifs are faster (especially when lots of them are used in a for cycle), more readable, but ifs/fors/functions increase local scopes (+1) and compiled file size, have max nesting limit = 10.
- ?: are slower (especially in for cycles), hard to read when nested, don't affect local scopes, reduce compiled file size, can't contain plots, for statements (break/continue) and sets of statements
- for most array functions to work (except push), an array must be defined with at least 1 pre-existing dummy element 0.
- if you see "String too long" error - enable Show Pages, reduce Max Chars Per Page < Max String Length limit = 4096.
- if you see "Loop too long" error - hide/unhide or reattach the script
- some functions have several implementations that can be faster/slower, use internal code/ext functions
- 1 is manual string processing using for cycles (array.get) and ext functions - provided in case you want to implement your own logic, may sometimes be slower
- 2 is a 2nd alternate implementation mostly done using built-in functions (array.indexof, array.slice, array.insert, array.remove, str.replace_all),
attempts to minimize local scopes and dependency on ext functions, should generally be faster
- 3 is a 3rd alternate (array.includes, array.fill) or a more advanced implementation (datetime3_str) with lots of params, giving you the most control over output
- most functions have dependencies, such as const names, global arrays, inputs, other functions.
P.S. Strings of Time may be closed unto themselves or have loose ends; they can vibrate, stretch, join or split.
Function Groups:
1. Char Functions
- repeat(str, num)
- ascii_char(code)
- ascii_code(char)
- is_digit(char)
- is_letter(char)
- digit_to_int(char)
- is_space_char(char)
2. Char Test and Lookup Functions
- char_at(str, pos)
- char_code_at(str, pos)
- indexOf_char(str, char)
- lastIndexOf_char(str, char)
- nth_indexOf_char(str, char, num)
- includes_char(str, char)
3. String Lookup Functions
- indexOf(str, target)
- lastIndexOf(str, target)
- nth_indexOf(str, target, num)
- indexesOf(str, target)
- numIndexesOf(str, target)
4. String Conversion Functions
- lowercase(str)
- uppercase(str)
5. String Modification and Extraction Functions
- split(str, separator)
- insert(str, pos, new_str)
- remove(str, pos, length)
- insert_char(str, pos, char)
- remove_char(str, pos)
- reverse(str)
- fill_char(str, char, start_pos, end_pos)
- replace(str, target, new_str)
- replace_first(str, target, new_str)
- replace_last(str, target, new_str)
- replace_nth(str, target, new_str, num)
- replace_left(str, new_str)
- replace_right(str, new_str)
- replace_middle(str, pos, new_str)
- left(str, num)
- right(str, num)
- first_char(str)
- last_char(str)
- truncate(str, max_len)
- truncate_middle2(str, trunc_str, pos, max_len)
- truncate_from2(str, trunc_str, pos, max_len, side)
- concat(str1, str2, trunc_str, max_len, mode)
- concat_from(str1, str2, trunc_str, max_len, side, mode)
- trim(str)
- substr(str, pos, length)
- substring(str, start_pos, end_pos)
- strip(str, mask, target, is_allowed)
- extract_groups(str)
- extract_numbers(str, d1, d2, mode)
- str_to_float(str, d1, d2)
- str_to_int(str)
- extract_ranges(str, d1, d2, d3, type)
6. String Test Functions
- includes(str, target)
- starts_with(str, target)
- ends_with(str, target)
- str_compare(str1, str2)
7. Type Conversion Functions
- tf_check2(tf)
- tf_to_mins()
- convert_tf(tf)
- period_to_mins(tf)
- convert_tf2(tf)
- convert_tf3(tf)
- bool_to_str(flag)
- get_src(src_str)
- get_size(size_str)
- get_style(style)
- get_bool(bool_str)
- get_int(str)
- get_float(str, d1, d2)
- get_color(str, def_color)
- color_tr2(col_str, transp)
- get_month(str)
- month_name(num, format)
- weekday_name(num, format)
- dayofweek_name(t)
8. Date and Time Functions
- date_str(t, d)
- time_str(t, d)
- datetime_str(t, d1, d2)
- date2_str(t, d, type)
- time2_str(t, d, type)
- datetime2_str(t, d1, d2, format1, format2)
- date3_str(t, template)
- time3_str(t, template)
- datetime3_str(t, template)
9. Console Output & Helper Functions
- echo1(con, str)
- echo2(x, y, con, str)
- echo3(v_shift, con, str, msg_color, text_size)
- echo4(x, y, con, str, msg_style, msg_color, text_size, text_align, msg_xloc)
- echo5(x, y, con, str, msg_style, msg_color, text_size, text_align, msg_xloc)
- echo6(x, y, con, str)
- echo7(v_shift, con, str, msg_color, text_size)
- echo8(x, y, con, str, msg_style, msg_color, text_size, text_align, msg_xloc)
- echo9(x, y, con, str, msg_style, msg_color, text_size, text_align, msg_xloc)
- new_page(str, line_str, trunc_str, header_str, footer_str, length, page_count, page, mode)