Global variables in backtest
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!
CrazyTraderfx
(CrazyTrader)
Member Since Nov 21, 2011
1717 posts
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.
You love my free signals... Like me on fb
Can something like this be done?
IF backtest
Indicator use EURUSDH1.HST
START DATE/time
IF backtest
Indicator use EURUSDH1.HST
START DATE/time
if you follow the flock like sheep you always end up stepping in shit!
CrazyTraderfx
(CrazyTrader)
Member Since Nov 21, 2011
1717 posts
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.
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.
You love my free signals... Like me on fb
Please login to comment.