Keltner Channel with Forecast It is recommended to use the 15-minute chart along with Heikin Ashi candles. The two blue lines represent the 15-minute Keltner Channel, while the green lines represent the 1-hour Keltner Channel. This setup provides a clearer view of both short-term and longer-term market trends, helping traders make more informed decisions based on the combined insights from the 15-minute and 1-hour timeframes.
The entire code aims to display market dynamics on the chart based on two indicators: the Keltner Channel and volume. This allows traders to identify potential reversal points (when the price touches the Keltner bands) and areas where there is increased market activity (changes in volume). With this information, traders can make more informed decisions about opening or closing positions.
The code generates forecasts based on the touches of the bands, and the yellow line acts as an additional volume indicator, suggesting important market changes.
Eurusd-3
TRIX with Momentum----------- ENGLISH --------------
This indicator is called "TRIX with Momentum" and is used to analyze the momentum of an asset's price and predict potential trend reversals. The logic of operation is based on the combination of two indicators: the Triple Exponential Moving Average (TRIX) and the momentum oscillator.
The TRIX is calculated using three exponential moving averages (EMA) of the asset's closing price, with a user-defined length (set to 14 by default). The TRIX is then normalized and centered around 0 to facilitate analysis of its relationship with the momentum oscillator.
The momentum oscillator is calculated using the EMA of the normalized TRIX with a user-defined length (set to 14 by default).
The indicator plots the normalized TRIX and the momentum oscillator on a chart, using different colors to indicate whether the TRIX is above or below 0. Additionally, the color of the y-axis label changes based on the position of the oscillator, while the color of the x-axis label remains gray.
The indicator uses a weighted average between the normalized TRIX and the momentum oscillator to create a colored background of the chart, which changes based on the weighted average. If the weighted average is positive, the chart's background is green, otherwise it is red. Finally, a horizontal line is drawn at point 0 to facilitate visual analysis of the chart.
------------ ITALIANO -------------
Questo indicatore è chiamato "TRIX with Momentum" ed è utilizzato per analizzare il momentum del prezzo di un asset e prevedere eventuali inversioni di trend. La logica di funzionamento è basata sulla combinazione di due indicatori: il TRIX (Indicatori di media mobile Tripla Esponenziale) e l'oscillatore momentum.
L'indicatore consente all'utente di impostare la lunghezza del TRIX e dell'oscillatore momentum come input personalizzato. Il TRIX viene calcolato utilizzando tre medie mobili esponenziali (EMA) della chiusura dei prezzi dell'asset, mentre l'oscillatore momentum viene calcolato utilizzando l'EMA del TRIX normalizzato.
Il TRIX normalizzato viene centrato intorno allo 0 per facilitare l'analisi della sua relazione con l'oscillatore momentum. L'indicatore plotta il TRIX normalizzato e l'oscillatore momentum su un grafico, utilizzando diversi colori per indicare se il TRIX è sopra o sotto lo 0.
L'indicatore utilizza una media pesata tra il TRIX normalizzato e l'oscillatore momentum per creare uno sfondo colorato del grafico, che cambia in base alla media pesata. L'utente può impostare il peso da dare al TRIX e all'oscillatore momentum come input personalizzato, e il peso dell'oscillatore momentum verrà automaticamente impostato come complementare al peso del TRIX.
Se la media pesata è positiva, lo sfondo del grafico è verde, altrimenti è rosso. Viene tracciata anche una linea orizzontale al punto 0 per facilitare l'analisi visiva del grafico.
Infine, il colore dell'etichetta dell'asse y cambia in base alla posizione dell'oscillatore, mentre il colore dell'etichetta dell'asse x rimane sempre grigio.
Perfect signal by c00l75 v4-- CONCEPT - HOW IT WORKS ---
This script is based on moving average crossing lines (mirrored) with a signal line.
--- WHAT IS DIFFERENT FROM OTHER MA SCRIPTS ---
It's different in the formula for calculating the moving averages. NOW the length of the moving averages is modifiable to permit the user to tuning system better.
--- WHAT IS IT FOR? ---
It's a trend following script. I needed a script to catch signals for medium term trading (5-20 days) on > H4 TF with smooth lines but pretty quick signal, possibly easy to manage and "plug and play" for Forex market.
--- HOW TO USE IT? ---
Simply you have buy or sell signal looking at crossing lines. Signal line could be used to catch retracements.
--- WHERE SHOULD I USE IT? ---
At the moment I tested it only on Forex market with good results on H1 timeframe. Backtest it by yourself before using it.
Hope I can help someone else to have better trading time. Feel free to comment if you have questions.
NOTE for moderators: It's the update version of a my previous script (Perfect signal by c00l75) to version v4 with added ability to change the periods of the user's choice. To do this I had to republish it because the previous one was an old version of pinescript that is no longer supported.
EURUSD balancing trading system--- CONCEPT - HOW IT WORKS ---
This script is based on the percentage difference of the price action movements of EUR and USD
--- WHAT IS IT FOR? ---
It's a trend following script with leading capabilities. It works on every TF, best over H1 on EURUSD pair.
--- HOW TO USE IT? ---
Simply you have buy or sell signal looking at crossing lines. You should regard the "50" level as strengthening the trend if higher and weakening if lower. It is possible to change the currency reference period and smoothing period according to your needs and trading style.
--- WHERE SHOULD I USE IT? ---
On forex market on EURUSD pair. Backtest it by yourself before using it.
---- DISCLAIMER ----
The use and provision of this indicator is not intended to solicit the user for investment. It was created purely for educational purposes and for testing.
The author assumes no responsibility regarding the use of this indicator and any losses it may generate.
By using it, the user assumes any risks that may occur.
EURUSD COT Trend StrategyThis is a long term/investment type of strategy designed to have a good idea about where the big trend direction is headed.
Its logic, its made entirely on the COT report, mainly from looking into the net non comercial positions aka the speculators.
For bullish trend we look that the difference between long non comercial vs short non comercial is higher than 0
For bearish trend we look that the difference between long non comercial vs short non comercial is lower than 0.
This is mainly as an educational tool, for a full strategy, I recommend implement other things into it, like technical analysis or risk management.
If you have any questions, please let me know !
MACD strategy + Trailstop indicatorWelcome traveler !
Here is my first indicator I made after 3 days of hardlearning pine code (beginner in coding).
I hope it will please you, if you have any suggestion to enhance this indicator, do not hesitate to give me your thoughts in the comments section or by Private message on trading View !
How does it works ?
It's a simple MACD strategy as describe here :
Uses of EMA 200 as a trend confirmer,
For sells :
When above Zero line (MACD) and under EMA200, we go on sell (background color is red)
For buys:
When under Zero line (MACD) and above EMA 200, we go on Buy (back ground color is green)
FILTERS !
I haded one filter to reduce noise on the indicator :
Signals aren't taken if one of the 14 last candles closed on the other side of the EMA 14.
What are the green and red lines ?
The green line is equivalent of a potential stop loss as a buyer side, same for the red one on seller side !
To make the space with the price bigger, please use "ATR multiplier" in the input options of the indicator while on your chart !
Is it timeframe specific ?
Hell no it is not timeframe specific ! You can try to use it on every timeframe !
As usual, I like to remind you that the best way to test an indicator is to go backtest it or to paper trade before using it on real market conditions !
If you find an idea of filter for a specific timeframe, do not hesitate to contact me ! I'll try to do my best to enhance this indicator as the time goes !
Is there repainting ?
There is no repainting on confirmation !
There's only a movement that I don't know how to ignore on the current open candle for the trail stop indicator I built, it should not be a problem if you place alerts to automatise your trading on the close of the candle, and not the high or low !
If you know how to resolve this problem with my code, I would be glad to get your tips to enhance the script ! :)
Example of the indicator in market (backtest, as said, no repaint on confirmation) :
International [interest, exchange] rates from my blog to @quantguy :
Below are links to a rapid-throw-together set of charts comparing rates internationally. There are probably millions of other graphs like this created by organisations and educationals institutes, but far more advanced and accurate. Even so, the graphs show the time relationship between rates, and are suggestive of some degree of correlation. No sense pushing this too far, it would be more fun to ferret out more of the network of inter-related factors. One possible current anomaly is the GBPUSD exchange rate?
The charts were generated using a simple PineScript (should be visible?)
// saved graphs - unfortunately, all of the colored labels on the graph were lost!!
// exchange rates are shown by darker colors, interest rates lighter similar colors
// China - green, Euro - purple, Great Britain - blue, Japan - orange (you can see this in the4 code below!)
// stable interest rates :
// policy-manipulated interest rates :
// maybe the "stable rates" countries do more "exchange rate" manipulation?
I haven't put in (min, max) interest rates for time periods EXCEPT for 6month & 1 year. the other periods will be erroneous (eg day, month, 3 month, 5 year, etc)
Nikhil strategy 1how to make a best strategy in live market are the analysis very fundamental strong and technical
Currency Strength Index by zdmreCurrency strength expresses the value of currency. For economists, it is often calculated as purchasing power, while for financial traders, it can be described as an indicator, reflecting many factors related to the currency; for example, fundamental data, overall economic performance (stability) or interest rates.
The method used in this indicator is its strength against the US Dollar (xxxUSD)
Currencies:
EUR
GBP
AUD
NZD
JPY
CNY
CAD
Your Symbol (Optionally) defval: TRYUSD
You can also optionally add a symbol. However, this unit must be in the form of xxxUSD
90min cyclesI did this little script to help me with the cycle I hope it will help some of you too !
For default, I have made 90 min cycle, but you can change it easily on the settings if you prefer an other time interval because it is really subjectif.
By default the cycle will begin at midnight from YOUR local time, but this can be a little annoying when you want for example to make it begin at midnght from NY or London without changing the UTC of your chart (if you still want to have your hour displayed normally).
I couldn't find an indicator to help me do that so I added a little setting which allow you to move the start hour of your cycle (so you will have to do some math to move it accordingly to what you want but that's okay ;) ).
That way you can choose the interval you like AND when it begin !
Edm + LET + SessionThis script is adressed to the LIT trader or for those of you who trade with session ( between different hour)
It will add to the chart the differnet session :
- asian session (here color aqua (blue))
- frankfurt
- London
- MMM1
- NYTRAP (New York Trap)
- an New York
You can choose in the settings which one you want to see and how you want to see it ( boxes or background color) which helps a lot when you open your chart to know where you are what you should expect if your plan is based on session.
I put some default hours but if you want less session and change the hours you can easily do that in the settings too.
It will also show you as a label the EDM (which is simply a divergence with the RSI) that occured 5 candle after it happend, it can be very useful for those of you who trade with this confluence, you will directly have it on your chart.
If you don't use it, you can also disable it in the settings.
The LET (which are a rebund on the EMA) are shown like the EDM and can be disable too if you don't use it, they will here depend of the EDM (i.e the script will look for a LET only after an EDM occured, if there is no EDM, they will not be visible).
I have tried to make the most stuff as an input ( can be modified in the settings) to allow each and everyone to be able to adapt it to what you want to see or not see on your charts.
Hope this help some of you and don't hesitate to send some feedback if it does !
Volatility Calculator for Daily Top and Bottom RangeWith the usage of ATR, applied on the close of the daily candle, I am calculated the volatility channels for the TOP and BOTTOM
Based on this logic, we can estimate, with a huge confidence factor, where the prices are going to be compressed for the trading day.
Having said that, lets take a look at the data gathered among the most important financial markets:
SPX
TOP CROSSES : 2116
BOT CROSSES : 1954
Total Daily Candles : 18908
Occurance ratio = 0.215
NDX
TOP CROSSES : 1212
BOT CROSSES : 1183
Total Daily Candles : 9386
Occurance ratio = 0.255
DIA
TOP CROSSES : 759
BOT CROSSES : 769
Total Daily Candles : 6109
Occurance ratio = 0.25
DXY
TOP CROSSES : 1597
BOT CROSSES : 1598
Total Daily Candles : 13156
Occurance ratio = 0.243
DAX
TOP CROSSES : 1878
BOT CROSSES : 1848
Total Daily Candles : 13155
Occurance ratio = 0.283
BTC USD
TOP CROSSES : 416
BOT CROSSES : 417
Total Daily Candles : 4290
Occurance ratio = 0.194
ETH USD
TOP CROSSES : 247
BOT CROSSES : 268
Total Daily Candles : 2452
Occurance ratio = 0.21
EUR USD
TOP CROSSES : 820
BOT CROSSES : 805
Total Daily Candles : 7489
Occurance ratio = 0.217
GOLD
TOP CROSSES : 1722
BOT CROSSES : 1569
Total Daily Candles : 13747
Occurance ratio = 0.239
USOIL
TOP CROSSES : 1077
BOT CROSSES : 1089
Total Daily Candles : 10231
Occurance ratio = 0.212
US 10Y
TOP CROSSES : 1302
BOT CROSSES : 1365
Total Daily Candles : 9075
Occurance ratio = 0.294
Based on this, we can assume with a very high confidence ( 70-80%) that the market is going to stay, within the range created from the BOT and TOP ATR points.
DDG PivotsDDG Pivots is an indicator that autonomously plots current reversal zones, areas of possible pivotal points for intraday trading, price targets, and true lows/highs.
This indicator will identify FINAL pivots (H/L) accurately, plotting either a green or red label to identify true lows/highs.
Once you are able to determine possible reversal areas and pivotal points, you will have a better idea on the current trend and whether these areas are respected/denied, after you can identify the correct trend, this indicator will then help by projecting predicted price targets on screen.
From entry to exit, this indicator helps ease your stress trading.
STOP STARING HOPELESSLY AT YOUR SCREEN, THIS INDICATOR HAS PUSH ALERTS FOR EACH OF THESE VITAL LEVLS.
*Turn on PUSH NOTIFICATIONS to alert you when these vital areas are touched*
Trend Trading with Currency Strength MeterThis is a trend trading strategy designed mainly for forex made of two big components:
First we have the currency meter, which is made of taking TSI of different INDEXes such as EUR, USD, GBP, JPY, NZD, AUD , CHF and CAD.
Once we establish which one is the weakest and most powerful, we pair them together and we go on that chart.
Lastly we check with the EMA 200 to confirm our direction.
We can see in this example for the USDJPY chart, that USD is the strongest, JPY is the weakest and ema confirm our bullish trend.
For timeframe in general I recommend big timeframes, 1-4h+ , and as a mentality a swing trading mentality, we can stay in trade for days/weeks.
For exit in general I recommend to exit when either one of the pairs losses/gain power or when the EMA is crossing with current candle
If you have any questions, let me know !
EURUSD INTRADAY BUY/SELL TRADING SIGNALS INDICATOREURUSD INTRADAY BUY/SELL TRADING SIGNALS INDICATOR
The Forex intraday trading indicator is specially designed for prediction and scalping EURUSD .
A feature of this indicator is the use of specially designed filters that filter out noise.
Thus, the efficiency and performance of the indicator has been improved. BUY and SELL signals show reversal points of local intraday trends,
and allowing scalping on the price movement.
The SELL indicator signal corresponds to the indication of a downward trend reversal.
The BUY signal corresponds to the indication of a trend reversal upward.
The principles of operation of the signal filters algorithm and refinement of entry points into positions are described below.
The indicator is based on a combination of the following indicators: MACD, Moving Average of various periods.
We use MACD divergence confirmation to identify a possible reversal or weakening of the trend.
Divergence (divergence of indicators) usually occurs when the indicator moves in the direction,
different from the price dynamics.
This could indicate that the momentum of the current trend is weakening.
When the price of the EURUSD currency reaches a higher price high,
while MACD is making a lower high. This is divergence.
After identifying the divergence, using the classic MACD crossover.
To filter signals, use the maximums of the MACD indicator,
in combination with the crossing of the Moving Average line.
This forex indicator is designed for trading on the EURUSD currency pair, timeframe: 45 minutes.
The forex signal indicator is intended for active traders of the EURUSD currency and will be useful as a supplement to any trading system, to indicate and clarify entry points to trading positions.
Forex Fractal EMA ScalperThis is a forex scalper designed for very short timeframes 1-5 min max.
At the same time due to the short timeframe, is recommend to re optimize it weekly .
Its components are
Fractals
Triple EMA with different lengths
Rules for entry:
For long : we have an up fractal and all 3 ema are in ascending order
For short: we have a down fractal and all 3 ema are in descending order.
Rules for exit
We exit when we either get a reverse order or when we hit the take profit or stop loss calculated in fixed pips.
Advanced OutSide with HMA and Klinger Forex Swing strategyThis is a swing forex strategy, adapted for big timeframes, such as 4h+.
For this example I adapted the strategy to EUR USD main forex pair.
Its components are:
Outside condition
Klinger Oscillator
Hull moving average
Rules for entry
For long: if current high is bigger than previous high and current is smaller than previous low and klinger is positive, close of the candle is above lsma and we have a bull candle.
For short: if current high is smaller than previous high and current is bigger than previous low and klinger is negative, close of the candle is below lsma and we have a bear candle.
Rules for exit
We exit when we have a reverse condition
We exit in case we hit the tp/sl based on % movement of the price.
If you have any questions, let me know !
Forex bot full strategy with risk managementThis is a full strategy designed for forex major pairs, specially EUR/USD using 1h time frame chart.
Its components are
200 EMA
MACD
OBV
PSAR
RIsk management with tp and sl movements
Rules for entry
For long = Previous histogram from MACD was below 0 and current one is above 0. CLose of a candle is above EMA 200 , OBV oscillator is negative and we have an uptrend from PSAR
For short = Previous histogram from MACD was above 0 and current one is below 0. CLose of a candle is below EMA 200 , OBV oscillator is positive and we have an downtrend from PSAR
Rules for exit
For tp and sl values we calculate the distance from the close of candle until the psar values.
If you have any questions, let me know !
Forex scalper 2xEMA + SRSI + MACDThis is a forex scalping strategy designed for the most liquid pairs, like major forex pairs.
Its made of
1 EMA 50
1 EMA 100
Stochastic RSI
MACD
Rules
For long :close of the candle is above moving average 50, moving average 50> moving average 100, macd histogram is positive and cross over of stochastic rsi with the oversold level.
For short :close of the candle is below moving average 50, moving average 50 < moving average 100, macd histogram is negative and cross under of stochastic rsi with the overbought level.
Exit
For exit we have take profit and stop loss using fixed pip points.
For this example on EURUSD we use 20 pips for both tp and sl
IF you have any questions let me know !
Swing forex strategy 15minThis is a strategy made using BB+ RSI indicators that seems to work great with 15 min major pairs for FOREX.
THe rules for it are simple:
For long we enter when the close of our candle crosses upwards the lower line and rsi crossover the over sold line
We exit long when we have a short entry.
For short we enter when the close of the candle crosses downwards the top line and rsi cross under the over bought line
WE exit short when we have a long entry.
Careful, this strategy has no risk management inside.
If you have any questions let me know !
FTB Strategy (Automated)Hey traders!
This is a profitable strategy script I created to teach my students how to automate their scripts using 3rd party APIs (more info available in my profile link at the bottom of this page).
What Is This?
This strategy is called the "Follow The Bear" strategy.
It's a forex trading strategy designed for one purpose and one purpose only: to take advantage of a recurring pattern on EURUSD's 1-Hour chart during the European market open.
The basic explanation is this:
During the European open we want to see a rally followed by a swing high shooting star / reversal pinbar candle. This typically means that traders buying EURUSD during the European/London open are now trapped long, and as price begins to retrace they are forced to sell, fueling a short-term retracement.
This strategy takes advantage of that pattern by aggressively selling short with a tight stop-loss above the pinbar candle and a conservative target.
There are many ways to trade this pattern, but this script represents my personal method for trading it.
It is not 100% accurate (no strategy is), but it does have a considerably high win rate over the past 6+ years considering its simplicity and I've been trading it for several months and can attest to its edge over the markets (at least through the Oanda data feed which is what I use).
The strategy rules are this:
Market: EURUSD
Timeframe: 1-Hour
Direction: Short Only
Timezone: 6AM-10AM GMT
Days: Tuesday, Wednesday, Thursday
Entry: Close of Pinbar Setup
Stop: 2 pips above signal candle
Target: 1:1
Risk: Up to you (backtest first! I use 1%)
The rule for the pinbar/shooting star candle pattern is that the candle must both open and close in the lower 50% of the bar's total size.
Automation
This script is already prepared to be auto-traded through a 3rd-party API that was created to relay TradingView alerts to your broker to execute and manage trades.
Sorry for the lack of information - due to TradingView's house rules I cannot go into any more detail here, but if you're interested in automating this script there is more info available in the resources offered under my profile link at the bottom of this page.
Disclaimer
The material and the resources offered here are for educational purposes only. Always do your own research and only execute trades based on your own personal judgement.
Trading foreign currencies can be a challenging and potentially profitable opportunity for investors. However, before deciding to participate in the forex market, you should carefully consider your investment objectives, level of experience, and risk appetite. Most importantly, do not invest money you cannot afford to lose.
There is considerable exposure to risk in any foreign exchange transaction. Any transaction involving currencies involves risks including, but not limited to, the potential for changing political and/or economic conditions that may substantially affect the price or liquidity of a currency, investments in foreign exchange speculation may also be susceptible to sharp rises and falls as the relevant market values fluctuate.
The leveraged nature of forex trading means that any market movement will have an equally proportional effect on your deposited funds. This may work against you as well as for you. Not only may investors get back less than they invested, but in the case of higher risk strategies, investors may lose the entirety of their investment. It is for this reason that when speculating in such markets it is advisable to use only risk capital.
Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. Past performance is not indicative of future results. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts.
Sentiment EURUSD 1m with hedging zonesThis is a very specialised and optimized script, for 1m EURUSD traders - daytraders, scalpers.
1m trading is very difficult, but it can be also most profitable, if done right.
Why difficult? It is hard to detect market direction - usually when trend indicators reverse, that new trend is already over. One and the same indicator signal sometimes provides one outcome (for example reversal) and sometimes exactly the opposite (continuation). It requires deep understanding on WHEN to use which indicator and when to ignore signals. Set the parameters of your indicators to a very sensitive extent and they will keep changing direction back and forth - always being too late of course :) Set the parameters too losely, and you'll be late with entries 100% of times. Looking for universal trend-showing indicator? There is none...
This script is a result of 2 years of practical following EURUSD 1m market action. Looking at charts with MANUAL TRADER'S eyes. Analyzing all together: price action, indicators, zigzag, divergences, momentum, pivot points, support and resistance. On the one hand traders say only manual trading can be successful and on the other - to stick to one strategy and be automatic when applying to it. So this is it - automatic coding of market signals as if manual trader would do it. Forex is news-driven? Yes, it is. So if market sentiment changes because of some news happening, the script will quickly recognize it and suggest reversal.
Please note I'm not pretending to have a crystal ball. Nobody has. The goal of this script is not to predict where EURUSD market will be, but to correctly notice that is has reversed. Nothing else.
Sometimes the market will move towards reversal, but not cross the line yet - these are so-called HEDGING ZONES. Sometimes they turn out to be reversals and sometimes simply best places for dip entries. Ideally a trader should hedge there, because market could move either way. You might wanna apply apply knowledge of market fundamentals there or look into some micro-indicators. Anyway, it is good to realize where those zones are and this script shows them. In pink.
It is invite-only script. DM me for access.
ROC of Majors against the USD (Label)Version 2 of the ROC study that now puts them as a label on the same chart.