Timeframe optimization during backtests
Forums › ProRealTime English forum › ProOrder support › Timeframe optimization during backtests
- This topic has 6 replies, 3 voices, and was last updated 5 years ago by
MAKSIDE.
-
-
04/08/2020 at 9:42 AM #12517404/08/2020 at 10:35 AM #125183
No, variables are not allowed.
04/08/2020 at 11:09 AM #12519410/20/2020 at 11:55 AM #147888i come back about this topic..
would it be possible to add it in the future evolution of PRT ?
It seems to me that it would be great to have it in order to determine the best timeframes for a strategy
or if not possible, the possibility to encapsulate the timeframes in conditions (
choice = X (parameter value for BT)
if choice = 1 then
timeframe (1 hours,..)
else if choice = 2 then
timeframe (2 hours,..)
endif
*************
OR
timeframe (X hours,..)
for example
1 user thanked author for this post.
10/20/2020 at 12:56 PM #14789510/20/2020 at 7:37 PM #147959i had this same problem and i fixed it with this kludge
123456789101112timeframe(5m)x5 = ExponentialAverage[9](close)timeframe(15mn)x15 = ExponentialAverage[9](close)timeframe(60mn)x60 = ExponentialAverage[9](close)timeframe(default)TF = 15 //TF flagif TF = 15 thenEMA = x15//...endif10/22/2020 at 2:08 PM #148090i had this same problem and i fixed it with this kludge
123456789101112timeframe(5m)x5 = ExponentialAverage[9](close)timeframe(15mn)x15 = ExponentialAverage[9](close)timeframe(60mn)x60 = ExponentialAverage[9](close)timeframe(default)TF = 15 //TF flagif TF = 15 thenEMA = x15//…endif
what a great idea, thx for sharingthus, it’s just more work to adapt all conditions of each timeframe (and not only an EMA..) but WF on the TF flag parameter is possible… 😀
-
AuthorPosts
Find exclusive trading pro-tools on