индекс bars форекс / Highest Bar MQl4 - Forex Trading Hours - MQL4 and MetaTrader 4 - MQL4 programming forum

Индекс Bars Форекс

индекс bars форекс

Live Forex and CFD Charts - Data & Tools

Highest Bar MQl4

Adj
Adj#1  
Sanjay Rathore:

There is Highest Bar and lowest bar in MQL4 but how would you program highest ATR value. 

Create a buffer for an array. Use the buffer on the ATR with for loop, loop should have a reset count. Return the highest value using ArrayMaximum. 
William Roeder
William Roeder#2  

If you had used this, you would have found this: how can i find a bar which have lowest or highest indicator index? - Indices - MQL4 and MetaTrader 4 - MQL4 programming forum
    How can I search for indicators and other elements in this forum? - MQL5 programming forum #1(2017)#10(2021)
    How To Ask Questions The Smart Way. (2004)
      How To Interpret Answers.
          RTFM and STFW: How To Tell You've Seriously Screwed Up.

[Deleted]#3  
[Deleted]#4  
Adj #:
Create a buffer for an array. Use the buffer on the ATR with for loop, loop should have a reset count. Return the highest value using ArrayMaximum. 

Hi Adj,

is this what you mean?

int BarIndexHigh() { int BarsToCheck=; double IndicatorValues[]; for(int i=0;i<BarsToCheck;i++){    IndicatorValues[i]=iATR(NULL,0,7,i);    Print(StringConcatenate("BarIndex_",i," ATR: ",IndicatorValues[i]));     } int BarIndexHigh=ArrayMaximum(IndicatorValues); return BarIndexHigh; }
[Deleted]#5  
Adj #:
Create a buffer for an array. Use the buffer on the ATR with for loop, loop should have a reset count. Return the highest value using ArrayMaximum. 

Hi Adj,

A question similarly along those lines; During a day session of trading if I had a Price doing that of the image below, how would I calculate B to C after calculating A to B.


Adj
Adj#6  
Sanjay Rathore #:

Hi Adj,

A question similarly along those lines; During a day session of trading if I had a Price doing that of the image below, how would I calculate B to C after calculating A to B.

The distance from b to c would need to be shorter than calculated a to b for ab and bc to be comfirmed further.

Sanjay Rathore #:

Hi Adj,

is this what you mean?

I believe william attatched a code on here which seemed to be ok, but I think your code isnt right again as you dont return a function into a function

[Deleted]#7  
Adj #:

The distance from b to c would need to be shorter than calculated a to b for ab and bc to be comfirmed further.

I believe william attatched a code on here which seemed to be ok, but I think your code isnt right again as you dont return a function into a function

Thanks Adj, William's programming worked thankfully. With the B to C component; would I then take the highest and lowest price within that distance? So, for instance; 

HC= Highest Candle LC= Lowest Candle Dist1= ??? Dist2= ??? double BtoC = (HC+(HC-LC)) if(dist2 < dist1 && BtoC*(ATR Value)) { OrderSend() }

The Quote Overview page gives you a snapshot view for a specific Forex symbol. During market hours, delayed exchange price information displays (Forex: 10 minute delay, CT) and new delayed trade updates are updated on the page (as indicated by a "flash").

 Barchart Symbol Notes Tutorial ()

Quoteboard data fields include:

  • Day High / Low: The highest and lowest trade price for the current trading session.
  • Open: The opening price for the current trading session is plotted on the day's High/Low histogram.
  • Previous Close: The closing price from the previous trading session.
  • Bid: The last bid price and bid size.
  • Ask: The last ask price and ask size.
  • Weighted Alpha: A measure of how much a stock or commodity has risen or fallen over a one-year period. Barchart takes this Alpha and weights this, assigning more weight to recent activity, and less ( factor) to activity at the beginning of the period. Thus, Weighted Alpha is a measure of one-year growth with an emphasis on the most recent price activity.

Chart Snapshot

A thumbnail of a daily chart is provided, with a link to open and customize a full-sized chart.

Price Performance

This section shows the Highs and Lows over the past 1, 3 and Month periods. Click the "See More" link to see the full Performance Report page with expanded historical information.

Most Recent Stories

View the latest top stories from the Associated Press or Canadian Press (based on your Market selection).

Barchart Technical Opinion

The Barchart Technical Opinion widget shows you today's overally Barchart Opinion with general information on how to interpret the short and longer term signals. Unique to eunic-brussels.eu, Opinions analyzes a stock or commodity using 13 popular analytics in short-, medium- and long-term periods. Results are interpreted as buy, sell or hold signals, each with numeric ratings and summarized with an overall percentage buy or sell rating. After each calculation the program assigns a Buy, Sell, or Hold value with the study, depending on where the price lies in reference to the common interpretation of the study. For example, a price above its moving average is generally considered an upward trend or a buy.

A symbol will be given one of the following overall ratings:

  • Strong Buy (greater than "66% Buy")
  • Buy (greater than or equal to "33% Buy" and less than or equal to "66% Buy")
  • Weak Buy ("0% Buy" through "33% Buy")
  • Hold
  • Strong Sell (greater than "66% Sell")
  • Sell (greater than or equal to "33% Sell" and less than or equal to "66% Sell")
  • Weak Sell ("0% Sell" through "33% Sell")

