GithubHelp home page GithubHelp logo

vzhomeexperiments / falcon_a Goto Github PK

View Code? Open in Web Editor NEW
20.0 5.0 42.0 69 KB

Expert Advisor based on Falcon Template and kNN trading algorithm

Home Page: https://www.udemy.com/self-learning-trading-robot/?couponCode=LAZYTRADE7-10

License: MIT License

MQL4 98.48% Batchfile 1.52%
mt4-ea trading-robot knn-classifier decision-support-system udemy-tutorial udemycourse reinforcement-learning self-learning model-based artificial-intelligence

falcon_a's Introduction

FALCON_A

Designed to work best with Decision Support System developed inside Lazy Trading Project

https://vladdsm.github.io/myblog_attempt/topics/lazy%20trading/

Introduction

Model-based trading robot. Main features are listed below:

  • Does not require optimization of parameters
  • Learns from past trading experience
  • Able to read Market Type
  • Able to log Market Type status to the file
  • Works with Reinforcement Learning Policy to identify which market type is more suitable to trade in
  • IMPORTANT: Setup Environmental Variables to syncronize and use scripts inside the repository

Reference

This EA is deprecated.

It was previously explained in the Udemy course

Developing Self Learning Trading Robot

This repository is to keep existing EA working on 28 currencies and forcedly trained with kNN methods used code from here

Original code: Stat_Euclidean_Metric.mq4

Repository will not be maintained or even be deleted in the future.

How this will work?

  • Go to Tester and set up parameter Base = True.
  • Select large amount of time period and start trades simulation.
  • Then change parameter Base = False.
  • Run simulation again

Finally in order to use in trading mode move files from /tester folder to the /Files folder

Optimization Method (on Saturdays!)

  1. Check which systems require optimization in the folder 'TEST' see file 're-train'
  2. Write down magic numbers and corresponding currency pair
  3. Select robot FALCON_A in Terminal 2 strategy tester
  4. Select M15, Open Prices, Spread 3
  5. set up date to be | Start: Today - 2month; End: Today
  6. during 'optimization' set max 25 trades, lots = 0.01, Base = True
  7. set up magic number to the one selected in the table (see point 2)
  8. press start in the tester to generate trades
  9. repeat steps 7 - 8 for all magic numbers in the table
  10. execute script _CopyDATFilesToProd.bat to copy generated files to the T1, T3, T4...
  11. Make sure that platforms/computer are restarted

Disclaimer

Use on your own risk: past performance is no guarantee of the future results!

falcon_a's People

Contributors

vzhomeexperiments avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

falcon_a's Issues

FalconA.mq4 line 431

calls T_Num with an argument , but TNum from the Includes project is not defined to take an argument

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.