---
title: "Discussion on \"Pine Script to MQL5: the three timing bugs that make an EA trade differently\" | Hashnode"
description: "Discussion on \"Pine Script to MQL5: the three timing bugs that make an EA trade differently\". A Pine Script strategy and its MQL5 version can use the same indicators and still trade on different bars. Here are the three timing bugs behind most of that, and a small EA to check for them.\n## 1. R"
url: "https://hashnode.com/posts/pine-script-to-mql5/6ad72cfc1690725ca1740ee7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Pine Script to MQL5: the three timing bugs that make an EA trade differently](https://codeflowos.hashnode.dev/pine-script-to-mql5?utm_source=hashnode&utm_medium=feed)

A Pine Script strategy and its MQL5 version can use the same indicators and still trade on different bars. Here are the three timing bugs behind most of that, and a small EA to check for them. ## 1. R

Oct 20 · 2 min read · codeflowos.hashnode.dev  
Read the article

-   [#tradingview](https://hashnode.com/tag/tradingview)
-   [#mql5](https://hashnode.com/tag/mql5)
-   [#algotrading](https://hashnode.com/tag/algotrading)
-   [#metatrader5](https://hashnode.com/tag/metatrader5)

## Written by

[Karan Rajput](https://hashnode.com/@codeflowos)

@codeflowos

  
[View profile](https://hashnode.com/@codeflowos)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
