K线分析
Volume/$ - Color Trend BarsThis is the volume script I use on all my charts. The idea is to emphasize trend bars with green and red.
Highish volume doji bars are colored yellow to point out range compression churn areas which can often be the turning point of a trend.
Range: OHLC vs Previous OHLCThis will plot your choice of OHLC (or any of the averaging choices) of the current candle compared to the previous candle.
For example if you choose "high" for the input and set the chart to daily, you'll see the currently daily high vs the previous daily high.
Green candle represent a higher high and the length of the candle represents how much higher.
Red candles represent a lower high than the previous day and the length is by how much lower.
This indicator is pretty straight forward, look for me to build on this with something a little more elaborate in the near future.
Up Down Alerts with MA Control - v2.0this update is meant for use with regular candles, but it will mimic the color pattern of heikin ashi candles and allow alerts based on the heikin ashi patterns. Also there are alerts for when the price is above a set moving average.
was going to just update the original script but there are a lot of changes to make it smoother etc, original script:
Three Outside Down Backtest This is a three candlestick bearish reversal pattern consisting of a bearish
engulfing pattern formed by the first two candlesticks then followed by a down
candlestick with a lower close than the prior candlestick.
WARNING:
- For purpose educate only
- This script to change bars colors.
Three Outside Down Strategy This is a three candlestick bearish reversal pattern consisting of a bearish
engulfing pattern formed by the first two candlesticks then followed by a down
candlestick with a lower close than the prior candlestick.
WARNING:
- This script to change bars colors.
3 BAR ENGULFING SETUPScript that highlights bullish and bearish engulfing candles after two candles in the opposite direction.
Security() Correction - Realtime vs. Historical BarsProblem
Pine's implementation of the security() function behaves differently in realtime vs. historical bars. Specifically, for historical bars, calling security() for a time frame (TF) larger/slower than the current chart's TF will return information about the last completed bar of the higher TF. However, for realtime bars (i.e. if you allow the chart to continue to plot in realtime), security() returns information about the presently in-progress bar of the higher TF. Clearly, this leads to discontinuity that is arbitrarily dependent upon when the user last loaded or refreshed the chart.
Solution
Fortunately, after understanding the problem, solving it is trivial: use security() normally for historical bars, but switch to explicitly requesting prior candle bars once the indicator is operating on realtime bars. I leave the source open here for any to use as they see fit. For testing, I include an input to allow switching back and forth between standard and corrected behavior.
Figure 1 displays the standard behavior we see in security() calls, and Figure 2 displays the behavior after my correction:
Figure 1: Typical security() behavior in Pine
Figure 2: Corrected security() behavior, forcing historical and realtime bars to refer to the same higher TF bar offset.
I publish this mostly as a reminder to myself, so I will not forget and then have to figure it out again next time it comes up in my scripting.
V21: Initial release.
HTF High/LowThis simple script draws the previous higher timeframe candle high/low to your chart.
You can also make the script paint the zone between the low/open and the high/close.
BH - Candlestick Pattern DetectionThis is a script to help the beginners locate the candle patterns. It has a nice code that can be used in other scripts too. Easy to use with separated functions, simple patterns and complex patterns detections.
I have done some updates at the Candlestick Patterns Identified script by @repo32. Was a good start of my ideia. Tks for sharing repo.
It will be always under constant development but I want to share this first version to know what can be done to get better, improve, get more desired patterns, know what are you guys using that could be helpful.
I still need to check if all patterns are correct.
Any comments, help and suggestions will be appreciated.
Marcos Issler @ Isslerman
Three Inside Up Backtest This is a three candlestick bullish reversal pattern consisting of a
bullish harami pattern formed by the first 2 candlesticks then followed
by up candlestick with a higher close than the prior candlestick.
WARNING:
- For purpose educate only
- This script to change bars colors.
prior Price v2.8限界運動量インジケータのテスト投稿。
・前日高値(赤ライン)
・前日安値(緑ライン)
・先週終値(白ドット、大きさ3)
・当日始値(白ドット、大きさ1)
・限界運動量:Limit
・限界運動量:HighLimit(紫ライン)
・限界運動量:LowLimit(紫ライン)
限界運動量は20日平均で取得していますが、日数はユーザーの設定で調整できます。
入力タブ、スタイルともにチェックがついてないと表示されないので、注意してください。
Binance TRX & BTTShows TRX with BTT, subtracted or added to. Subtracting makes it in line with BitMEX futures. The option to add is considered for 'true value'. Airdrops, like new coin forks, can split value: a good example being BCHABC and BCHSV.
Getting TRX futures to match TRX on Binance is likely tied to the monthly airdrop rate as defined here: support.binance.com
I'm guessing it has something to do with (spot price * estimated airdrop rate) trading too far from futures. Maybe even too close. Or because futures are trading above spot near a monthly airdrop snapshot. Much complicate. Such guess. Wow.
Binance is chosen as pricing source for its liquidity and earliest open date.
Three Inside Up Strategy This is a three candlestick bullish reversal pattern consisting of a
bullish harami pattern formed by the first 2 candlesticks then followed
by up candlestick with a higher close than the prior candlestick.
WARNING:
- This script to change bars colors.
Three Inside Down Backtest This is a three candlestick bearish reversal pattern consisting of a bearish
harami pattern formed by the first 2 candlesticks then followed by down
candlestick with a lower close than the prior candlestick.
WARNING:
- For purpose educate only
- This script to change bars colors.
Basic Hammer StrategyThis is a basic strategy that will buy after a hammer is printed, and sell when a predetermined risk or reward price is hit. You can change the risk and reward values in the settings. Risk and reward values are in increments of $0.01. Default values are 75 ($0.75) and 200 ($2.00). If the strategy is producing losses, try adding a zero to the end of the risk value and the reward value. Example: Higher valued stocks may do better with a Risk of 750 ($7.50) and a Reward of 2000 ($20.00). Maybe even a Risk of 750 ($7.50) and reward of 1000 ($10.00). Play around with these values to get the best result for different charts. Initial investment is set to $1000
Three Inside Down Strategy This is a three candlestick bearish reversal pattern consisting of a bearish
harami pattern formed by the first 2 candlesticks then followed by down
candlestick with a lower close than the prior candlestick.
WARNING:
- This script to change bars colors.
Three-Bar Inside Bar PaternAuthor: Johnan Prathap TASC March 2011
The typical inside bar two-bar view indicates minimal activity in a market. It is defined as a bar (or series of bars) that is completely within the range of the preceding bar; that is, it has a higher low and lower high than the bar immediately before it. Some traders consider a bar an inside bar if the high and low are equal to the previous bar or where there are several consecutive bars within the range of a previous bar.
Many analysts tend to view inside bars as an indication of declining market activity, or possibly a prelude to a large movement in either direction.
By Traders For TradersThis is an updated version of my previous script, I have added a few extra Patterns and some patterns specs have chnaged over those specified by "Price Action Battle Station by theforexguy".
Because this script has diverted from the original specification of "theforexguy", I have decided to release it as a new version. Improvements have been made to some of the pattern finding calculations, for example Hammer and Shooting Stars are now special Pin Bars, they now must have preceding and succeeding confirm bars, so they do not occur very often.
NOTE: All the identification of PA candles is disabled by default.
Changes made in Version 2.0 :
Added Forex Morning and Evening Stars (the centre small candle is not a specific color).
Abbreviated text names for less cluttered look.
Change minimum/maximum bar sizes to be a % of current ATR, rather than pips, this makes relative sizing independent on Time Frame, and make the script work better with non-currency assets like stocks and commodities .
Change definition of Hammer and shooting Star so the the previous candle is part of a trend and is followed by a confirm candle.
Added some precendence test to reduce multiple action labels.
版本注释: After some feedback from fellow traders I have made the following changes:
Definition for Outside Bar now does not require the previous bar to be opposite Colour (this the same as Inside Bars), but added a requirement for minimum size ratio compared to previous Bar (set to 1.1 by default). If you require previous Bar to be opposite colour, you could use Engulfing candles with Outside Bar option enabled.
Added Maximum size ratio requirement for Inside Bars (set to 0.9 by default).
版本注释: Minor Update.
Added OverSized candle Pattern, the pattern is labelled when candle is some ratio (default 5) bigger than current ATR of chart time frame.
Added Option to Change ATR Length.
版本注释: Patch
Correct Polarity of Oversize Bar labelling.
BEARISH Dark Cloud Cover/BULLISH PiercingThe script highlights the 2 candlesticks pattern: BEARISH Dark Cloud Cover/BULLISH Piercing on the main chart screen, and has a preset alert condition. Please use an oscillator that shows oversold and overbought conditions with this script (i.e. StochRSI oscillator).