OHLC Candles with Ask and Bid - MetaTrader 5 Script | Trading Script Download - MT4/MT5 Resources




This is a candlestick chart that connects the highest price of the candle to the ask price if the current is above the current high. It is believed that the bid price is always the same as the close price, but either way it is also included in the logic so that the lowest price of the candle is associated with the bid price when it is lower.
The ask price is always higher than the bid price, so it makes sense to connect the candles to the ask and bid prices in this way and not leave any hidden prices and spreads behind. Quote lines can always be activated on the chart, but quotes will be more specific if viewed this way.
Normal OHLC diagram:
OHLC with ask and bid:
Attachment download
📎 OHLC_Candles_with_Ask_and_Bid.mq5 (3.07 KB)
Source: MQL5 #64697
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •