- Joined
- 28 December 2013
- Posts
- 6,392
- Reactions
- 24,319
I'm not familiar with AmiBroker, but can you put in a trade entry condition volume > 0, then run the script again ?
KH
Yes, there's a few reasons missing some trades.It would be preferable to miss the buy altogether
Running backtests long term I also found trades open for a long time blocking new buys. These trades did not exit for whatever reason. Ended up adding code to close trades after X periods. (Non Trading Stock Exit)position can't be substituted until a sell signal for that position is generated.
Norgate's padding
Norgate adds only the "closing price" to populate the bar thus fooling Amibroker in delaying the re-calculations until Wednesday being the first trading day since the trading halt. Amibroker requires an "opening price" in the data for its re-calculation. It would be preferable to miss the buy altogether or allow the user to delete that position. With (ASX:IPD) still in the portfolio (using either method) another position can't be substituted until a sell signal for that position is generated.
// https://forum.amibroker.com/t/simple-buy-certain-day-and-sell-few-days-later/16621/3 and
// https://forum.amibroker.com/t/how-to-identify-and-define-trading-days/23630/3?u=linusvanpelt
// "Your condition is True only on bars where the current bar's Month is not equal to the most recent previous bar's Month,
// i.e. in daily data this will be the FIRST trading day of the month. And it will ONLY be true on that bar.
IsEOW=Nz(TimeFrameExpand(1,inWeekly,expandPoint));
IsFOW=DayOfWeek() < Ref(DayOfWeek(),-1);
IsEOM=Nz(TimeFrameExpand(1,inMonthly,expandPoint));
IsFOM=Month() != Ref(Month(),-1);
...
score = IIf(IndexExit==1,scoreExitAll,
IIf(IsEOW==0,scoreNoRotate,
IIf(OnSecondLastBarOfDelistedSecurity
,0,myrank*LiquidityFilter)));
PositionScore = score;
The confidence to actually trade a system comes from understanding the system. The backtested results are only relevant if you actually follow the systems rules. Some people can be more successful by applying a bit of discretion to their system, while others manage to ruin it completely.
Hi Skate,
Thank you for taking the time to start posting again I have always appreciated your thoughts and trading tips. I know once before I asked you about your portfolio software, Norgate data and Amibroker.
Because I have a brain like a sieve, could I just ask again which version of Norgate you might recommend I thought Gold may be adequate perhaps. . Amibroker not sure standard or professional and are you still happy with your XLAutomation portfolio software?
Just making sure one Norgate licence would run both Amibroker and XLAutomation.
I am not looking for for running systems testing at this stage maybe in the futurebut just a good charting package.
Thanks for your time
bux
Hope this helps you make the correct decision. (on needs not cost)
Repeatability is everything (at least it is to me). With repeatability comes system predictability and with predictability comes confidence in your system's behavior and that allows me to sleep at night--which is important to me.It doesn't matter how long you have been trading, there are always new ideas to evaluate
To start off on your "trading or investing" journey requires nothing more than copying a process that has already proven to be profitable. There are members on this forum "trading their way" displaying a variety of methods that can be replicated. It's just applying a method of trading that resonates with you. Successful traders do follow proven methods but normally think more independently about how to cultivate a slight edge.
What you might be unsure of is how to incorporate those methods into a repeatable process
It's for this very reason education plus experience is required. Even when you make your first trade you need to realise that it's now in the hands of the market & the market will decide what your return will be. Trading at times comes down to pure luck & mathematical probabilities.
Skate.
Confidence is the keyWith repeatability comes system predictability and with predictability comes confidence
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?