The current reading of the Day Stochastic indicator is also factored into the interpretation. The following information will appear when the following conditions are met:

  • If the Day Stochastic %K is greater than 90 and the Overall Opinion is a Buy, the following displays: "The market is in highly overbought territory. Beware of a trend reversal."
  • If the Day Stochastic %K is greater than 80 and the Overall Opinion is a Buy, the following displays: "The market is approaching overbought territory. Be watchful of a trend reversal."
  • If the Day Stochastic %K is less than 10 and the Overall Opinion is a Sell, the following displays: "The market is in highly oversold territory. Beware of a trend reversal."
  • If the Day Stochastic %K is less than 20 and the Overall Opinion is a Sell, the following displays: "The market is approaching oversold territory. Be watchful of a trend reversal."
Related Stocks

For comparison purposes, find information on other symbols contained in the same sector.

Barchart Commodities Insider Commentary

Barchart Commodities Insider is Ag market commentary for Grains and Oilseeds, Energy, Gold, Silver, Cocoa, Coffee, and Sugar markets.

Commitment of Traders Positions

This widget shows the latest week's Commitment of Traders open interest. The COT data, as reported by the US Commodity Futures Trading Commission (CFTC), is from Tuesday, and is released Friday by the CFTC. Reporting firms send Tuesday open interest data on Wednesday morning. The CFTC then corrects and verifies the data for release by Friday afternoon. The Barchart site's data is then updated, after the official CFTC release.

You will see the Long and Short positions from the Legacy Commitments of Traders report, plus either the Long and Short positions from the Disaggregated Report or the Financial TFF Report.

A link to view a chart with both COT studies applied is also available.

Forex Market Overview

The Forex Market Overview page provides a quick overview of today's Forex and Currencies markets.

Major U.S. Dollar Rates

Provides a snapshot of the eight major crossrates to the U.S. Dollar, with a link to view the full list.

Forex Commentary

Get commentary on the Forex and Currencies markets from industry experts.

Metals Rates Charts

Get a quick snapshot of the four major metals rates. Charts include Gold (^XAUUSD), Palladium (^XPDUSD), Platinum (^XPTUSD), and Silver (^XAGUSD).

Forex Market Map

The Forex Market Map provide a quick visual view of the foreign exchange markets and how they are performing on the day, as well as how they are performing versus other major currencies.

Forex Performance Leaders

Performance Leaders lists the forex contracts with the 5 highest and lowest 1-Month Percent Change (the difference between the Close from 1 month ago and the Last Price). This widget can help you identify the contracts with the most price movement over the last month.

Forex Long Term Trends

Highlights forex contracts with the highest and lowest weighted alpha (strength of trend) over the past 1-year.

Dukascopy Bank SA

Dukascopy offers its free Live Forex Chart, a user-friendly widget for analyzing Forex, Commodities (oil, gas, etc), precious metals (gold, silver etc), stocks, ETFs, indices, crypto, and bonds markets. The live Forex chart widget can be inserted in any web site free of charge and accessed from various PCs via a login.

Unlike others, the chart widget can be greatly useful for not only full-time traders but also beginners.

Choose more than “60 indicators” available, and use the intuitive charting options with the “Candle,” “Line,” or “Bar” charts. Be able to see the current market “News” on the spot, choose the “Tick” settings, and elevate your analysis in minutes. Real-time quotes and continuously updated data are available! Get started!

FAQ

How to Read and Analyze Forex Charts?

To successfully analyze and read Forex charts, you will need to go through the types of charts available and understand what each one can do for you. Let’s summarize the main types of charts, and their functions and uncover the main steps of reading Forex charts.

Chart Types

  1. Line

    The line chart is chosen by many traders because of its simplicity. The line chart is used to see the closing price for a particular time frame.

    Charting prices down the horizontal axis, which symbolizes time, is done from left to right. The price is displayed on a vertical axis, with the most current price being furthest to the right.

    Keep in mind that line charts are mainly used to see the closing price and understand the picture of an overall trend reducing market noise.

    Line chart
  2. Bar

    The bar chart contains more detailed information on price charting compared to the line chart. It consists of a vertical line that represents the price range of a specific timeframe. The time periods can be hourly, daily, or others.

    The highest point of the bar represents the “High Price” of an asset, thus the lowest point shows the “Low Price”. The distance between these points is called the “Price Range”. The line also has ticks from each side showing the “Opening Price” and “Closing Price”.

    The consecutive bars together can give specific information on market trends and price ranges.

    Bar chart
  3. Japanese Candlestick

    As the name suggests, this price charting uses a shape similar to a “candle stick” as a visual representation. This chart is perhaps one of the most known methods traders use. One candlestick shows the “High” “Open” “Low” and “Close” prices at the chosen timeframe. The distance between the “High” and “Low” is called “The Shadow or Wick”

    The body of the candle indicates the distance between the “Open” and “Close” price. When the Close is higher than the Open price then the body of the candlestick is filled with green. This reflects a positive sentiment in the market, thus when the body is red and the market sentiment is negative.

    There are many different shapes and sizes to the candlesticks and the patterns they form, each one representing a specific measure and market trend.

    Candel chart

What are Wide Ranging Bars?

Wide Ranging Bars are strong momentum indicators that help traders understand the market direction and identify ideal entry and exit points. They can also help interpret a currency pair’s volatility in the Forex market and enable traders to make optimum trade decisions. Let's take a deep dive into Wide Ranging Bars (WRB) to learn how you can make the most of it when Forex trading:

Understanding Wide Ranging Bar trading strategy

