![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Whatever it is, there are not enough trades to draw any conclusions.
you can increase the trades many times - the equity staircase will be small and frequent, but the FS will decrease.
I came across an interesting result by chance yesterday.
The idea is to trace quickly how one currency behaves in relation to the other.
We download this Expert Advisor, it is also in the codebase of this forum: ReverseSystemBEST
It tests an instrument using historical data from a file - we test USD/Franc from year 2000 and at the end of the
of thetest open the chart and see the following picture:
Further we save it as a template. Open the daily eurobucks chart and open the saved template
On this chart. Then 2 times click the mouse on icons and the right button select delete all icons.
As a result you will see a picture like below.
That is, you can see that the dollar/franc and the eurobucks are absolutely mirror currency instruments.
I came across an interesting result by chance yesterday.
The idea is to trace quickly how one currency behaves in relation to the other.
We download this Expert Advisor, it is also in the codebase of this forum: ReverseSystemBEST
It tests an instrument using historical data from a file - we test USD/Franc from year 2000 and at the end of the
of thetest open the chart and see the following picture:
Further we save it as a template. Open the daily eurobucks chart and open the saved template
On this chart. Then 2 times click the mouse on icons and the right button select delete all icons.
As a result you will see a picture like below.
That is, you can see that the dollar/franc and the eurobucks are absolutely mirror currency instruments.
Oh, how many wonderful discoveries for us ......
I originally came up with this idea with ticks, but it turns out there is no tick history in the tester
so I transferred it to bars.
The idea is a combination of bars. The settings may be:
Up - Buy:
Bears = 0, Value
Bears = 0, Value
Colour
Line Thickness
Down - Sell:
Bears = 0, Value
Bears = 0, Value
Colour
Line Thickness
For example one bar 1 up and 2 down, 1 up and 3 down, then 1/4, 1/5, !/6, 1/7 etc. for Sell.
For Bai - 1 bar down and 2 bars up, 1 down and 3 up, then 1/4, 1/5, etc.
For example let's take a combination of 3 bars up and 7 bars down ( 3/7 for short ) for the Sell. We take the value
of the highest price of the 3rd bar and the lowest price of the 7th bar = calculate the average price and draw a line
on the average price of this combination of bars. I would also like this combination to be outlined with a circle
using the same indicator.
Next you can write an EA using this indicator and check the result.
If anyone writes an indicator and/or advisor, post it here if you don't mind.
--------------------------------------------------------------------------------------------------------------+
By the way - it can be done with points - just trade directly online.Not by time, like in the WOC EA, but exactly by combinations of points and it will turn out
that the Expert Advisor will not trade by history, but by the current situation. But it's so,
is probably too shallow and implausible - although I'm not sure myself
.
leonid553:
There is an Envelopes indicator, and the classic tactics of working with it are known. But due to its structure it is too "sensitive", or with a large period - it lags a lot of signals. However, if we smooth out this indicator, the situation will change immediately! We select the deviation of the borders so that the borders cover only the tips of the candles and we enter by these crossings strictly following the trend. - set it (the trend) programmatically by the slope angle (for example) of these borders.
One version works in buy. The other version works for sell. At the same time we surprisingly miss losing trades at trend reversals! - No irony! And besides during a flat - no deals! (because the trend is set by the angle of slope!)
Here's a smoothed indicator chart - entry points are shown with arrows.
One more trick. You can use it as a filter or as a separate version. Stochastic. It should not be used according to classical rules but a little bit non-standard! Take a long period and enter at crossing not from outside to inside of overbought/oversold zones, but vice versa! - I have shown the entries with arrows in the stochastic window.
I have already made primitive Expert Advisors using both described methods. The results are satisfactory so far...
At the request of moderator Granit77 the original post was deleted and the discussion of Expert Advisor on filtered stochastics was moved here https://www.mql5.com/ru/forum/112887/page15#518639
The idea is to create an indicator.
This idea was originally invented by me with ticks, but it turns out that there is no tick history in the tester
So I shifted it to bars.
The essence is a combination of bars.The settings may be as follows:
Up - Buy:
Bullish = 0, Value.
Bears = 0, Meaning
Colour
Line Thickness
Down - Sell:
Bears = 0, Value
Bullish = 0, Value
Colour
Line Thickness
E.g. 1 bar up and 2 bars down, 1 bar up and 3 bars down, then 1/4, 1/5, !/6, 1/7 etc. for Sell.
For Bai - 1 bar down and 2 bars up, 1 down and 3 up, then 1/4, 1/5, etc.
For example let's take a combination of 3 bars up and 7 bars down ( 3/7 for short ) for the Sell. We take the value
the highest price of the 3rd bar and the lowest price of the 7th bar = calculate the average price and draw a line
I would also like this combination of bars to be drawn as a circle
using the same indicator.
Then you can write an EA using this indicator and check the result.
If anyone writes an indicator and/or advisor, post it here if you don't mind.
--------------------------------------------------------------------------------------------------------------+
By the way - it can be done with points - only online trading is needed.Not by time, like in the WOC-advisor, but precisely by combinations of points.
that the Expert Advisor will not trade based on the history, but on the current situation. But it is so,
although I don't know for sure.
Although I myself do not know exactly.
I made a custom indicator as described above. Pretty interesting - because = Accurate ( Unmistakably identifies given Fractal Patterns ).
Here is the code itself:
Here's a custom-built turkey as described above. Pretty interesting - because = Accurate ( Detects Fractal Patterns correctly).
Here's the code itself:
То есть видно что доллар/франк и евробакс – абсолютно зеркальные валютные инструменты.
Maybe we should be a little more careful with the word "absolutely".
Forthose in the tank Comment to the picture: The averaging was taken for X= 10, 20, 100 and 250 candlesticks. The timeframe on the left is M30, on the right - D1. Anything near zero means absence of any "mirroring" for the last X candles [on the average].
As it is, the instruments move similarly, sometimes in the same direction, which is confirmed by periodic correlations. But it is not even cointegrated, which is proved by the non-stationary EURCHF chart (though I can't confirm it unambiguously - I haven't tested it, I think it is senseless).
Here's a custom-built turkey as described above. Pretty interesting - because = Accurate ( Detects Fractal Patterns correctly).
Here is the code itself:
Thank you! Interesting idea!
It shows on all TFs. But something is wrong with yellow fractal. It is drawn on all TFs at different distances and not the same as on blue.
Please check it!