My BTC log curveLogarithmic regression of the USD price of Bitcoin , calculated according to the equation:
y=A*exp(beta*x^lambda + c) + m*x + b
where x is the number of days since the genesis block. All parameters are editable in the script options.
서포트 앤 리지스턴스
Automated - Fibs with Limit only ordersAutomated - Fibs with Limit only orders
This script was designed to demonstrate how you can use a single alert to move your limit orders around.
It is not meant to be traded live and has been built to work with Binance Futures Testnet.
You will notice a lot of plots with 5 different titles.
New = Place your limit buy at a fixed-price.
Move = Cancel the current limit buy and place it at the new fixed-price.
Filled = Cancel any limit closes and places them anew based on the new average and take profit.
Cancel = Cancels exisiting limit buys.
Cloes All = Limit close filled, no commands necessary.
The default quantity in the command is the minimum order size on Binance.
Settings
Live
- If enabled it will only place trades after the "Stat Timestamp + Start Delay" that you provide.
Start Timestamp
- Use something similar to epochconverter to get the current timestamp.
Start Delay
- Gives you 1 minute by default to start the script and create your alert before it begins looking for a new entry.
Leverage
- Default 1. Affects the "Take Profit and DCA When" Settings.
Take Profit %
- This is the percentage above the current average you'd like to place your position close at.
DCA When %
- The percentage below your last entry that you're willing to buy again.
Note: This strategy has no stop-loss and pyramiding is enabled. It is not built for, or recommended to run live.
I hope this opens some doors and helps advance your personal trading system.
Good luck and happy scripting!
Support Resistance - Aging [Example]Hello All,
First all of Thanks to Pine Team for adding Arrays to Pine!
In this script I tried to make example for
1. Finding S/R lines using highest/lowest function
2. Using 1D array as 2D (we keep S/R levels and age)
3. "Age" usage for S/R levels, getting older on each candle and changing colors by their age (maximum age is 127 then it disappears)
You can use "Close"/Open " or " High/Low " as source.
There is an option for the background color, by default it's Black, do not forget to set it accordingly :)
Enjoy!
Support and Resistance Lookback basedSupport & Resistance based on the highest and lowest values of a lookback period
Linear Regression ChannelsThis script tries to find when a trading channel is developing and once is developed it will save it for later use on 2 variables up and down channel. You can access the last 2 channels for comparisons but this could be extensible for more channels.
You can choose the delta for the alignment accuracy of the channel.
The error for the difference between channels and the deviation for the width of the channel based on standard deviation.
Offset is for the alignment basically if the alignment is the same at the begining and at the offset the algo consider that a Channel.
All time Fibonacci RetracementThis script calculates and plots the All time Fibonacci Retracement of the chart.
It's based on the ATH (All Time High) and the ATL (All Time Low).
Made simple, you can choose which levels you wanna plot in the parameters menu.
Enjoy !
Volume Support & Resistance multi timeframe [LM]Hello guys,
I would like to introduce you volume support and resistance horizontals. It draws line horizontal on high and low high volume candles that has volume above volume MA for certain period multiplied by multiplier and also the volume is increasing from previous volume . You can select lines on this timeframe and/or another one.
The colors are dynamic depending whether price is below or above the line:
for the current timeframe green is used for support and blue for resistance
for the other timeframe by default 4h orange is used for support and violet for resistance
There are various sections in setting:
volume - here you can select SMA volume length and multiplier
show and hide section of the current timeframe
other timeframe
show and hide other timeframe horizontals
I'm mainly looking smaller timeframe and trading higher timeframe from level to level
Any suggestions are welcome
Pivot Support & Resistance multi timeframe [LM]Hello guys,
I would like to introduce you pivot support and resistance horizontals. It draws line horizontals on high and low high pivot candles . You can select lines on this timeframe and/or another one.
The colors are dynamic depending whether price is below or above the line:
for the current timeframe green is used for support and blue for resistance
for the other timeframe by default 4h orange is used for support and violet for resistance
There are various sections in setting:
current timeframe pivot setting
show and hide section of the current timeframe
other timeframe pivot setting
show and hide other timeframe horizontals
I'm mainly looking smaller timeframe and trading higher timeframe from level to level
Any suggestions are welcome
Position Size CalculatorThis is a script to make calculating position size easier. It calculates position size as a percentage of account balance and Risk/Reward based on input values of entry, exit, stoploss and shows the R/R box similar to tradingview's R/R tool. There is an option to toggle showing label and choosing of label text color.
Have to enter the following inputs in order for it to work properly
1. Account Balance : Account balance in either whatever is base currency of account
2. Risk % : Percentage of account balance to lose if stop is hit.
3. Entry
4. Stoploss
5. Target Price
Notes:
- Target Price is required for calculating R/R but is not necessary to calculate position size.
- Formula to calculate position size is : Balance * Risk % / SL %
- Formula to calculate R/R is : TP % / SL %
- SL % = ( Entry - SL ) / Entry * 100
- TP % = (TP - Entry ) / Entry * 100
Thanks to u/Chonky_ for help with feedback.
Noro's Trendlines IndicatorTo create the script I used the LonesomeTheBlue code. Thank him for his code.
The indicator shows trend lines. Up to three support lines (red) and up to three resistance lines (lime). There can be up to 6 lines at a time. However, most often there will be from 0 to 1 line. Trend lines may be extended to the right. For this purpose there is a checkbox in the setting. This is the way you may adjust line thickness.
For example, how to use
The indicator shows you the support line (red) and the resistance line (lime). If the line is crossed, the price may move a lot towards the breakout.
In a few days.
unRekt - CloseLinedThis script will show the "Fibonacci" Close levels for 9 inputs. Currently set from 8, 13, 21, ..., 377. These lines can then be used for Support and Resistances. Source and Inputs are adjustable.
Auto Analysis Short-term Reversals ExplorationAuto Analysis Short-term Reversals Exploration
Based on a study by Larry Lovrencic
Closing Price Reversals Automatic Analysis
Hook Reversals Automatic Analysis
Island Reversals Automatic Analysis
Key Reversals Automatic Analysis
Open/Close Reversals Automatic Analysis
Pivot Point Reversals Automatic Analysis
Support Resistance - Dynamic v2Hello Traders!
After the addition of "Arrays" to the Pine, I developed new and improved version of Support Resistance - Dynamic script as version 2. In this script Arrays were used. This can be used as Support Resistance tool, also it will be an example for the people who want to learn Array usage in Pine. Many thanks to Pine Team for adding Arrays!
The script finds the Pivot Points and check them in channels if there can be S/R or not, and draws mid line of the channel as S/R line. you can set number of PPs and channel width in the options. Each channel width is optimized dynamically according to Pivot Points. Also you can choose " High/Low " or " Close/Open " as source for Pivot Points.
There is an option for maximum number of S/R levels. S/R levels are found and sorted dynamically and number of S/R lines with enough strength changes dynamically.
Some other options for coloring and line width. (Solid, Dashed or Dotted)
S/R levels are shown in the Labels and Label colors are changed automatically, if S/R line is below the closing price then it's color is Green (as Support), otherwise its color is Red (as Resistance).
Examples:
Enjoy!
Smoothed CandlesHello Traders,
This is " Smoothed Candles " script to get rid of noises and to get a smoothed chart to figure out breakouts and price movements easily.
There are three scaling methods: User Defined, Dynamic (ATR) and Percentage
Optionally you can add 2 Simple Moving Averages and 2 Exponential Moving Averages
Optionally you can hide the Wicks, example:
You can add moving averages:
Easily find breakouts:
Enjoy!
NR4 & NR7 IndicatorDisplays narrow range candles.Can adjust the input value to any period to look back.Ideal to use in daily and weekly time frame. Look out for clusters of NR candles depicting volatility contraction, and subsequent volatility expansion can be look forward to. The code is written by Rounak ST of Trade with trend.
S&R study of different MAs and lengthsThis is a study on different moving averages across different lenghts to see which lengths or ma types have the most S&R action on them.
In the data window you can see the number of support and resistance instances for each length divided by the number of price crosses of the ma
Also you can see in time adjusted which % of the time that line acted as a S&R
Then it lets you select the best MA and length and see with the bar colors the areas where it behaved as S&R or when it didn't
Static + Dynamic LevelsShows static and dynamic levels which can act as support/resistance. These are important as there is a lot of users who are interested in buying/selling at these prices.
Static Levels include -
Daily/Weekly/Monthly/Yearly Open (changes color depending on if below or above price)
Previous Daily/Weekly/Monthly/Yearly Open
Previous day's High/Low
Dynamic Levels include -
100/200 Daily MA
100/200 Weekly MA
Dynamic Range here comes open source version of notorious JFT Indicator ( the indicator access you can get in some bucks ) on various telegram channels however they will not give code.
Now how it works
1. 2 ranges derived from indicator are supposed to be a consolidation zone and any close above or below is supposed to give a good move.
2. I personally consider it as may be addition to price analysis. ( i don't believe much in indicators,even simple MA gives fruitful results when there is good move in market )
3. Range can be drawn on chart with various resolution ( Daily/Monthly/Weekly )
PS: I coded myself based on data analysis shown by access only indicator. In case you use it for your publication don't forget to give credits.
Thanks,
daytraderph
swing tradeTHIS strategy is based on the
franklin ochao swing trade book
confirmed bullish - when ever stock closed above R2 (more bullish)
when ever stock closed between R1 AND R2 (moderatly bullish or consolidation phase with respect to previous trend)
entry1 for more bullish trend is buy at every dips means when ever price low below pivot when it open above the pivot
entry2 for more bullish trend is buy at low is below s1
keep strictly stoploss at s1 of previous day (r2 close day)
trend reversal is possible once stock close below s1 in 1hr time frame
virgin cpr or missed pivot is added a advantage
For bearish mode this vice verse
GMS: VWAP with Percent BandsThis is a pretty straight-forward script. I just wanted to see percent bands around the VWAP after looking at the standard deviation bands for a while and even dabbling with keltner channels. This is the cleanest in my opinion. The script is open so feel free to poke around!
The default settings are below, just to confuse 0.25 with 25%.
0.25 = 0.25%
0.5 = 0.50%
0.75 = 0.75%
PS - it's not multi-timeframe yet. That'll come in the next update.
Hope this helps,
Andre
Williams Fractals with Alerts by MrTuanDoanCustom William Fractals for alerts and educational purpose.
Added custom alerts for Williams Fractals.
Also added filter to show less fractals on chart.
The simple idea how I use fractals in Binary Option is to determine temporary resistance and support.
Simple strategy:
- Mark Resistance/Support on higher time frame (e.g. 5M)
- Set an alert for new fractal
- Whenever a new fractal that appears close to your marked Resistance/Support, go to lower time frame (e.g. 1M)
- Wait for rejection at the level that lower than new down fractal (or higher than new up fractal).
- Enter with the same expiry of lower time frame.
Good luck and happy trading. :-)