A Wide Ranging Bar occurs every time a currency pair trades outside its previous price range. Wide ranging or long bars are at least twice the normal bar’s size (in length), which makes them easily identifiable in a Forex chart. These bars usually appear after major economic news or announcements and provide traders with strong market trends.

  • If there is a Wide Ranging Bar in the upward direction, it signals a strong upward market momentum
  • If there is a Wide Ranging Bar in the downward direction, it signals a strong downward market momentum
Wide Ranging Bars graphic
Calculating Wide Ranging Bars

As Wide Ranging Bars are based on only the market prices, different numbers of bars that emerge during a particular trading day. This means, when the market is more volatile, there are more bars present on the charts, and when markets are less volatile, fewer bars appear. Understanding how the number of Wide Ranging Bars change due to a particular currency pair’s price volatility in the market can help traders predict future market movements. More volatile currency pairs generally lead to a downtrend in the market, whereas less volatile currency pairs generally lead to an uptrend in the market.

Types of Wide Ranging Bars

1. Bullish Wide Ranging Bar

A Bullish Wide Ranging Bar indicates a currency pair opening near its low price and closing near its high price. There is a sudden shoot up in prices, and it is easily identifiable in the chart as an extremely long candlestick with a longer upper wick and shorter lower wick.

Wide Ranging Bars graphic
2. Bearish Wide Ranging Bar

A Bearish Wide Ranging Bar indicates a currency pair opening near its high price point and closing near its low price point. It is a sudden dip in prices and easily identifiable in the chart through an extremely long candlestick with a longer lower wick and shorter upper wick.

Wide Ranging Bars graphic
3. Expansion Wide Ranging Bar

Expansion Wide Ranging Bars are long candlesticks with small wicks that close at more than 50% of their candle’s range, implying that the market prices are expanding. They indicate strong moves and are generally seen during intraday trading as the short-term ranges expand and contract regularly with market players fighting for directional control. Each Expansion Wide Ranging Bar closes near to either the intraday high price or low price and depicts information about the currency pair's demand and supply that can be used to make successful buy and sell decisions. These bars help in confirming market price developments and sharp decrease or increase in the price momentum. Each expansion bar emerges from a price movement that results in a trend reversal or trend continuation breaking the moving average price.

Wide Ranging Bars graphic

What do Wide Ranging Bar candlesticks indicate?

All candlesticks, including the Wide Ranging Bar candlesticks, indicate market highs, lows, open price and close price.

Wide Ranging Bars graphic

Considering a bullish Wide Ranging Bar, this candlestick always closes at a higher position than the last candlestick because the buying forces are stronger than the selling forces. The highest point or topmost part of the wick in this candle indicates the price point where the sellers are willing to sell the currency pair in the future. On the other hand, a bearish Wide Ranging Bar is a candlestick that always closes at a lower position than the last candlestick due to the selling forces being stronger than the buying forces. The lowest point or the lowermost part of the wick in this candle indicates the price point where the future buyers are willing to buy the currency pair. Two other important things that Wide Ranging Bar candlesticks indicate are:

Market Volatility

This volatility analysis takes place by identifying the supply and demand in the market and how it changes before any other trade signal. The changes between the supply and demand or buyers and sellers provide traders with a price range/area to take immediate price actions leading to successful trades.

Hidden gaps

The Wide Ranging Bar candlesticks also indicate and identify hidden gaps in the market's price behaviour. This means, if the Wide Ranging Bar candlesticks do not exist in a price chart, the gap between the price action before the wide range and after the wide range will be unexplained. As the Wide Ranging Bar candlesticks exist in the chart, they determine the price action between the highs and lows in the market.

Why do Wide Ranging Bars indicate different price movements for different currency pairs?

The Wide Ranging Bar strategy is applied differently to different currency pairs due to the distinct volatility of each pair. So, if you are a trader who wants to trade a major and exotic currency pair, the Wide Ranging Bar chart for both currency pairs will indicate completely different price views in the same timeline due to their differing volatilities. For example, a major currency pair EUR/USD has a narrower range than an exotic currency pair like EUR/TRY. This is because major currency pairs are less volatile than exotic currency pairs, so their price ranges also differ accordingly. The charts below depict the one-day trading price range of the major currency pair EUR/USD and the exotic currency pair EUR/TRY. The EUR/TRY chart has many more bars due to the high volatility in the market compared to the EUR/USD forex chart. Both charts are a perfect example of Wide Ranging Bars as well since there are a few wide ranging bars in both charts, identified by candles that are longer than the usual ones.

Wide Ranging Bars graphicWide Ranging Bars graphic

Benefits of trading Wide Ranging Bars

1. Indicates strong market momentum

As Wide Ranging Bars are longer than the usual bars/candlesticks in the chart pattern, they indicate strong market momentum for a specific currency pair. For example, a Bullish Wide Ranging Bar indicates a strong market momentum in the upward direction. In comparison, a Bearish Wide Ranging Bar indicates a strong market momentum in the downward direction.

2. Determines buying and selling interests of traders

Wide Ranging Bars' primary motive is to understand traders' buying and selling interests in the market. They indicate the demand and supply of the currency pairs in bearish and bullish markets. A Bullish Wide Ranging Bar results in an excess supply of the currency pair as more buyers convert into sellers. A Bearish Wide Ranging Bar results in excess demand for the currency pair as more sellers convert into buyers of the currency pair.

3. Identifies market reversal zones

