Fractal Adaptive Moving AverageSettings:
FRAMA: blue line, SC = 252, FC = 40, length = 252
EMA: orange line, length = 50
FRAMA seems to be the evolution of the current and much-used EMA. The basic strategy is simple: long if the price crosses up the line, short or exit if vice versa.
The main difference between EMA and FRAMA is that the first one seems to lag much more than the first one, as we can see from the chart below (crude oil daily chart)
FYI
etfhq.com
quantstrattrader.wordpress.com
Cerca negli script per "2014年日元兑美元平均汇率"
forex session - Opening-Range- JayyMy first try on anything forex. Let me know if it needs adjustment.
This is Opening Range for forex
Targets set at 127% , 162%, 200 %, 262 %, 362%, 423%, 685%, 1109% and 1794%
of the selected opening range. You can adjust targets as you like in the dialogue box
362%, 423%, 685%, 1109% and 1794% levels will not show unless selected in the dialogue box.
Check any one (only one) of the time periods to change the opening range period to suit.
New York opens at 8:00 am to 5:00 pm EST (EDT)
Tokyo opens at 7:00 pm to 4:00 am EST (EDT)
Sydney opens at 5:00 pm to 2:00 am EST (EDT)
London opens at 3:00 am to 12:00 noon EST (EDT)
Because the actual forex day starts at 5pm it is not possible to plot some time periods correctly
ie try 120 minutes on the New York session. (Although this is not a problem with the other sessions)
If you keep to an hour or less and use periods that divide evenly into an hour all will be fine. All periods will actually work but will start looking a little funny.
No such problem occurs if you just use 5pm est to 5 pm est. other sessions could be put in as options or hard wired in with a few lines of script changes
There is an option in the dialogue box to display fib targets within Opening Range itself.
In the far past I adapted some original work created by Chris Moody from a 7-07-2014 script - there have been multiple adaptations . The script layout/ structure remains similar and messages regarding targets achieved (lines 224 - 230) are from the original script. In the original Chris gave Special Thanks To "The Coding Genius Behind The Curtain" - so hat tip to both.
Bullish Harami blue, Bullish Engulfinger black, Hammer yellow Copyright by HPotter v1.0 24/03/2014
// This is a bullish reversal pattern formed by two candlesticks in which a small
// real body is contained within the prior session's unusually large real body.
// Usually the second real body is the opposite color of the first real body.
// The Harami pattern is the reverse of the Engulfing pattern.
// Bullish Engulfinger, Hammer by KtL
[STRATEGY][RS]MicuRobert EMA cross V2Great thanks Ricardo , watch this man . Start at 2014 December with 1000 euro.
Madrid Bollinger Bands %DBB %B : Madrid : 06/JUN/2014 23:36 : 2.0
This displays the distance from the lower band in terms of percentage. The farther it is from the basis line, the stronger the trend.
When the price exceeds 100% or it's below 0% it means the price has reached an overbought (above 100) or oversold (below 0) level.
Rob Hoffman's Inventory Retracement Bar - by UCSgearsClaims by Rob Hoffman
Developed and used to win trading competitions around the world, the Hoffman Inventory Retracement Trade is quickly becoming one of the most popular ways to identify where short-term counter trend institutional inventory has subsided and when it’s time to re-enter into a trade’s original trend direction.
I have not included the TREND condition.
- Enjoy
Rob Hoffman Inventory Retracement Bar - tradersonline-mag.com
CM_3-Stochastics_No%D_UserRequestCreated By ChrisMoody on 1-19-2014 by User Request
Plots 3 Stochastic Lines.....No %D Lines...by User Request.
US recessionsDisplays US recessions from 1900 - 2014 listed here: www.nber.org
Unix timestamp generated using this service: unixtimestamp.50x.eu For beginn/end of recession always taken the 15th day of the particular calendar month.
Tradingview has a bug by using unix timestamp: I had to add "000.0" to each generated timestamp to display the date in the tradingview correctly. Once the bug will get corrected, this cript will no more work!
The bug is described here: getsatisfaction.com
Unfortunately tradingview does not allow to display any (forecasted) recession into the future and or with later dates then 1900! This is disappointing.
NOTE: I can not code at all. PLEASE modify this script as much as you like. Particular would be helpful, if:
- there is only one background colour to edit
- there are tickboxes, where you can deselect the particular recession with titles of such recessions
- perhaps electively be able to display the title of the particular recession directly on its background within the chart
CM RSI-2 Strategy Lower IndicatorRSI-2 Strategy
***At the bottom of the page is a link where you can download the PDF of the Backtesting Results.
This year I am focusing on learning from two of the best mentors in the Industry with outstanding track records for Creating Systems, and learning the what methods actually work as far as back testing.
I came across the RSI-2 system that Larry Connors developed. Larry has become famous for his technical indicators, but his RSI-2 system is what actually put him “On The Map” per se. At first glance I didn’t think it would work well, but I decided to code it and ran backtests on the S&P 100 In Down Trending Markets, Up Trending Markets, and both combined. I was shocked by the results. So I thought I would provide them for you. I also ran a test on the Major forex Pairs (12) for the last 5 years, and All Forex Pairs (80) from 11/28/2007 - 6/09/2014, impressive results also.
The RSI-2 Strategy is designed to use on Daily Bars, however it is a short term trading strategy. The average length of time in a trade is just over 2 days. But the results CRUSH the general market averages.
Detailed Description of Indicators, Rules Below:
Link For PDF of Detailed Trade Results
d.pr
Original Post
CM RSI-2 Strategy - Upper Indicators.RSI-2 Strategy
***At the bottom of the page is a link where you can download the PDF of the Backtesting Results.
This year I am focusing on learning from two of the best mentors in the Industry with outstanding track records for Creating Systems, and learning the what methods actually work as far as back testing.
I came across the RSI-2 system that Larry Connors developed. Larry has become famous for his technical indicators, but his RSI-2 system is what actually put him “On The Map” per se. At first glance I didn’t think it would work well, but I decided to code it and ran backtests on the S&P 100 In Down Trending Markets, Up Trending Markets, and both combined. I was shocked by the results. So I thought I would provide them for you. I also ran a test on the Major forex Pairs (12) for the last 5 years, and All Forex Pairs (80) from 11/28/2007 - 6/09/2014, impressive results also.
The RSI-2 Strategy is designed to use on Daily Bars, however it is a short term trading strategy. The average length of time in a trade is just over 2 days. But the results CRUSH the general market averages.
Detailed Description of Indicators, Rules Below:
Link For PDF of Detailed Trade Results
d.pr
Original Post
CM Percent Move Upper V1CM Percent Move Upper V1 .... Goes With the Lower Indicator
Created by ChrisMoody on 9/3/2014 by Request from vlad.adrian
**Plots A BackGround Highlight if % Move is Greater or Equal to User Input
** % Move is based on Close of Current Bar Compared to Close of Previous Bar
CM Percent Move Lower V1CM Percent Move Lower V1
Created by ChrisMoody on 9/3/2014 by Request from vlad.adrian
**Plots the percent move based on the Close of Bar Compared to the Close of Previous Bar
**If Bar closes Up then Histogram is Green, If Bar Closes Down Histogram is Red.
**Ability to Show/Hide Background Highlights, Horizontal Lines, % Histogram, and SMA of Percent Moves
CM_Enhanced CCI V2Added 0 Line, + - 200 lines
Added a line that hi-lights the outside of the CCI
Updated 8/12/2014 by request for christian.david.75457
Added Ability To Plot 2nd CCI - !!!
Added ability to turn On/Off the +-200 lines.
Added Ability to Turn On/Off Show Area of CCI
Added Ability To Turn On/Off Show The Outer CCI Line
Squeeze Momentum Indicator [LazyBear]
Fixed a typo in the code where BB multiplier was stuck at 1.5. Thanks @ucsgears for bringing it to my notice.
Updated source: pastebin.com
Use the updated source instead of the what TV shows below.
This is a derivative of John Carter's "TTM Squeeze" volatility indicator, as discussed in his book "Mastering the Trade" (chapter 11).
Black crosses on the midline show that the market just entered a squeeze (Bollinger Bands are with in Keltner Channel). This signifies low volatility, market preparing itself for an explosive move (up or down). Gray crosses signify "Squeeze release".
Mr.Carter suggests waiting till the first gray after a black cross, and taking a position in the direction of the momentum (for ex., if momentum value is above zero, go long). Exit the position when the momentum changes (increase or decrease --- signified by a color change). My (limited) experience with this shows, an additional indicator like ADX / WaveTrend, is needed to not miss good entry points. Also, Mr.Carter uses simple momentum indicator, while I have used a different method (linreg based) to plot the histogram.
More info:
- Book: Mastering The Trade by John F Carter
List of all my indicators:
AK TREND ID v1.00Hello,
"Are we at the top yet ? "........ " Is it a good time to invest ? " ......." Should I buy or sell ? " These are the many questions I hear and get on the daily basis. 1000's of investors do not know when to go in and out of the market. Most of them rely on the opinion of "experts" on television to make their investment decisions. Bad idea.Taking a systematic approach when investing, could save you a lot of time and headache. If there was only a way to know when to get in and out of the market !! hmmmm. The good news is that there many ways to do that. The bad news is , are you disciplined enough to follow it ?
I coded the AK_TREND ID specifically to identified trends in the SPX or SPY only . How does it work ? very simply , I simply plot the spread between the 3 month and 8 month moving average on the chart.
If the spread > 0 @ month end = BUY
if the spread < 0 @ month end = SELL
The AK TREND ID is a LAGGING Indicator , so it will not get you in at the very bottom or get you out at the very top. I did a backtest on the SPX from 1984 to 7/2/2014 (yesterday), The rule was to buy only when the AK TREND ID was green. let's look at the result:
14 trades : 11 W 3 L , 78.75 % winning %
Biggest winner (%) = 108 %
Biggest loser (%) = -10.7 %
Average Return = 27 %
Total Return since 1984 = 351.3 %
You can see the result in detail here : docs.google.com
Although the backtesting results are good, the AK TREND ID is not to be used as a trading system. It is simply design to let you know when to invest and when to get out. I'm working a more accurate version of this Indicator , that will use both technical and fundamental data. In the mean time , I hope this will give some of you piece of mind, and eliminate emotions from your trading decision. Feel free to modify the code as you wish, but please share your finding with the rest of Trading View community.
All the best
Algo
Kaufman Stress IndicatorStress Indicator, first proposed by Mr. Perry Kaufman, provides an easy way for trading pairs / arbs.
Kaufman's trading rules for Stress Indicator:
- Decide on a pair to trade: For ex., AAPL v QQQ
- Calculate the Stress Indicator (SI) for that pair
- Buy the stock when SI 50
- Calculate the 60-day moving average of QQQ
- If the trend of QQQ is down, hedge the stock position with QQQ equal to the risk of the stock using the 20-day ATR of each
- Exit the hedge when the stock position exits, or exit the hedge when the trend of QQQ turns up
- Do not trade stocks under $3
Explanation of all potential SI applications is beyond this post. For more info:
- ptasite.s3.amazonaws.com
- www.futuresmag.com
- kaufmansignals.com
- TASC 2014 March issue.
Though Kaufman's Stress stategy is built on top of this Stress Indicator, I suggest reading up his full strategy guidelines before applying this.
Kaufman suggests using 60SMA on the index to track the slope. I have included a custom SMA (find it in the middle pane) that can show SMA for any selected symbol. Use the guide below to import that in to your charts: drive.google.com
Bollinger Fanboy v4.0Set spread value from your broker, eg my broker has a spread of 0.0003 for EURUSD. You can set your required profit ratio eg 1.5 means risk 1 to win 1.5. Enter if price crosses orange (or set a buy stop order or sell limit order) and set stoploss at red and take profit at green. Setup lasts for 20 bars. If it doesn't cross the orange in that time, forget it. Long if red is below orange, short if red is above orange. Recommended to be used on 4H, D, W charts only. Use at your own risk. I cannot be held liable for any damages financial or otherwise, directly or indirectly related to using this script and trading strategy.
Copyright 2014 Michael Edwards (info@bollingerfanboy.com)
www.bollingerfanboy.com
Bollinger Fanboy v2.0By using this script you agree that the author will not be liable for any losses financial or otherwise from the use of this script.
Copyright Michael Edwards 2014 (bollingerfanboy.com)
ValueChart Indicator [LazyBear]This indicator displays the trend-adjusted price activity of a security. It oscillates around the zero-line. It is usually plotted as OHLC, but Pine doesn't have this support yet. So, I have rendered OHLC separately (see chart for the details).
This indicator is particularly useful for ‘scalping’ in a sideways market, where there is limited movement taking place, rather than a trending market undergoing larger swing movements.
I am not sure how much this resembles the commercial indicator out there as I don't have access to one. This is a direct port of a similar TOS indicator.
Removed direct links.
Bollinger FanboyTo use this indicator. Set pending orders to enter at "Entry", stoploss at "Stop", and profit at "Exit". Close pending order after 10 bars if it doesn't open.
Please use this at your own risk. By using this indicator you are agreeing that I am in no way liable for any financial losses that may occur indirectly or directly as a result of using this indicator.
Copyright 2014 Michael Edwards (info@bollingerfanboy.com)
Bollingfanboy.com
Indicator: Krivo Index [Forex]Krivo index, suggested by Richard Krivo, tries to quantify the "strength" of a currency by checking how many of its pairs are trading strongly (close above 200sma). As you can see from the chart, KI gives an excellent overview of their strength. Note how it correctly points out the JPY crash (Nov 2012).
I decided to implement KI for each currency separately to be compliant with Pine requirements. Also, this enables to add only the needed currency KI scripts (for ex., just CAD_KI and USD_KI). You can add the needed currency KI scripts and merge them all together to form a chart like this. Make sure you "right click" on all and select "Scale Right" (or "Scale Left". Thing to note is all KIs shd be aligned to the same scale).
I have published KI for only 5 currencies now, but can add more on request. BTW, this index is usable on all time frames.
More info on KrivoIndex:
-----------------------------
www.dailyfx.com
JPY crashing:
-----------------------------
webcache.googleusercontent.com
Euro Slump:
-----------------------------
www.bloomberg.com
Please see the comment below for the complete list of currency pairs I used for deriving these indexes.
Indicator: Market Facilitation Index [MFIndex]
***** NOTE: You may see all GREEN circles (it is due to a recent TV update). To work around this issue, change the "Circles" to "Cross" via Format -> Style *****
Market Facilitation Index, by Bill Williams, plots the effectiveness of price movement by computing the price movement per volume unit.
4 possible combinations of MFIndex and Volume are:
Green :
---------------------------------
MFIndex increases and the volume increases. This means that the amount of participants entering the market increases, therefore the volume increases and the fresh incoming players align their positions in the direction of candlestick growth.
Fade :
------------------------------
MFIndex falls and volume falls. It means that the market participants are indifferent and the price movement is small on small volumes. This usually happens at the end of a trend.
Fake :
------------------------------
MFIndex increases, but the volume falls. It is highly likely that the market is being supported by broker speculation and not any significant client volume.
Squat :
--------------------------------
MFIndex falls, but the volume increases. In this particular situation bulls and bears are fighting between themselves to see who will dominate the next trend. These battles are noticeable by the large sell and buy volumes. However, the price does not change appreciably since the strengths are equal. One of the competing parties either the buyers or the sellers will ultimately triumph in the battle. Usually, the fracture of such a candle indicates if this particular candle determines the continuation of the trend, or terminates the trend.
More info: en.wikipedia.org
Code: pastebin.com