Global variables in backtest

Aug 07, 2017 at 17:14
481 व्यू
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
You must be connected to Myfxbook in order to leave a comment
*व्यवसायिक इस्तेमाल और स्पैम को ब्रदाश नहीं किया जाएगा, और इसका परिणाम खाता को बन्द करना भी हो सकता है.
टिप: किसी चित्र या यूट्यूब या URL को पोस्ट करने से वे अपने आप आपके पोस्ट में आजाएगा!
टिप: @ चिन्ह को टाइप करें उपभोगता के नाम को अपने आप करने के लिए जो इस चर्चा में भाग ले रहा है.