Wide Ranging Bars indicate support and resistance levels in the market that are possible market reversals zones. These zones signal traders to make entry and exit decisions in the market. For example, when the market is bearish, and the currency pair price touches the support point, it signals traders to enter the market as prices will reverse and not fall further. However, when the market is bullish, and the currency pair price touches the resistance point, it signals traders to exit the market as prices will reverse and not increase further.

How to Trade with Wide Ranging Bars

When a trader enters the Forex market to trade with Wide Ranging Bars, they can view the currency pair prices in a consolidated format, which means that the price moves within a narrow range made up from the support and resistance levels of the market.

  • The support level in the Forex market is the point where falling currency pair prices stop falling and start increasing
  • The resistance level in the Forex market is the point where the rising currency pair prices stop increasing and start falling

The noise in the market, also known as the unnecessary price fluctuations that can lead to market misinterpretations, is reduced to one or two wide bars. More bars are not printed on the chart until the currency pair price range has been fulfilled and a new range is formed. This provides traders with accurate information around where the market is headed. Support and resistance areas are identified through Wide Ranging Bars during continued uptrends and downtrends.

  • The support level is always identified below the current market price level and experiences maximum demand of the currency pair in the Forex market
  • The resistance level is always identified above the current market price level and experiences maximum supply of the currency pair in the Forex market
  • Since support level is identified during periods of excess demand, it is found in bearish Wide Ranging Bars and signals traders to enter the trade
  • Since resistance level is identified during the period of excess supply, it is found in bullish Wide Ranging Bars and signals traders to exit the trade
Wide Ranging Bars graphic

Factors to consider when trading with Wide Ranging Bar

1. Breakout point

The breakout point is where a currency pair price goes beyond the resistance level or below the support level. The currency pairs start trending in the breakout direction and signal traders to move with the market rather than against it. For example, if the breakout occurs during a Bullish Wide Ranging Bar, it indicates traders to continue staying in the market as prices are expected to increase further. However, if the breakout occurs during a Bearish Wide Ranging Bar, it indicates traders to exit the market as soon as possible as prices are expected to fall further.

2. Climax point

Climax points occur due to the supply and demand of the currency pair. Just as it happens, the traders rush to enter a rising market or exit a falling market. Climaxes signal the end of a strong market trend. This means, in a Bearish Wide Ranging Bar, as there are more buyers than sellers in the current market, there is a selling climax that signals traders to exit the trade to mitigate losses from the falling prices. On the contrary, in a Bullish Wide Ranging Bar, as there are more sellers in the market than buyers, a buying climax signals traders to enter the trade to benefit from the increasing prices thereon.

3. Change of character point

The change of character point in the Wide Ranging Bar trading is used to identify market swings and place stop-loss orders at the right level. A trader must look for a reverse bar that closes above or below the previous Wide Ranging Bar to find out this point. Once identified, the stop loss point should be placed at or below the low price of the last Wide Range Bar during a bullish trend and at or above the high price of the last Wide Ranging Bar during a bearish trend.

Trade the Wide Ranging Bars and identify strong trends

Wide Ranging Bars are the perfect indicator of strong market trends and momentum that help traders make entry and exit decisions accordingly. With our platform, you can trade with the Wide Ranging Bars strategy along with several other strategies that assist traders in making successful market trends. Ready to give it a try? Sign up for a live trading account or try a risk-free demo account on Blueberry Markets.

