Backwards price projection - few bars ahead reverse chartEver wondered what the chart would look like if it's flipped upside down and flipped horizontally into the future? The idea is that when there is a trend, a repeating pattern tends to occur. Going backwards and projecting that movement into the future can supposedly show what the future price will be.
Somehow I haven't found anyone try it like this and I am currently trying to find a way to use a reversed moving average or plot of some kind to project further ahead. TV at the moment does not allow offsets on candle plot(as far as I know) and I am only allowed a certain number of plots to go on the chart, so I put as many price moves ahead as I could to project the future price. It's a bit sloppy with all those forced plots but it gets the job done. I'll see if I can improve it with a moving average or something and possibly make a strategy out of it in the future.
Grail
VJ_Holy_Grail_ScalperA simple scalping indicator
Green triangle = Buy
Red triangle = Sell
Added buy/sell alerts for Autoview
VJ_Holy_Grail_Scalper_Swing_Trader_v1// Added Scalper and Swing Trader in 1 indicator to help those who are using free version on TV
// Added Alerts for Scalp Buy/Sell, Swing Buy/Sell and TP alerts(for both scalper and swing trader) to work with Autoview
Stream Influxes and ReversalsI have a really interesting script for you guys today. While walking home I had an interesting idea that I wanted to visualize, but had no clue how it would turn out. This script is the result and it seems to provide some larger information.
For anyone who doesn't know the definition of concavity here is a super quick calculus lesson: Concavity is a fancy word for the sign of the second derivative of something. This is the SLOPE OF A SLOPE; how fast is the rate of change changing? An example is position, if you are in a place and want to go to another place the first derivative how you move there is the velocity, if you are measuring the derivative of velocity that is called acceleration. If you are speeding up then you have positive concavity. If you are slowing down you have negative concavity. On a graph positive concavity looks like a cup, negative concavity looks like an upside down bowl. Infection is just a fancy word for when it is zero, which means - to + or + to - So...
If we look at the concavity of the edges it seems to provide us clues about how the price is moving and where it wants to reverse. I made boxes around points of inflection (pos --> neg or neg --> pos concavity)
The purple lines are just moving averages of the green dots. The green dots are where the edges are at each time step, just the average of all of them at once. If price is wiggling a lot then it creates lots of edges, the green dots get plotted close to the price line, which moves up the purple lines.
The red line is a highlight of the last line, helps guide the eye.
The other smooth red lines are a shout out to bollinger bands, set the band width smaller to find break outs or squeezes.
There really isn't a defined strategy for how to use this, but with all the messages I am getting about these scripts everyone is always surprising me with what they see. So I hope some of you can make some good calls with this!
Theres lots of calculations here and it takes a long time to load, if it won't load, just toggle something back and forth till it does.
Happy trading everyone! I hope these scripts give some of you financial freedom. If you're making really good profits then share some of it with those who are less fortunate. Cheers
Best Holy Grail Indicator V3Thanks to everyone that has been contacting me about the holy grail project, your comments and feedback have made this project much more rewarding. I'm excited for your further feedback. Here is Version 3.
How to use:
At the heart of this projects is a new kind of moving average that I have been developing. As such it is reasonable to think of these lines as highly enhanced and finely tuned moving averages. Their slopes, crossovers, spreads, and behaviors are all meaningful, just as in other moving averages. What is special about these is that if you trade their price crossovers, it almost never generates a real loss, just consistent profits. In trending markets these lines can give you all you need to know about trend entry/exit and details inbetween, effectively letting you get in/out at the top/bottom. In a ranging market they will show you ideal lines of mean reversion, and how to play them.
Description (Upgrades from V2), there are 3 huge improvements from V2:
1) It follows the price better: In the inputs window there is now a box called “Responsiveness”, it can have values from 0 to 5. At 0 Version 3 looks a lot like V2. When you turn up the responsiveness the lines follow closer when they should, and repel themselves when they should be distant. Unfortunately the lines are no longer as smooth, but it isn’t much of a problem. When you turn this up the lines can generate losses if you blindly use the crossover, this is because the slopes of these lines now have more meaning as they focus on the trend, and not how price moves right around it. This can also give very powerful signals if all 5 lines crossover in the same place. Mess with it.
2) There are too many neutral entries: Now every trade can be closed profitably! I posted an idea a few weeks back about “smart execution traces”, it is an intelligently suggested stop loss. The way you set it is in the inputs window at “Smart Execution Baseline”. If you are using crossover signals from Line 4, then set this to 4, if you use line 3 then set it to 3, ect… Unfortunately the lines are also not so smooth, but this can be a very helpful tool. If you play with it you can easily get a feeling for it.
3) Flipping between timeframes is now easier: Here you can bring a line in from another time frame. In the input window there is a box “Line from other timeframe?”. Here you can select the line you are interested in. Next you have to choose which timeframe you are interested it, you can choose this in the “timeframe multiplier” box. This multiplies you current time frame to get the desired one. If you are on the hourly charts and are interest in line 4 on the 6 hour charts, you first choose line 4, then in the timeframe multiplier you enter 6 to see the 6 hour red line in the 1 hour time frame. Likewise if you are still in the 1 hour and want to see the 15 minute red line, simply multiply by 0.25 (which is 1/4). Due to the limitations of pinescript it is easier to see smaller timeframes, getting a higher timeframe line requires more data. If you don’t want to consult another timeframe leave both of these at 0 to cut down on computational time.
After enough inquiries, the source code is now for sale.
If you are making money with this system and want to share it, here are my addresses. If you donated and want to see some of the indicators I am currently working on just message me so I can privately tag you in.
ETH: 0xcf1ca127d9cefb5efbe9557fa09a05cf4daea6c1
ZEC: t1dSFhH9jkG1z9AdGA27e2UqCMLdA2Y1or1
LTC: LQ1cssjU3dhqSa9K85ErqZYuRAPLfGKivA
BCH: 15zwnh2t2nM2bufnuPv12hJvJhFrU8iSFk
Please feel free to write in further questions in the comments below. Hope this makes some of you rich, happy trading!
Blair Momentum IndicatorThis is a very interesting momentum indicator for everyone to take a look at. To understand the concept behind it please see my previous idea "Adaptive Derivative Analysis", and the short Bitcoin prediction that was concurrent.
At its core this indicator takes the derivative of a custom adaptive moving average and adaptively weights the results. This is what the big black line is, the "Blair Line". When it is above 0 there is upward momentum, and downward when it is below 0. However, simply watching the movement of the Blair line doesn't seem especially helpful, so to aid the eye there are clouds around it. 2 fast clouds, 1 medium cloud, and 1 slow cloud. When the Blair line goes under a cloud it is a good time to sell, when it goes above a cloud it is a good time to buy. The red and orange clouds provide the quickest signals about the behavior of the momentum. The yellow cloud provides more certainty. When all three of these clouds align on the same side of the Blair line, it is a very good indication about the current momentum in the market. The Blue cloud is the slowest cloud, and provides the greatest confluence. Since the market can be in varying degrees of volatility there is a button to adjust the sensitivity of the indicator, called the "Roughness". When the roughness is at its maximum of 6 the indicator takes lots of weight for the most recent price movement, when the roughness is at a minimum of 1 it only looks at really long term behavior. The indicator seems to be the best at a roughness between 2 to 4. Since this is a momentum indicator it will not tell you what is the best time to buy at the lowest and sell at the highest, but it will give you a very good idea about the momentum in the markets, and much more importantly when the momentum will reverse.
It is recommended to use this indicator at a timeframe or two higher than where you are trading for a good overview. If you are trading on the 5 minute charts, look at the Blair momentum indicator of the 1 hour to 2 hour charts. If you trade on the daily charts then look at the weekly Blair momentum.
The power of this tool is in its ability to show where the momentum is changing, a long time before the price action changes. Please apply this indicator to the charts you are working with and see its predictive behavior around breakouts and sideways action.
Happy trading! Always feel free to message me with questions.
Holy Grail indicator (possibly) Version 2This is a continuation of the previous (possible) Holy Grail script. This is designed for forex and crypto trading.
The when the price crosses over a line it is a buy/sell signal. When the price crosses the blue area it is a great opportunity to ride the momentum, although quite risky. It is good to follow this in periods of high volume where the smallest trends can be caught. When the price crosses the pink area it is a little less risky than the blue area, but also doesn't catch every wave. When the price crosses back into the blue area it is a good signal that the small trend may be reversing, which also applies to the pink area. Although the pink area provides a little more certainty
The large red line provides the most stable entry points. For everyone that keeps asking, the backtests of the red line are generally very good, it lets profits ride and has almost nonexistent drawdowns. I would be interested in automating it, but it will enter and exit a position way too many times in certain circumstances creating an issue with fees.
The thin purple line shows the general trend. It reacts too slowly to give entry and exit points, but it may be helpful to watch it's behavior. Feel free to message me with any questions, ideas, or interests in collaborations in automated trading.
Cheers
The best Holy Grail indicator (currently)These have been optimized for the cryptocurrency markets, but also seems to work really well in commodities, futures, and forex. A crossover with the closing is treated as a buy or sell signal. The 4 lines provided have different sensitivities and therefore can be treated in combination or separately. This seems to be highly effective in trending markets as a trend follower, and in a ranging market the signals can pretty reliably be reversed for profit. I made this code private because it is still a work in progress and I am interested in hearing people's thoughts and experiences with it for further developments. This is well on the way to becoming a holy grail!
All the best, happy trading
-mcbw_