Global variables in backtest

Aug 07, 2017 at 17:14
480 개의 뷰
4 Replies
Oct 23, 2012 부터 멤버   게시물349
Aug 07, 2017 at 17:14
Can the global variables set by an live indicator be read in a backtest?
if you follow the flock like sheep you always end up stepping in shit!
Nov 21, 2011 부터 멤버   게시물1718
Aug 08, 2017 at 13:09
If you backtest past period with tool that provides only actual data... then you can backtest but it won't refer the desired data at that time.

Oct 23, 2012 부터 멤버   게시물349
Aug 08, 2017 at 14:26
Can something like this be done?

IF backtest
Indicator use EURUSDH1.HST
START DATE/time
if you follow the flock like sheep you always end up stepping in shit!
Nov 21, 2011 부터 멤버   게시물1718
Aug 09, 2017 at 07:59
No clue.
There is a MQL4/5 community... expert coders will tell you.
Backtest purpose is just to check algo works correctly.
If you wanna test it with live market conditions.... you open a demo account, and you let it run. That's the best way to backtest.
Feb 17, 2014 부터 멤버   게시물18
Aug 15, 2017 at 14:08
Yes they can. What do you have in mind? I did something similar where i had to import live open trades to the backtest.

Thanks
로그인 / 가입하기 to comment
You must be connected to Myfxbook in order to leave a comment
*상업적 사용 및 스팸은 허용되지 않으며 계정이 해지될 수 있습니다.
팁: 이미지/유튜브 URL을 게시하면 게시물에 자동으로 삽입됩니다!
팁: @기호를 입력하여 이 토론에 참여하는 사용자 이름을 자동으로 완성합니다.