Recommended Topics

  • Top Pivot Point Strategies

    Pivot point analysis can predict not only price movements but also help time entries and exits correctly to develop a risk management strategy.

  • How to Use The Bill Williams Indicator

    Bill Williams Indicator is helpful in analysing trending markets, reversals and momentum.

  • How to Use Relative Vigor Index in Forex

    The Relative Vigor Index (RVI) is a technical analysis indicator that helps measure a trend’s strength in forex trading.

  • Technical Trading Strategies for Day Traders

    Technical trading strategies for day traders include technical analysis tools to identify short-term trading opportunities in the market.

  • How to Use The Force Index Indicator in Forex?

    The Force Index indicator combines the currency pair’s price and volume to determine the power of bulls and bears in the market.

  • The Ultimate Guide to Trading Trends in Forex

    Trading trends in forex provides you with opportunities to identify the strong market direction and enter an order accordingly.

  • MT5 Indicators Every Trader Should Know

    MT5 is a forex and stock trading platform that enables traders to place automatic orders.

  • What is Volume Trading Strategy

    Volume trading in forex is all about trading currency pairs with high buying or selling pressure.

  • Top Low Spread Scalping Strategies For Forex Traders

    Scalping strategies allow traders to leverage on the small price changes in the forex market to turn the trends in their favour.

  • What is Forex Currency Swap?

    Forex currency swap helps reduce foreign borrowing costs and mitigate exchange rate risks.

  • What is Forex Spot Trading

    With forex spot trading, one can make significant short-term profits by trading at prevailing prices.

  • How to Short Sell a Currency

    Short selling enables traders to place lucrative forex orders even in a falling market.

  • How to Use The Chaikin Money Flow Indicator

    The Chaikin Money Flow indicator provides future market direction by analysing the strength of the market trend and underlying buying or selling pressures.

  • What is Momentum Trading? Top Momentum Trading Strategies

    Momentum trading leverages market volatility to the trader’s advantage by identifying the strength of the market’s current trend.

  • How to Trade With VWAP Indicator in Forex

    The Volume Weighted Average Price (VWAP) helps eliminate any unwanted price fluctuations during the trading period.

  • 5 Top ADX Trading Strategies

    The Average Directional Movement Index (ADX) strategy measures the forex market’s overall strength.

  • How to Identify a Trend in the Forex Market

    Identifying market trends in forex is also helpful in understanding if your trading strategy is going as per plan and where you can improve.

  • Forex Trading Robots: How Do They Work?

    Forex trading robots make multitasking possible by processing multiple conditions like order entries/exits and entering stop loss orders automatically.

  • What Are Momentum Indicators in Forex

    Momentum indicators measure how strong the price change is in the currency pairs.

  • How to Use Gator Oscillator For Forex Trading

    Gator Oscillator helps in identifying a trending or consolidating market.

  • What is The Exponential Moving Average

    Exponential Moving Average (EMA) helps in understanding the market’s trend direction.

  • Top Forex Volatility Indicators

    Forex volatility defines the risk an investor takes in the market. The higher the volatility, the greater the risk and the higher the potential returns.

  • How to Use Forex Market Sentiment Indicators

    Sentiment indicators in the forex market indicate extremely volatile market conditions.

  • How to Use The Hanging Man Candlestick Pattern For Forex Trading

    The Hanging Man Candlestick pattern provides downtrend reversal signals, which helps traders place sell or short orders to profit off falling markets.

  • How to Add MT4 Indicators

    MetaTrader 4 comes with several built-in and custom indicators to boost your trading strategy.

  • Top MACD Trading Strategies

    Moving Average Convergence Divergence (MACD) strategies enable traders to measure market momentum and trend strength.

  • Top Indicators for MT4

    MT4 indicators help analyse forecasted currency pair prices and place exit or entry orders accordingly.

  • How to Trade Bullish and Bearish Divergences

    Bullish and bearish divergences enable you to trade market reversals.

  • Top Support and Resistance Indicators

    Support and Resistance indicators identify price points on the forex chart where the markets can potentially reverse.

  • What is The Donchian Channel Indicator

    The Donchian Channel indicator can determine volatility and potential breakout signals in the market.

  • How to Install MT4: A Beginner's Guide

    MetaTrader 4 (MT4) is a powerful forex trading platform with a user-friendly interface and advanced analytical tools for automating trading.

  • What are Trendlines in Forex Trading?

    Trendlines in forex provide clear market signals for placing long or short orders.

  • Market Order vs Limit Order

    Market and Limit orders help execute automatic trading transactions, as per your trading preferences.

  • Bearish and Bullish Markets

    In the trading world, it is essential to be aware of the bull and bear market trends because they define the direction of the market

  • How to Read Trading Charts

    Trading forex live charts can help identify ongoing market trends, which can help you place successful traders.

  • Top Reversal Patterns For Forex Trading

    Reversal patterns provide traders with price levels at which the market can potentially reverse.

  • How to Find The Best Forex Trading Signals

    Forex trading signals are important market triggers that provide traders with ideal entry and exit price levels in the market.

  • Top Forex Trading Strategies That Actually Work

    Trading in forex, you will come across several forex trading strategies -- some more complex than the others. It is immensely crucial to start forex trading with the right strategy.

  • Scalping vs Swing Trading: What’s the Difference?

    Every forex trader has a different purpose, objective, time constraints, and investment capital. The right forex trading style for you depends on your main trading goals and requirements.

  • What are Volume Indicators

    Volume in the forex market can be used to determine the upcoming market trends. Volume indicators are forex trading indicators that can identify if the volume for a particular currency pair is high or low, providing traders with market continuation and reversal signals

  • Shooting Star Candlestick Pattern

    The Shooting Star Candlestick Pattern can identify bearish market reversals and provide traders with ideal price levels to short or exit the trade.

  • Top Trading Chart Patterns

    Predicting future currency pair prices help in confirming market continuation and reversal signals.

  • What is Slippage in Forex Trading?

    Slippages occur when a currency pair order is executed at a price different from the set market order price.

  • Buy limit vs Sell Stop Orders in Forex

    Placing buy limit and sell stop orders help employ a price control strategy on forex trades. Let's take a look at buy limit vs sell stop orders.

  • The Best Time Frame For Forex Trading

    A time frame is a designated time period where forex trading takes place. Time frames can be measured in minutes, hours, days, weeks, months and years.

  • Top Technical Indicators in Forex

    Technical indicators are a market direction signal based on the current and historical price movement of a currency pair that provides traders with future price expectations

  • Top Continuation Patterns

    A continuation pattern indicates if the current market trend is going to continue in the same direction or not

  • How to Ace Divergence Trading in Forex

    The forex market is all about timing your trades well. Divergences give traders a market reversal signal right before a price trend changes

  • How To Trade Forex With Japanese Candlesticks?

    A Japanese Candlestick is a technical analysis tool used to analyze the currency pair’s price movement in the forex market.

  • Top Momentum Indicators To Analyse Trend Strength

    Momentum indicators are technical analysis tools that determine in which direction the market is headed and how strong or weak the ongoing trend is

  • Types of Moving Averages Every Trader Should Know

    Moving Average is a technical indicator which averages out currency pair prices in a specific time period in order to accurately identify market trend reversals and support-resistance levels.

  • 8 Popular Intraday Trading Indicators

    Intraday Trading Indicators help place successful short-term trade orders in the forex market.

  • What is the Tweezer Candlestick Formation?

    The Tweezer Candlestick formation is a reversal pattern that indicates either a market top (strong uptrend) or market bottom (strong downtrend)

  • Average Directional Index

    The ADX is a strength indicator that measures how strong or weak a particular market trend is.

  • How to Use Elliott Wave Theory For Forex Trading?

    The Elliott Wave Theory analyses a currency pair’s long-term price movement in the forex market.

  • What are Pivot Points in Forex

    Pivot Points help traders identify market reversals. With Pivot Points, traders can predict the support and resistance levels of a currency pair to make entry and exit decisions.

  • Keltner Channel

    Keltner Channel is a technical indicator that provides traders with strong continuation signals and trend directions by assessing a currency pair's price volatility.

  • Leading vs Lagging Indicators

    Leading and lagging indicators help traders measure the future and current performance of a currency pair, respectively. These indicators can help make successful trading decisions.

  • What is Relative Strength Index?

    Relative Strength Index (RSI) helps traders understand how frequently the currency pair prices change in the forex market to predict the future market prices.

  • Harmonic Price Patterns in Forex

    Harmonic Price Patterns allow traders to predict future price movements and trend reversals to make ideal entry and exit decisions in the Forex market.

  • Double tops and bottoms

    Double Tops and Double Bottoms chart patterns help traders identify solid bullish and bearish trend reversals in the Forex market, and in turn, find the ideal market entry and exit points.

  • Falling and Rising Wedges

    When you are trading currency pairs in the Forex market, it is essential to know when the market can possibly reverse. The Falling and Rising Wedges pattern help identify market reversal signals and accurate market entry and exit points.

  • Forex Scalping Strategy

    Scalping refers to trading currency pairs in the Forex market based on real-time analysis. With Forex scalping, you hold a position for a very short period and close once you see a profit opportunity.

  • Symmetrical Triangle Pattern

    Symmetrical Triangle Patterns help identify market breakdowns (price fall) and breakouts (price rise), and in turn, help you plot the entry and exit prices for profitable Forex trading.

  • Introduction to Technical Analysis in Forex

    Technical analysis in Forex trading provides you with significant market trends, reversals and fluctuations and in turn helps you long and short term trades.

  • Trading breakouts and fakeouts

    Breakout and fakeout trading enable traders to take positions in rising and falling markets.

  • Fundamental Analysis in Forex Trading Explained

    Fundamental analysis in Forex trading is one of the several methods you can use to determine the relative security and intrinsic value of a nation’s currency.

  • 8 Top Commodity Trading Strategies

    Commodity trading is one of the best ways to diversify your portfolio and protect yourself from losses incurred due to inflation.

  • What is a Doji Candlestick?

    The Doji Candlestick is a pattern used in technical analyses of trend reversals in a market.

  • Moving Average: The Complete Guide

    Moving Average is used in Forex trading to compare the current currency pair pricing and where it stands with respect to the current average pair prices.

  • What is Volatility Index (VIX) and How Do You Trade It?

    One of the most popular trading markets in the world, the foreign exchange market allows investors to make quick money by trading currencies.

  • Forex Profit Calculator

    On average, a Forex trader can make anywhere between 5 to 15% of the initial amount they invested in the market.

  • Understanding markets gaps and slippage

    The foreign exchange rate reveals valuable details about particular currencies a trader wishes to trade-in.

  • What is a pip in forex?

    When trading in the Forex market, you need to have a close eye on two currencies at the same time. PIP helps you denote the change in a currency pair’s value.

  • Introduction to Order Types in Forex

    Forex has different order types which allow traders to automate entering and exiting positions.

  • Using orders to manage risk

    Forex risk management includes a robust set of rules and regulations that protect you against Forex's negative impacts.

  • Managing risk in 7 steps

    Risk management in Forex is essential to individuals, groups of individuals, and organizations since it enables them to implement measures that help mitigate Forex risk and its negative impact.

  • Bullish and Bearish Flag Patterns

    Blueberry Markets discusses why it is essential to study the bullish and bearish flag patterns in Forex. Learn more.

