1. Introduction
That is the continuation on Sapphire Strat Maker and Sapphire Strat Maker Alt (Free) skilled advisor (benefit from the worth low cost whereas it’s nonetheless energetic!) – an EA which lets you create your personal technique with out coding. That is the great thing about this Professional Advisor: create your personal methods – be artistic – and do not be locked to a single technique anymore. Optimize the parameters you need to discover the perfect units and also you’re able to go!
Please, observe that a few of these options might solely be accessible within the full model.
Earlier than persevering with, take a look at the opposite weblog posts:
Right now we’re gonna have a look on completely different classes which will show you how to create your personal technique with Sapphire Strat Maker (or no less than assist the method of creating your personal EA).
2. Varieties of methods
Within the strategy of pondering a brand new technique, I normally outline three predominant classes, two of which subdivide into two different sections:
As we will see, now we have three predominant sorts: pattern methods, countertrend methods and consolidation methods.
Pattern methods and countertrend methods will also be subdivided into momentum and reversal methods.
Momentum methods attempt to catch the present motion – if it is a pattern, it goes on the pattern path; if it is a countertrend, it tries to comply with the other pattern path (thus, countertrend).
Reversal is kind of the other, that’s, it expects that the present motion will fail to proceed and can reverse – thus, if utilized in a pattern technique, it expects the motion to go towards the pattern; if utilized in a countertrend technique, it expects the pattern to return again and go on.
This definition will be visualized in a desk like this:
– | Momentum | Reversal |
---|---|---|
Consolidation | – | – |
Pattern | Comply with the present pattern motion | Expects the pattern to reverse (normally on an overbought/oversold degree) |
Countertrend | Comply with the present countertrend motion | Expects the countertrend to reverse (normally on an overbought/oversold degree) |
By dividing your methods like this, you possibly can create robots that work on completely different market circumstances and which will cut back your losses. Think about a place that buys on an uptrend and promote on the identical uptrend. Relying on the way you configure your EA, each of them could also be worthwhile (however observe that each might lose aswell; a very good portfolio of robots, nevertheless, can handle this).
Let’s make a method and see how we will outline the perfect indicators/parameters for it.
On this instance, I need to create a countertrend reversal technique. Since it’s a countertrend, I have to outline a method to test to which path the pattern goes. Subsequent, since it is a reversal, I have to test for an indicator that tells me a very good level at which this countertrend has gone too far.
There’re two fairly fascinating indicators that do these stuff: transferring averages and sluggish stochastic.
For this technique function, I will assume that we’re in an uptrend if the worth is above the transferring common and in a downtrend if the worth is beneath it. Additionally, we should purchase when the asset is oversold and promote when it’s overbought – these situations can simply be detected if the stochastic is beneath 20 and above 80, respectively.
I will additionally add an ADX to test the present pattern drive and can optimize it is parameters to test the way it higher performs (that’s, I need to know the perfect interval, the worth to match towards ADX and whether or not is best if ADX is beneath or above this degree). An optimization was additionally completed on the transferring common and stochastic durations. All different indicator parameters have been left as default.
After optimizing, these have been the chosen parameters for the symptoms:
The entry alerts have been outlined as following: a purchase place should be opened when the present shut worth is beneath the transferring common (countertrend), when the sluggish stochastic is beneath the oversold degree and in addition when it’s beneath the extent 20 (indicating a reversal). A promote place should be opened when the present shut worth is above the transferring common (countertrend), when the sluggish stochastic is above the overbought degree and in addition when it’s above the extent 80 (indicating a reversal).
To open each varieties of positions, after optimizing, we discovered that the ADX should be beneath the extent 25.
That is how the situations have been set:
There’re many choices to decide on for tp/sl. I will take the best: take revenue by a certain quantity of ticks. The cease loss would be the tp worth multiplied by one other worth. Each might be optimized.
These are the outcomes after optimization:
To maintain it easy, I will not set another choice, like the chance administration, trailing cease loss/take revenue, breakeven, and many others.
The quantity is about to 0.1; the timeframe is M15; the testing interval is from 2018.04.01 to 2024.04.01; my stability is $1,000.00; modelling is Open costs solely.
Now that we’re able to go, these are the outcomes:
Fairly good!
Discover that I might use Gradual Stochastic to additionally purchase/promote on for a pattern technique (like, it crosses the 50 degree upwards or downwards) and the numerous different (30+ or customized) indicators included within the EA.
ps.: concentrate this doesn’t assure a future revenue.
ps2.: observe that these checks have been carried out on a dealer that gives a Zero unfold by-product of EURUSD for a small fee . The outcomes already embody this fee. Thus the outcomes could also be completely different from yours – if that’s the case, optimize the technique so it fits your wants.