silkflo / FALCON_A

Expert Advisor based on Falcon Template and kNN trading algorithm

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Reference

Functionality of this EA will be 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

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!

About

Expert Advisor based on Falcon Template and kNN trading algorithm

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

License:MIT License


Languages

Language:MQL4 97.9%Language:Batchfile 2.1%