1. Introduction
That is the continuation on Sapphire Strat Maker and Sapphire Strat Maker Alt (Free) professional advisor (benefit from the value low cost whereas it’s nonetheless energetic!) – an EA which lets you create your personal technique with out coding. That is the fantastic thing about this Knowledgeable Advisor: create your personal methods – be artistic – and do not be locked to a single technique anymore. Optimize the parameters you wish to discover the very best units and also you’re able to go!
Please, word 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:
At present we’re gonna have a look on totally different classes which will enable you to create your personal technique with Sapphire Strat Maker (or at the least assist the method of creating your personal EA).
2. Varieties of methods
Within the means of considering a brand new technique, I often outline three foremost classes, two of which subdivide into two different sections:
As we will see, we’ve got three foremost varieties: development methods, countertrend methods and consolidation methods.
Pattern methods and countertrend methods can be subdivided into momentum and reversal methods.
Momentum methods attempt to catch the present motion – if it is a development, it goes on the development course; if it is a countertrend, it tries to comply with the other development course (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 development technique, it expects the motion to go towards the development; if utilized in a countertrend technique, it expects the development to return again and go on.
This definition may be visualized in a desk like this:
– | Momentum | Reversal |
---|---|---|
Consolidation | – | – |
Pattern | Comply with the present development motion | Expects the development to reverse (often on an overbought/oversold degree) |
Countertrend | Comply with the present countertrend motion | Expects the countertrend to reverse (often on an overbought/oversold degree) |
By dividing your methods like this, you may create robots that work on totally different market circumstances and which will scale 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 word that each might lose aswell; a superb portfolio of robots, nonetheless, can maintain this).
Let’s make a technique and see how we will outline the very best indicators/parameters for it.
On this instance, I wish to create a countertrend reversal technique. Since it’s a countertrend, I have to outline a method to test to which course the development goes. Subsequent, since it is a reversal, I have to test for an indicator that tells me a superb level at which this countertrend has gone too far.
There’re two fairly attention-grabbing indicators that do these stuff: shifting averages and sluggish stochastic.
For this technique function, I will assume that we’re in an uptrend if the value is above the shifting common and in a downtrend if the value is beneath it. Additionally, we should purchase when the asset is oversold and promote when it’s overbought – these circumstances can simply be detected if the stochastic is beneath 20 and above 80, respectively.
I will additionally add an ADX to test the present development power and can optimize it is parameters to test the way it higher performs (that’s, I wish to know the very best interval, the worth to check towards ADX and whether or not is best if ADX is beneath or above this degree). An optimization was additionally completed on the shifting 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 indicators have been outlined as following: a purchase place should be opened when the present shut value is beneath the shifting common (countertrend), when the sluggish stochastic is beneath the oversold degree and likewise when it’s beneath the extent 20 (indicating a reversal). A promote place should be opened when the present shut value is above the shifting common (countertrend), when the sluggish stochastic is above the overbought degree and likewise when it’s above the extent 80 (indicating a reversal).
To open each varieties of positions, after optimizing, we came upon that the ADX should be beneath the extent 25.
That is how the circumstances have been set:
There’re many choices to decide on for tp/sl. I will take the only: 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 possibility, like the danger administration, trailing cease loss/take revenue, breakeven, and many others.
The amount is ready 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 development technique (like, it crosses the 50 degree upwards or downwards) and the various different (30+ or customized) indicators included within the EA.
ps.: concentrate this doesn’t assure a future revenue.
ps2.: word that these exams have been carried out on a dealer that gives a 0 unfold spinoff of EURUSD for a small fee . The outcomes already embrace this fee. Thus the outcomes could also be totally different from yours – in that case, optimize the technique so it fits your wants.