Cruzamento dependo da posicao das medias

명시

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.

응답함

1
개발자 1
등급
(414)
프로젝트
670
33%
중재
60
17% / 32%
기한 초과
114
17%
작업중
2
개발자 2
등급
(320)
프로젝트
466
42%
중재
78
12% / 63%
기한 초과
75
16%
작업중
3
개발자 3
등급
(2369)
프로젝트
2977
65%
중재
76
47% / 14%
기한 초과
340
11%
무료
4
개발자 4
등급
(24)
프로젝트
34
9%
중재
3
33% / 0%
기한 초과
8
24%
무료
5
개발자 5
등급
(46)
프로젝트
59
39%
중재
5
0% / 60%
기한 초과
38
64%
무료
6
개발자 6
등급
(7)
프로젝트
8
38%
중재
3
33% / 33%
기한 초과
2
25%
무료
비슷한 주문
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: -

프로젝트 정보

예산
50+ USD
개발자에게
45 USD
기한
에서 1  10 일