Learn Icon

Advanced

Master risk management and
become an expert forex trader.
Move on to the advanced course.

Go To Course

Guide to Forex
Trading indicators.

Enter your details to get a copy of our
free eBook

Thank you, please check your inbox for your ebook.

News & Analysis

Catch up on what you might
have missed in the market.

Inside Bar Trading Strategy

Inside Bar Forex trading strategy — a popular system with a nice win/loss ratio but a rather rare occurrence of the proper entry conditions. It doesn't require any indicators and can be applied on the bare candlestick or bar chart.

Features

  • Entry conditions are clearly defined.
  • Very simple bare chart system.
  • High success rate.
  • Rare occurrence of the proper conditions.

How to Trade?

  1. An inside bar is a bar or a candlestick that completely fits into the first preceding bar (also called a "container" bar), including its High and Low values.
  2. If the current bar has an index of 0 and the previous bar has an index of 1 then the following conditions should be true for the current bar to count as an inside bar: High[0] < High[1] and Low[0] > Low[1]. Mind the strict "greater" and "less" operators.
  3. Bearish inside bar that follows a bullish "container" bar on the clearly visible uptrend signals a Short position.
  4. Bullish inside bar that follows a bearish "container" bar on the clearly visible downtrend signals a Long position.
  5. Stop-loss is set to the Low of the "container" bar for the Long positions and to the High of the "container" bar for the Short positions.
  6. Take-profit should be set to the nearest support/resistance level formed by the trend.

