Discussing the article: "Price Action Analysis Toolkit Development (Part 10): External Flow (II) VWAP"

 

Check out the new article: Price Action Analysis Toolkit Development (Part 10): External Flow (II) VWAP.

Master the power of VWAP with our comprehensive guide! Learn how to integrate VWAP analysis into your trading strategy using MQL5 and Python. Maximize your market insights and improve your trading decisions today.

The VWAP is typically calculated using orders placed during a single trading day. However, it can also be applied across multiple timeframes for a broader market analysis. On a chart, VWAP appears as a line, and it serves as a dynamic reference point. When the price is above the VWAP, the market is generally in an uptrend. Conversely, when the price is below the VWAP, the market is typically considered to be in a downtrend. In the image below, I have visualized the VWAP strategy by highlighting key levels where price tends to react around the VWAP. These marked levels show how the market often interacts with the VWAP line.

VWAP Stratergy

Author: Christian Benjamin

 
You showed that this code works in backtesting but i get this error  HTTP Code: -1 | Error: 4014 . according to docs its "Function is not allowed for call"

 
Isuru Weerasinghe #:
You showed that this code works in backtesting but i get this error  HTTP Code: -1 | Error: 4014 . according to docs its "Function is not allowed for call"

My apologies. You need to import backtesting libraries such as Backtrader, BT, or VectorBT in the Python script. Without these, backtesting won’t be possible.
 
Thanks for the article.
Can we backtest(optimise) the "WebRequest enabled EA" on MetaTrader with cloud agents?
 
Too Chee Ng #:
Thanks for the article.
Can we backtest(optimise) the "WebRequest enabled EA" on MetaTrader with cloud agents?

According to my findings:

- Using WebRequest() on Cloud Agents (remote MQL5.com network) is not allowed

- Unlike MetaTrader Cloud Agents (which block external communication), LAN agents are allowed