- Classes and interfaces
- Articles on the development of trading applications
- How to Create an Expert Advisor or an Indicator - Algorithmic Trading, Trading Robots
Focus on what works. Even if it is difficult, it is not impossible. There is no such thing is too complex to code, eventhough there are often simple solutions for the same problem. You can train AI for example to detect pullback patterns but it is computationally expensive while a simple deviation threshold yields the same results.
No indicator has an edge in itself, Indicators are just tools and should be used as such. I am employing tick based algorithms with no indicator, just a very simple mathematical model. Using optmizier i brute-force search (or align if you will) for market structures. This works wel but the downside is it does require a real market tick feed. It does not work on hodge podge market maker broker feed, so it is very broker specific.
As of late i am trying to expand to less broker dependent strategies and entered into the realm of bars and indicators, with varying degrees of success. Best results where abtained based on a simple but sound ideas even using lagging repainting indicator. So my epxerience is the same as yours, structure is the main driver.
As to the edge, it can come from many places. It does not mattrer what you trade, but how you trade it somebody once said, and i agree. For example there are quite a few people profitable with a breakout strategy while others keep on yapping about false breakouts. So the edge can be as simple as the profit taking/ minimize loss mechanim, al else being equal (ie trading the same price levels).
Focus on what works. Even if it is difficult, it is not impossible. There is no such thing is too complex to code, eventhough there are often simple solutions for the same problem. You can train AI for example to detect pullback patterns but it is computationally expensive while a simple deviation threshold yields the same results.
No indicator has an edge in itself, Indicators are just tools and should be used as such. I am employing tick based algorithms with no indicator, just a very simple mathematical model. Using optmizier i brute-force search (or align if you will) for market structures. This works wel but the downside is it does require a real market tick feed. It does not work on hodge podge market maker broker feed, so it is very broker specific.
As of late i am trying to expand to less broker dependent strategies and entered into the realm of bars and indicators, with varying degrees of success. Best results where abtained based on a simple but sound ideas even using lagging repainting indicator. So my epxerience is the same as yours, structure is the main driver.
As to the edge, it can come from many places. It does not mattrer what you trade, but how you trade it somebody once said, and i agree. For example there are quite a few people profitable with a breakout strategy while others keep on yapping about false breakouts. So the edge can be as simple as the profit taking/ minimize loss mechanim, al else being equal (ie trading the same price levels).
These are relatively intuitive for humans, but difficult to define precisely in code.
There is no such thing is too complex to code...
Any technical or fundamental analysis can be incorporated into MT5─using MQL5's standard code elements, MQL5's OOP code elements, Windows DLL files, Python, etc.
Of course, a new coder can't very well start out as an advanced coder, so you have to start somewhere. This usually involves feeding off of the work of others, and there is nothing wrong with that. There's nothing preventing you from continuing to manually trade while learning to code.
As a side note... If you're trading a demonstrably profitable manual strategy and having trouble automating it, you'll likely have little problem finding a coder to implement it in an EA. As potential caveats to farming-it-out, you won't be learning much about coding and you'd be sharing your strategy with at least one other person.
Regarding use of AI, there is an analogous principle in legal trial work─"If you're unable to precisely frame your question, then you can't get your desired answer." My point is that you have to possess some knowledge about the code that you seek in order to precisely frame your prompt(s), including follow-up corrections, to AI. Every AI bot has its own data sharing policy but then, so does Google which recently got hit with a class action lawsuit for violating its own privacy terms. Personally, I prefer to write code myself rather than to attempt to depose AI.
struct Trend{ int direction; double price; datetime time; double distance; int interval; } trends[];Next, you need to define the criteria for when a pullback within the current trend turns into a new opposite trend. There are two main approaches: either the price exceeds a certain distance from the last extreme point, or a time interval is exceeded. If the limit is reached, you add a new element to the array - this is your new trend. As new quotes arrive, update the data as needed. If you want to track waves within this trend, you would need to nest another array of structures inside the current structure.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use