How do I calculate VWAP
Joined 23/03/23 08:10
By DominicWalsh · Posted#EURUSD: Important Breakout 🇪🇺🇺🇸 Bulls push 🟢EURUSD heavily after yesterday's Interest Rate Decision and FOMC. The price has successfully broken and closed above a solid horizontal supply cluster. The next solid resistance that I see is 1.099 - 1.103 area. Probabilities will be high that it is the next goal for buyers. For those, who missed entries, I strictly recommend waiting for a pullback first. I will post an update later on. For Additional confirmation use: Xmaster Formula MT4 Indicator
The Nasdaq’s gains are starkly contrasted with relatively weak performances this year from US index peers the S&P 500 and Dow Jones Industrial Average (Wall Street 30), suggesting some sector rotation has occurred. Source: Bloomberg Indices Nasdaq-100 S&P 500 Dow Jones Industrial Average Nasdaq Technical analysis Shaun Murison | Senior Market Analyst, Johannesburg | Publication date: Monday 20 March 2023 The Nasdaq 100 index, after being out of favour in 2022, has managed to produce double digit price gains within the first quarter of 2023. These gains are starkly contrasted with relatively weak performances this year from US index peers the S&P 500 and Dow Jones Industrial Average (Wall Street 30). The failure of smaller financial counters Silvergate, First Republic and Silicon Valley Banks, has sparked fears around a mini banking crisis prompting weakness in larger banking peers which make up some of the S&P 500 and Dow Jones Industrial index constituents. In turn there is a suggestion that we are now seeing some sector rotation by investors back into technology stocks found within the Nasdaq 100 index. Relative strength comparison: Nasdaq 100 vs S&P 500 Source: IG The chart above shows a ratio comparison of the Nasdaq 100 (numerator) and the S&P500 (denominator) from the beginning of 2022 up until now (20 March 2023). The red trend line (arrow) highlights the downtrend in this ratio which reflects a significant underperformance of the Nasdaq against the S&P500 in 2022. The blue arrow highlights the upward trend of this ratio which began in early 2023. The upward trend now prevalent, highlights the Nasdaq 100’s outperformance of the S&P 500. Relative strength comparison: Nasdaq 100 vs Dow Jones Industrial Average Source: IG Similarly, to our previous chart (Nasdaq100 / SP500) the above chart of the Nasdaq 100 (numerator) and Dow Jones Industrial Average (denominator) ratio highlights these same trends, i.e. in 2022 Nasdaq 100 consistently underperformed the Dow, while in 2023 that trend appears to have reversed. Year to date index moves compared Source: IG Albeit from a lower base, the Nasdaq 100 has outperformed its benchmark peers the S&P500 and Dow Jones Industrial Average significantly in 2023. Nasdaq 100 – Technical analysis Source: IG As highlighted in a previous article, the 50-day simple moving average (50MA) (green line) has recently crossed above the 200-day simple moving average (200MA) (blue line). This moving average crossover is commonly referred to as the ‘golden cross’ in technical analysis terms. The suggestion is that it marks the beginning of a new longer-term uptrend in a market, in this case the Nasdaq 100. While we have seen some short-term gains to follow in the index, the Nasdaq 100 does now also trade in overbought territory. The overbought signal suggests that trend followers looking for long entry might be afforded an opportunity to do so through either a near term price pullback or sideways consolidation. Source: IG The price break above resistance at 12350, now sees this level as possible support, should a pullback ensue. Traders supporting the long-term uptrend might look for long entry on a pullback to either this level or trend line (solid black line) support. Preferably a pullback would need to end with a bullish reversal (candle) pattern. In this scenario, 12900 and 13190 provide initial resistance targets, while a close below the reversal low might be used as a stop loss indication for the trade.
FTSE 100 weakens but DAX and Nasdaq 100 futures move up in early trading Indices faltered after the Fed last night, and remain mixed this morning, but the DAX and the Nasdaq 100 are looking more positive. Source: Bloomberg Chris Beauchamp | Chief Market Analyst, London | Publication date: Thursday 23 March 2023 FTSE 100 struggles to move higher After surging on Tuesday, the price dropped back slightly yesterday, and it has edged down in early trading from overnight highs. The index is still firmly up on the lows from Monday, so some consolidation is not surprising. It would need a move back below the 200-day simple moving average (SMA) to suggest a more sustained period of weakness that could see Monday’s lows tested once again. Conversely, a bounce back above 7580 would hand the buyers the advantage and suggest a further recovery that might result in an eventual move back to the February highs. Source: ProRealTime DAX claws back Wednesday losses Similarly, this index faltered at the 50-day SMA yesterday, but given it has rallied 900 points from the lows this short-term period of indecision is not surprising. A revival above the 50-day SMA would mean that the buyers have reasserted control and that a move back to the March highs is back in play. The pullback of the past two weeks does suggest a higher low has been formed. Thus it would need a move back below 14,400 to really suggest that the sellers are back in control, with a drop below 14,600 indicating that the outlook has shifted to neutral in the short-term. Source: ProRealTime Nasdaq 100 pushes off overnight lows The index continues to be the best of the bunch on Wall Street, rallying back to the February highs this week. An initial move above 12,900 and towards 13,000 last night in the wake of the Fed was beaten back, but the bounce is intact, after the recovery from the 200-day SMA last week. Now the index needs a daily close above 13,000 to signal that a break to the upside has occurred, which would then put a move to the August highs around 13,7000 into play. Source: ProRealTime
I've managed to get and read data from IG Demo API . Can anyone please point me on how I can calculate VWAP... as seen on tradingview.? I'm using python and I have the price values stored in a DataFrame. Time interval is 30 mins.
Any help is really appreciated.
ThanksEdited by Farooq
Link to comment
1 answer to this question
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now