Cruzamento dependo da posicao das medias

İş Gereklilikleri

Olá. Preciso do seguinte, para mini índice:


No gráfico, teremos duas médias como base. Se a média curta estiver acima da longa, um candle precisa fechar abaixo da média curta(também pode estar abaixo da longa). O próximo candle, tem que abrir abaixo e fechar acima da média curta, dando compra nesse fechamento. A estratégia tem stop fixo, parcial subindo o stop para o breakeven e alvo final. Não precisa ocorrer um candle seguido do outro, eles podem vir fechando abaixo e uma hora há a abertura abaixo e fechamento acima. 

Para a venda, a ideia é a mesma. Média curta abaixo da média longa, candles fechando acima da média curta ou longa e um candle aparece abrindo acima e fechando abaixo da média curta.

É possível automatizar isso e executar um backtesting?


Obrigado.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(414)
Projeler
670
33%
Arabuluculuk
60
17% / 32%
Süresi dolmuş
114
17%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(320)
Projeler
466
42%
Arabuluculuk
78
12% / 63%
Süresi dolmuş
75
16%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(2369)
Projeler
2977
65%
Arabuluculuk
76
47% / 14%
Süresi dolmuş
340
11%
Ücretsiz
4
Geliştirici 4
Derecelendirme
(24)
Projeler
34
9%
Arabuluculuk
3
33% / 0%
Süresi dolmuş
8
24%
Ücretsiz
5
Geliştirici 5
Derecelendirme
(46)
Projeler
59
39%
Arabuluculuk
5
0% / 60%
Süresi dolmuş
38
64%
Ücretsiz
6
Geliştirici 6
Derecelendirme
(7)
Projeler
8
38%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
2
25%
Ücretsiz
Benzer siparişler
Panel cointegration 40 - 60 USD
I need a panel, where I include several assets, on average 20, and do the cointegration test in 10 periods with a list of other assets pre-selected in the panel settings. Only the cointegration test will be carried out in 10 periods, in the selected time frame
I need a library that when running optimization backtest displays information like the example below: Hello there, I've developed my own EA based on my strategy. For robustness purposes, I need to include WFA inside this code. That said, I do not expect you to use solutions based on: #import "WalkForwardOptimizer.ex5" The goal here is to develop the WFA & WFM inside the EA. The expected results of this code are: -

Proje bilgisi

Bütçe
50+ USD
Geliştirici için
45 USD
Son teslim tarihi
from 1 to 10 gün