Breadth Indicators
5 Sessions RangeThis script averages the range of the previous 5 sessions and displays it on the chart
The sessions are adjustable
BSTtrend (and a quick note on trading psychology)Hi again :)
Script #2 for tonight, more to come :)
This one is a Pine transcription of a FXCM/LUA script called BSTrend
I used it years ago to trade index on very low timeframes with it. I'm always looking for oscillators that are more reactive than the traditional MACD. And even more reactive than the MACD Zero Lag
This is a proof of concept that Pinescript is my favorite trading programming language vs MT4/LUA/PRT. I just find it easier and the Pinescript community is helping a lot
With the BSTrend you can win but also lose. I see a lot of scripts out there but there is not a better or worst indicator. The key is HOW to use it.
In other words the key is your PSYCHOLOGY, without a rock-solid psychology, you'll end up committing a mistake even with G. himself whispering "BUY NOW", "SELL NOW" to your ears. (wait..... Do you mean this is happening only to me ????)
However, indicators help immensely in reducing the psychology pressure that we have to endure ... sometimes for days..... But better not to overcharge with dozens of indicators per chart and have a tool to detect whenever there is a confluence/convergence of your favorite indicators :) #algorithm #builder
I'll publish an educational post about next week
Those are the exact words that my mentor traders told me 6 years ago when I started trading
PS
____________________________________________________________
Be sure to hit the thumbs up as it shows me that I'm not doing this for nothing and will motivate to deliver more quality content in the future.
- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
OBV with Auto Fibonacci LevelsI like to use OBV as a summary of the order book action + I added Fib levels from my other script for more context. I typically trade swings on H4, and HMA of the OBV helps me set the bias/trend.
Mega Trend Plus - S&P 500 Trend Follower / Market GaugeFirstly, 100% of the credit goes to Greg Morris @ Stockcharts.com for the article detailing the concept and most of the settings/components. I've simply implemented his idea. I haven't sought permission from him, but given that he was open with the components of the indicator I'm assuming he's happy for me to go ahead and code this in pinescript. See the article here: stockcharts.com
Okay, so this is part of a system/indicator Greg outlined in the article that he calls Trend Gauge. The idea is fairly simple: take a group of indexes that cover the breadth of the market you want to trade, track their relationship/position to their 200 period Exponential Moving Average (EMA), and assign scores to bull/bear crosses + relative location to the EMA. Once you've normalized and aggregated the scores you finish up with a trend following indicator that works surprisingly well.
This part is called Mega Trend Plus, and tracks whether an index is above or below its 200 period EMA. I'll be releasing the second part ("Trend Strength") soon. Once that's done I'll combine them to form the full "Trend Gauge" indicator.
I decided to provide the base version that people can then experiment with and tweak to their liking, so Greg's version shown in the article is smoother than the one provided here. It's up to you to play with smoothing options, and potentially tweak the weightings of the various components. Please see the script for info on what the various inputs are - I've added notes there.
So, how does it do? Well, as you can see from the chart above it works pretty well overall. The S&P 500 has been fairly trendy over the last few decades, so it's been prime territory for a system like this. It would have kept you out of the big bear markets (particularly GFC & 2015-16), and that's the goal of any trend-based system. They thrive on how little they lose, not necessarily on how much they make.
As you can see, the indicator is pretty choppy. So it's not designed (in the current configuration) to provide accurate buy/hold/sell signals. It currently functions more as a market gauge / strength indicator.
Hopefully you find this concept interesting. It's simple, but the best systems often are.
Please add comments below if you come up with an interesting configuration or variation.
Let me know if you have any queries.
DD
TA-Money Flow-Version3This is the MACD of a stochastic OBV movement indicator. It is good (right) to work with both price and volume. I've included highlighting based on price divergence. It works great on any time frame, but you need to have volume data. Not sure where I originally got this (stoch-OBV, somewhere off Tradingview several years ago, thanks to the person who shared), just publishing because of a request.
Enjoy.
Version 2 - TA-Money-Flow-v2-Stochastic-OBV
OVL_Kikoocycle Beta_Pine3This script use :
- A custom Chande Kroll Stop for generate the channel
- Some custom Parabolic S.A.R for generate cycles
This script can be separated into 3 categories:
- Channel Kroll generator : one layer for the actual interval and a layer for a Large Timeframe .(with ratio)
- "Range" generator : one layer for actual Interval and a layer for a Large Timeframe.(with automique ratio)
-Targets generator : one layer for actual interval with different trend.
"Channel Kroll" :
- I "hijack" the Chande Kroll Stop formula with custom parameters for generate this channel. Overall, it works like other types of channels like BB, etc... A midline and two borders. The thickness of the borders are relatively important here. A thick border shows some resistance of the area. And so the probability of seeing the market return to its first contact is stronger. While a very thin and vertical border would rather play the role of a breach, a bit like the idea of gaps. Often the market seems to want to go after several cycles.
You can activate its Large TimeFrame version, its midline is strong and fine borders helps to judge the risk.
SARget + "SAR Limited" :
- (S.A.R + targets) The philosophy of this function is simple... When a small cycle is broken, it creates a mark on a higher cycle. So on until the SAR called "SAR Limited". For simplicity, imagine a fractal image but inverted ... Break the small figure, it will mark the larger figure at this time but to get there you still have to make the way to the small figure.
Targets are : cross ("+") for fast targets(hidden by default because, theire work only on lower interval), squares (for medium trend), Xcross(for large trend) and red cross(they try to find a large contexte). When a target proc, it is for later (market need some cycles for going to, but it is relative to your interval). This gives you speculative goals.
Why 2 targets for a same type and a triangle with a 90deg angle : This give a potential area for management.The triangle help to visualize the SAR and to juge the market reaction. You need to adapte your trade with that...
Targets may be slightly too far because I am a bad coder... Currently the targets appear at the moment of rupture but it would be necessary to wait for the end of the breaking movement. Which can bring a positional error if the break is violent.
RnG and LTF RnG :
- Attempt to generate a Fibo range for each cycle and see interressing areas to enter or exit. This is played with the same philosophy as the Fibo extensions and retracement.
When a new RnG is generated, do not rush. It appears showing 50/50 for both sides. When a new RnG is generated, do not rush. It appears showing 50/50 for both sides. As long as the market is out of the middle zone (the 3 lines) keep in mind the past RnG.
When the market is out of range, you can use the FibRetracement tool for have extensions. One point at each end, as on the presentation graph. (Values 1.14, 1.272, 1.414, 1.618, 1.786, 2, 2.4 and 4 work well.) If too extrem you can active the LTF version.
Never fomo a break, market like to pull a level... Observe and be patient.
It's easier to use than to explain xD
NB : Do not use the LTF as context. For this, it is better to look at a higher interval.
I invite you to look in the style tab of the script and deselect the plots named UNCHECKEME, this will ease your browser.
VWAP BandsThis indicator plots distant VWAP lines that serve as support and resistance. You can add more lines from the script.
Good trades!
Bottom Buy Locator XV2.1 |Specified 8hr|TheRealDemoEnjoy this one, was not easy to get perfect. It works the best on the 8 hour but is pretty reliable on most higher frames.
Liquidation Points for 50 and 100 Leverage V1First basic cut for all those who get liquidated.
The theory behind the liquidation system for Bitmex, shows an estimate where other trader's liquidation prices might be and ultimately how one can exploit other trader's losses for one's own gain.
I have left the code for the x25 leverage level if you wish to use.
If you wish to understand the theory more go to www.youtube.com
I have used vitvlkv’s Day/Low Code to assist in the calculations -
If somebody could improve on this. It would be great. Thanks
[RESEARCH] Litecoin Halving UTC CountdownAccording to this source www.litecoinblockhalf.com
The day, hour and minute of the halving date can be customized manually in case of mining troubles.
[RESEARCH] UTC ClockThe one of the most important indicators every trader must use is time :)
Sometimes it has a lag due to the script recalculation per each candle tick (not every second)
[RD] LCS - line channels (basic) v3 - [republish]==================================================================
July 18 2019 - LCS - line channels (basic) by RootDuk
Version : v3 - read the notes
==================================================================
Easy script to draw channels based on ie. GANN using the following
input params
- ibback : barsback to search for high and low
- ffactor : factor to up/downscale the lines
- oextend : extend lines, left, right, both, none
- bshowline : show horizontal lines yes/no
- bsshowdown : show diag down lines yes/no
- bsshowup : show diag up lines yes/no
- bshowindm : show index marker, where is you current ibback
===================================================================
Notes
===================================================================
When you use this code, pls let me know where and how you used it
as iam always curious what some can do with it. Thanks!
===================================================================
Updates
===================================================================
v1
v2 - July 17 2019
- Removed support wallets from source code. I think the source
- has been deleted because of this, find no other clue.
v3 - July 18 2019
- Republish
ONLY LONG V4 [Alerts]Let's try the Version 4 ...
This script is only for long positions.
It's based on the conjunction of RMI + ADX + RSI for entries and only with Take Profit to close the position.
It doesn't have security (), nor Heikin Ashi, so the Backtest is Real.
Use always 'Once per bar'.
It doesn't repaint absolutely nothing at all.
Timeframe: 15 minutes
Have fun improving it ...
Enjoy!
Tips ...
BTC: 3LEUP3WjQctdbFjBavcmRGUVRBje8bptCd
ETH: 0x518AAD4746912ae506c82B747488306186c4d546
Higher High Lower Low Strategy (With Source Code)This script finds pivot highs and pivot lows then calculates higher highs & lower lows. And also it calculates support/resistance by using HH-HL-LL-LH points.
Generally HH and HL shows up-trend, LL and LH shows down-trend.
If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script changes bar color blue or black. if there is up-trend then bar color is blue, or if down-trend then bar color is black. also as you can see support and resistance levels change dynamically.
If you use smaller numbers for left/right bars then it will be more sensitive.
source code of :