- Joined
- 8 June 2008
- Posts
- 13,209
- Reactions
- 19,472
RBLwas a winner, I am lucky as I had it on my weekly as well and it compensated some other heavy loss
Thanks @Warr87.
Except right now I'm reading the Amibroker manual: https://www.amibroker.com/bin/UsersGuide.pdf. I'm up to page 300 so far lol. I do wish Dr. Tomasz Janeczko (https://www.amibroker.com/about.html) would invest in a tech writer where English is not his/her second language.
Another good place to start with Amibroker...Howard Bandy's work is excellent. This is his introductory text, first of a series of five-six books on systems trading all using AmiBroker, also some Python & machine learning content in the more advanced books.
http://blueowlpress.com/books/introduction-to-amibroker/
There a link to the free download at the bottom of the page.
Thanks for the system updates Skate. I remember your saying your 'old' system gave up a big chunk of profits during the corona crash, does the action strategy have a filter that protects open profits (as well as not taking new positions) and does it react quickly enough, if it exists?
There will be a fair bit of chop in the continuing trend, which will keep many out of the market or singing songs of doom. So for the moment: sit tight, trade the trend and do not be scared out of positions as getting back in can be tough when you have to buy back in higher than when you sold out.
Hi @ducati916,I downloaded the book. Now I just need to find the time to read it. Possibly I could code up some of my discretionary stuff and save significant amounts of time.
jog on
duc
You may like this program instead.I like Visual Code, but Notepad works (is notepad the best Microsoft can do after 20-30 years???)
Ooh goody!In the next post, I'll show how I capitalised on two trades (APT & Z1P) traded weekly. Trading the same strategy, whether "Daily or Weekly" the results are similar regardless of the periodicity.
How I capitalised - trading the bounce ("The Ducati Blue Bar Strategy")
I'll chart both weekly trades for (APT & Z1P). The "The Ducati Blue Bar Strategy" concentrates on "volatility, volume, turnover, acceleration & momentum" all the ingredients that go hand in glove with increased market sentiment.
The two weekly trades ($25k position)
1. (APT) is being traded in a Weekly timeframe & the open profits are $30,826
2. (Z1P) is being traded in a Weekly timeframe & the open profits are $30,881
View attachment 105446
View attachment 105447
The same two positions "if traded" in a Daily Strategy ($25k positions)
"If I traded" these using the Daily Strategy the results would have been slightly higher with additional work & commission expenses.
(APT) closed profits of $25,551
(Z1P) closed profits of $39,553
View attachment 105448
View attachment 105449
Summary
By "Trading weekly" both positions are currently open, whereas if I traded the positions on a daily timeframe I would have been in & out a few more times. The positions would also be closed.
Skate.
Hi @ducati916,
I'm a noob, but have been reading up on Amibroker and Norgate, so perhaps some of the below will help? This assumes you're using Norgate Data; if not, then perhaps this may help others.
The below link shows the "extras"/"fundamentals" data available in Norgate Data (Gold and Platinum subscription level) (scroll the page as required):
https://norgatedata.com/data-content-tables.php#current-fundamentals
I opened the data viewer in Norgate Updater:
View attachment 105427
but unfortunately it is static, not dynamic, and doesn't list all the additional information. I was hoping to be able to scroll to the right (a lot) to see all the extras.
I opened the Symbol Information window in AB:
View attachment 105428
which does appear to list (all???) the additional information, but with data labels rather than data names. For the data names I would use the Norgate URL above.
In the AB Chart window:
View attachment 105429
is the Norgate Data folder, I assume created when you install the Norgate Data Updater, or perhaps the ND AB plugin.
I dropped all these on a blank chart, then selected Edit Formula..., but IMO it's easier to just view the AFL in an external editor. I like Visual Code, but Notepad works (is notepad the best Microsoft can do after 20-30 years???)
On my installation, the Norgate Data AFL is located at C:\Program Files\AmiBroker\Formulas\Norgate Data.
Viewing those files in Visual Code, the main file seems to be C:\Program Files\AmiBroker\Formulas\Norgate Data\Norgate Data Functions.afl, as this is #included in all the remaining files.
Those functions look to just be helper functions wrapped around the AFL GetExtraData function, for example GetExtraData("NorgateBusinessSummaryLastUpdate"), with the rest of the AFL being outer functions calling the helper functions (for example to Plot() something).
IMO the documentation for the extra data could be better on the Norgate website, but this AFL, plus a bit of hacking, may get you what you need.
To me, it doesn't look like Norgate Data Functions.afl is complete, compared to the extra/fundamental data available in the URL above. Plus all the variable names in the code are prefixed with "Norgate", none of which are noted in the Norgate URL as the variable names.
For example, in the URL, search Metadata, Security Information - Text, FieldName = "Business Summary", but the AFL code says "NorgateBusinessSummary". See the function NorgateBusinessSummary() in Norgate Data Functions.afl.
All of this is untested- I'm making the assumption that the AFL provided by Norgate, um, works
If I were to augment their code, I wouldn't edit their files directly, as they might get overwritten if I re-installed Norgate Data Updater. Instead, I think I would create another folder under C:\Program Files\AmiBroker\Formulas, such as CustomNorgateData or MyNorgateData or somesuch, then put my code there. And have a good backup somewhere in case I reinstall AB and my custom location disappears! I'd then follow a similar pattern as Norgate; have one uber-AFL file with all my helper functions, then other functions that call them (such as to plot or filter). I may be wrong on this best practice approach due to my AB inexperience, but I'm sure someone will correct me if I am (and I'll learn something in the process).
I believe you are a discretionary trader, but perhaps this will help you write up some filtering rules that would save you a lot of time when hunting for your next winners?
Hope this helps,
Linus
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?