Support and Resistance
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.