Example

Inside Bar Strategy Example Chart

A bullish inside bar after a downtrend is shown on the example chart. The inside bar is easy to identify and the stop-loss level is rather conservative here. The target was set to the resistance level formed by the previous downtrend. As you can see, the currency pair rate reached the take-profit level without any problems.

Warning!

Use this strategy at your own risk. eunic-brussels.eu can't be responsible for any losses associated with using any strategy presented on the site. It's not recommended to use this strategy on the real account without testing it on demo first.

Discussion:

Do you have any suggestions or questions regarding this strategy? You can always discuss Inside Bar Strategy with the fellow Forex traders on the Trading Systems and Strategies forum.

 
What is a trade-weighted currency index?
 
A trade-weighted currency index is a weighted average of a basket of currencies that reflects the importance of a country's trade (imports and exports) with these countries. Sometimes a trade-weighted currency index is taken as a crude measure of a country's international "competitiveness". At any rate, a trade-weighted currency index is a useful measure to aggregate diverging trends among currencies of a country's trading partners. For example, Canada is trading mostly with the United States. Thus the USD/CAD exchange rate has a weight of about 80% in Canada's trade-weighted CAD index.
 
How are the indices in the chart above computed?
 
The index itself is the weighted sum of the exchange rate logarithms. The chart shows the equivalent percentage changes in this index relative to the last trading day. A positive sign indicates that the currency has strengthened against its partner currencies, and a negative sign indicates that the currency has weakened against its partner currencies. The number of partner currencies are limited to the countries that account for at least 1% of a country's total trade. Trade is defined as the sum of imports and exports. The weights and currencies that are currently used are shown in the table on the right.
 
What are those blue & yellow blobs in the table?
 
The charts (magnified in the table below), are my own invention: they summarize the relative position of an exchange rate relative to its performance over the last year. The charts have a yellow background that indicates the square dimension of the chart. The white dot indicates today's position relative to the high (top of chart) and low (bottom of chart) of the FX index during the last days. So if the white dot is close to the top, the currency is close to its highest valuation. If the white dot is close to the bottom, the currency is near its lowest valuation. The blue bars indicate the distribution of valuations over the course of one year. The span between high and low valuation is divided into ten ranges (ie, deciles). Then the number of days during which the currency's valuation has been in each of these deciles is counted. The number of days is proportional to the width of each of the ten blue bars. Thus the position of the white dot relative to the width of the blue bars indicates if the current valuation is a relatively common event or a relatively rare event. For example, if the bulk of valuations has been in the lower deciles, and the white dot is near the top where the bars are narrow, the currency has recently moved up sharply. These charts ("FX conifers") are a simple method of visually summarizing the performance of a currency over the time period of one year. One useful feature of this chart is that it automatically adjusts for the different volatility of currencies, as the span between one-year high and one-year low is a reflection of a currency's volatility.
 
Where else can I find information about trade-weighted exchange rates?
 
Trade-weighted exchange rates are computed by a number of statistical agencies, governments, and supranational organizations such as the International Monetary Fund. Many of them differ slightly in the way they calculate the trade-weighted indices: which currencies they include in the "basket", which weights they assign, and how these weights are updated over time. A good place to start for the USD is with the time series offered by the St. Louis Federal Reserve Bank in the U.S.
 
To make trading decisions you need to get an information about current price and previous prices for different timeframes.

Right after entering to the GetSingleTick function you have next functions to get information about currency that changed:

Bid()- Current Bid price for the currency that changed

Ask()- Current Ask price for the currency that changed

Symbol()- Currency name ('EURUSD', 'USDCAD', etc)

Digits()- Digits after point in price (2 for USDJPY, 4 for EURUSD, )

Point()- Minimum point for the price ( for USDJPY, for EURUSD, )

Code: Select all



Forex Tester provides access to information about bars with next functions:

Open(index)- Get an Open value of a bar by its index

High(index)- Get a High value of a bar by its index

Low(index)- Get a Low value of a bar by its index

Close(index)- Get a Close value of a bar by its index

Volume(index)- Get a Volume of a bar by its index

Time(index)- Get a Time of a bar by its index

Bars()- Get number of available bars (defines how big index value you can use to address a bar, it will be Bars() - 1 range for an index)

Important:All these functions are valid only after SetCurrencyAndTimeframeprocedure call. This procedure defines currency and timeframe for current moment.

Code: Select all



How to enumerate bars. Bars are numbered from right to left and from 0 to Bars - 1. So the last bar has index 0, when the new bar created it receives index 0 and previous bar gets index 1 and so on.

Image

Image

Image

Last edited by Terranin on Mon Jan 26, pm, edited 6 times in total.

Hasta la vista
Mike

ADX: The Trend Strength Indicator

Trading in the direction of a strong trend reduces risk and increases profit potential. The average directional index (ADX) is used to determine when the price is trending strongly. In many cases, it is the ultimate trend indicator. After all, the trend may be your friend, but it sure helps to know who your friends are. In this article, we'll examine the value of ADX as a trend strength indicator.

Introduction to ADX

ADX is used to quantify trend strength. ADX calculations are based on a moving average of price range expansion over a given period of time. The default setting is 14 bars, although other time periods can be used. ADX can be used on any trading vehicle such as stocks, mutual funds, exchange-traded funds and futures.

