Excel Backtesting

MQL5 스크립트 다른

명시

I need an excel backtesting code that can run through O, H, L, C and check for a given TP and SL.

 

My technical knowledge lacks somewhat, so I do not know if this is possible with IF funcitons, or if a macro or something is needed...


From any given price point of my choosing I would like the the code to check thorugh the prices from that point onwards, and find where it hits the given SL or TP.

 

Please see my excel for what I want. 

 

I will determine Entrys by plotting MACD indicator onto the excel, then use IF functions to determine whether to trade. I would need to be able to copy the formula across the whole column, I do not want to have to do it individually each time.

 

Let me know if initerested, thanks 

응답함

1
개발자 1
등급
(164)
프로젝트
218
50%
중재
6
17% / 67%
기한 초과
11
5%
무료
2
개발자 2
등급
(29)
프로젝트
49
22%
중재
14
29% / 21%
기한 초과
13
27%
무료
3
개발자 3
등급
(12)
프로젝트
17
35%
중재
1
0% / 100%
기한 초과
3
18%
무료
4
개발자 4
등급
(195)
프로젝트
395
28%
중재
155
20% / 52%
기한 초과
112
28%
무료
5
개발자 5
등급
(49)
프로젝트
134
27%
중재
62
13% / 53%
기한 초과
58
43%
무료
게재됨: 293 기고글, 1 코드
6
개발자 6
등급
(31)
프로젝트
81
83%
중재
1
0% / 0%
기한 초과
29
36%
무료
7
개발자 7
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료

프로젝트 정보

예산
10 - 40 USD
기한
1 일