Git Product home page Git Product logo

neo-trader's Introduction

Neo Trader

Send orders from Traingview to Metatrader platform with one click!

How it works?

  1. Install Expert Advisor in Metatrader terminal.

    • Go to MT4 (for metatrader 4) or MT5 (for metatrader 5) directory and copy the contents of Include and Experts directories into your Metatrader data folder's Include and Experts directories respectively.

    • Open Metatrader terminal and make sure you have enabled automated trading.

    • You will see NeoTrader expert advisor in Metatrader experts section. Add it to a chart and go to Inputs tab. Set following configurations according to your requirements.

      Screenshot of Expert advisor configurations

      • ServerPort - port of the server to be run. Do not change this for now, because I have hardcoded this port in the browser plugin. I will add a settings page to browser plugin in the future to make this configurable.
      • DefaultRiskPercentage - Risk percentage per trade. This can be overridden using browser plugin.
      • MaximumSplippage - Maximum allowed splippage when executing the trade. This is not applicable to limit trades, so we do not need to worry about this.
      • MagicNumber - A number to identify trades placed by this EA. No need to change.
      • ArrowColor - Forget it!
      • SymbolPostfix - Some brokers add some letters into the end of the symbol name. As you can see in above screenshot, symbol name is EURUSD.a. So .a should be added as SymbolPostfix.
      • CalculateLotSizeToFixedValue - When set to true, expert advisor will calculate lot size to given account balance given under AccountBalanceToCalculateLotSize.
      • AccountBalanceToCalculateLotSize - If CalculateLotSizeToFixedValue is set to true, this value will be used to calculate lot size as account balance.
  2. Install Browser extension.

  3. Send positions from Tradingview to Metatrader.

    tradingview-extension.png

    • Open a chart in trading view and draw a position using position tool and double-click on it. Position details popup will appear.
    • Open the extension, and it will show the position details.
    • Select desired order execution type. (Market order or Pending order)
    • If execution type is pending, then select pending order type. If set to Auto, EA will determine whether to place to a Limit order or a Stop order according to current price.
    • Then click on Send button. Trade will be placed in the Metatrader platform.

If you have any issues regarding EA or browser plugin, please raise a Github issue.

Credits:

I have used following socket library to build the EA.

neo-trader's People

Contributors

diliproshitha avatar

Stargazers

عمرو خالد ابراهيم الخميسى avatar NOK avatar  avatar Rscomputer Solutions avatar Alireza avatar Cristian Machado avatar Amir Elleuch avatar  avatar Илија Ј. avatar BigPapiRob avatar  avatar LI Gen avatar  avatar Barbz avatar Sihao Liu avatar JProgrammerJules avatar  avatar Alexander Tatchin avatar  avatar Serge Demers avatar  avatar

Watchers

James Cloos avatar Khoa Ho avatar  avatar  avatar

neo-trader's Issues

Permissions are too broad

"Access your data for all websites"
I've seen another addon requiring access only to a certain domain name
That should require only access to tradingview.com

Extension Returns 'null' When Fetching Data in Chrome v123.0.6312.87 on MacOS Sonoma

I am encountering an issue with the Neo Trader extension while running Chrome version 123.0.6312.87 on MacOS Sonoma version 14.4 (23E214). The extension's console.log is outputting null following the call to getTradeInfo(). It appears there may be an issue with script injection or the interaction with the chrome object, which is preventing the extension from functioning as intended.

Steps to Reproduce:

Install the Neo Trader extension in Chrome.
Open the Chrome developer console.
Attempt to execute the function that retrieves trading information from TradingView.
Observe that the console logs a null result.
Expected Behavior:
The function is supposed to fetch data from TradingView and return a populated object containing the trade information.

Actual Behavior:
Instead of retrieving data, the function returns null, indicating a potential problem with script injection or with the Chrome object's response. Attached screenshots demonstrate the console log output and the object returned by chrome.scripting.executeScript, which is unexpectedly null.

Additional Information:

Operating System: MacOS Sonoma version 14.4 (23E214)
Screenshots: [please attach your screenshots here]
Screenshot 2024-03-31 at 4 39 17 AM
Screenshot 2024-03-31 at 4 39 24 AM

multiple MT5 terminals

Hi,
and thanks for sharing your great work.

is there any plans for adding an option to use multiple MT terminals?
i know that i could just use some trade copier from account to account, so its more of an convenience thing if neo-trader could just connet directly to multiple terminals :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.