ADX is plotted as a single line with values ranging from a low of zero to a high of ADX is non-directional; it registers trend strength whether price is trending up or down. The indicator is usually plotted in the same window as the two directional movement indicator (DMI) lines, from which ADX is derived (shown below).

For the remainder of this article, ADX will be shown separately on the charts for educational purposes.

When the +DMI is above the -DMI, prices are moving up, and ADX measures the strength of the uptrend. When the -DMI is above the +DMI, prices are moving down, and ADX measures the strength of the downtrend. The chart above is an example of an uptrend reversing to a downtrend. Notice how ADX rose during the uptrend, when +DMI was above -DMI. When price reversed, the -DMI crossed above the +DMI, and ADX rose again to measure the strength of the downtrend.

Quantifying Trend Strength

ADX values help traders identify the strongest and most profitable trends to trade. The values are also important for distinguishing between trending and non-trending conditions. Many traders will use ADX readings above 25 to suggest that the trend is strong enough for trend-trading strategies. Conversely, when ADX is below 25, many will avoid trend-trading strategies.

ADX ValueTrend Strength
Absent or Weak Trend
Strong Trend
Very Strong Trend
Extremely Strong Trend

Low ADX is usually a sign of accumulation or distribution. When ADX is below 25 for more than 30 bars, price enters range conditions, and price patterns are often easier to identify. Price then moves up and down between resistance and support to find selling and buying interest, respectively. From low ADX conditions, price will eventually break out into a trend. Below, the price moves from a low ADX price channel to an uptrend with strong ADX.

The direction of the ADX line is important for reading trend strength. When the ADX line is rising, trend strength is increasing, and the price moves in the direction of the trend. When the line is falling, trend strength is decreasing, and the price enters a period of retracement or consolidation.

A common misperception is that a falling ADX line means the trend is reversing. A falling ADX line only means that the trend strength is weakening, but it usually does not mean the trend is reversing, unless there has been a price climax. As long as ADX is above 25, it is best to think of a falling ADX line as simply less strong (shown below).

Trend Momentum

The series of ADX peaks are also a visual representation of overall trend momentum. ADX clearly indicates when the trend is gaining or losing momentum. Momentum is the velocity of price. A series of higher ADX peaks means trend momentum is increasing. A series of lower ADX peaks means trend momentum is decreasing. Any ADX peak above 25 is considered strong, even if it is a lower peak. In an uptrend, price can still rise on decreasing ADX momentum because overhead supply is eaten up as the trend progresses (shown below).

Knowing when trend momentum is increasing gives the trader confidence to let profits run instead of exiting before the trend has ended. However, a series of lower ADX peaks is a warning to watch price and manage risk. The best trading decisions are made on objective signals, not emotion.

ADX can also show momentum divergence. When price makes a higher high and ADX makes a lower high, there is negative divergence, or non-confirmation. In general, divergence is not a signal for a reversal, but rather a warning that trend momentum is changing. It may be appropriate to tighten the stop-loss or take partial profits.

Any time the trend changes character, it is time to assess and/or manage risk. Divergence can lead to trend continuation, consolidation, correction or reversal (below).

Strategic Use of ADX

Price is the single most important signal on a chart. Read price first, and then read ADX in the context of what price is doing. When any indicator is used, it should add something that price alone cannot easily tell us. For example, the best trends rise out of periods of price range consolidation. Breakouts from a range occur when there is a disagreement between the buyers and sellers on price, which tips the balance of supply and demand. Whether it is more supply than demand, or more demand than supply, it is the difference that creates price momentum.

Breakouts are not hard to spot, but they often fail to progress or end up being a trap. However, ADX tells you when breakouts are valid by showing when ADX is strong enough for price to trend after the breakout. When ADX rises from below 25 to above 25, price is strong enough to continue in the direction of the breakout.

ADX as a Range Finder

Conversely, it is often hard to see when price moves from trend to range conditions. ADX shows when the trend has weakened and is entering a period of range consolidation. Range conditions exist when ADX drops from above 25 to below In a range, the trend is sideways, and there is general price agreement between the buyers and sellers. ADX will meander sideways under 25 until the balance of supply and demand changes again. 

ADX gives great strategy signals when combined with price. First, use ADX to determine whether prices are trending or non-trending, and then choose the appropriate trading strategy for the condition. In trending conditions, entries are made on pullbacks and taken in the direction of the trend. In range conditions, trend-trading strategies are not appropriate. However, trades can be made on reversals at support (long) and resistance (short).

The Bottom Line: Finding Friendly Trends

The best profits come from trading the strongest trends and avoiding range conditions. ADX not only identifies trending conditions, it helps the trader find the strongest trends to trade. The ability to quantify trend strength is a major edge for traders. ADX also identifies range conditions, so a trader won't get stuck trying to trend trade in sideways price action. In addition, it shows when price has broken out of a range with sufficient strength to use trend-trading strategies. ADX also alerts the trader to changes in trend momentum, so risk management can be addressed. If you want the trend to be your friend, you'd better not let ADX become a stranger.

Those interested in learning more about ADX and other financial topics may want to consider enrolling in one of the best technical analysis courses currently available.

nest...

аналитика форекс gbp кaртa мирa форекс вспомогательные индикаторы форекс как платят налоги трейдеры валютного рынка форекс лучшие индикаторы для входа индикаторы измерения температуры щитовые дмитрий котенко форекс клипaрт для форекс имхо на форексе дц форекс брокер отзывы безрисковая комбинация форекс индикаторы рынка ферросплавов