So on we go with Bug # 389. And counting.
Yesterday we came to speak about me not being able to leave my Optimization Parameters where they are and hand the Strategy to Live (or Demo-Live, does not matter). This immediately errors out with what you see below. “An internal error occurred”.
Now what does PRT make of my Optimization Parameters when it transfers them to the code :
defparam cumulateorders = false
defparam preloadbars = 2000
ONCE BandOffset = 1.81
ONCE BreatheBarsSetL = 3.0
[...]
ONCE TrailAfterUnderL = 11.0
ONCE TrailAfterUnderS = 10.0
TimeFrame(60 seconds,UpdateOnClose)
You feel it comin’ right ?
The stupid thing does not respect my very first TimeFrame command in there. This, while I carefully had to declare all my variables which are to be Optimization Parameters, under that specific TimeFrame.
So mind you, the beginning of my code is like this :
defparam cumulateorders = false
defparam preloadbars = 2000
timeframe(60 seconds,UpdateOnClose) // 24-04-2022,PS, Like this because it now nags about it being different than 1 minute.
// Define Optimization Parameters.
//*** ONCE BandOffset = 1.81
//*** ONCE BreatheBarsSetL = 3.0
//*** ONCE BreatheBarsSetS = 2.0
[...]
and thus all the Parameters are defined under the 60s TF.
Now I change the backtest version of this so it becomes the same as what PRT makes of it when putting it to Live. Thus, the Once declarations above the TF command as shown in the first snippet above. Now the error in the 2nd attachment is totally clear. It is the dreaded error we all hate when working with MTF (Multiple TimeFrames) because it is kind of against us (probably unavoidable). Like now (avoidable !). N.b.: Chart is in 1 minutes, which officially is not equal to 60 seconds.
Now maybe someone can tell me :
389 bugs or less or more, I am always the only one with the issue. Yes, I am marked for that. But how is it possible that with actually all the things I come up with, I am the only one ? Here are some suggestions :
- People encounter the same but don’t bother to proceed on it. They find another functional solution. Or they go to MT4, whatever.
- People don’t use Optimization Parameters at all.
- People did not know about the possibility of the “Input” parameters (likely, because there’s no manual where this is written in).
- People see the error, but don’t investigate further and work around it (looks like #1).
#4 is explicitly me. I am so numb by now about all the bugs which never get solved and which takes quite A LOT of time to describe with screenshots and all, that I virtually have given up on it.
Do notice that it does not matter whether I put in “teasing” topics like this one; ProRealTime monitors this board and they did not solve a single thing of all I put in there.
Technical reports ? don’t make me laugh.
And there goes my mood again.
But I shouldn’t, because like with all, I learned to live with it.