Is there a reason TASC no longer adds the codes for Amibroker for the latest indicators?
(Searching the Forum really helps - It has helped me for topics which I thought were complex and I was not sure if I would find solutions just by hitting "Search" - but it helped)
Search feature really gets Top Marks !!!
@topmarx the magazine sends articles to software vendors in advance of the issue publication so that they can send coded versions to the magazine. IMHO it was both a good way to advertise your software and at times the codes could serve as good afl teaching samples. Tomasz stopped coding them for awhile, and they stopped sending him the articles.
We no longer (for about a year) receive articles from S&C to write codes to.
S&C articles become very repetitive for few last years, so frankly I don't miss them as I have
better things to do than writing yet another moving average crossover code.
I think that S&C stopped sending articles because I skipped some of repetitive articles.
Several users have coded the missed articles and posted them here on the forum.
If you make an attempt to code an article I am sure other users will help you. Unfortunately most forum members wait for the same small group of helpful users to do all the coding for them.
Here were a few examples.
As Tomasz was very busy and did not create an AmiBroker afl for the current issue of Technical Analysis of Stocks and Commodities "Traders Tips" article, I coded a quick sample for the charting portion and am sure others can improve this and add some trading rules to it.
The article was written by Barbara Starr Ph.D. a frequent contributor to the magazine, "The CAM Indicator For Trends And Countertrends"
It doesn't look revolutionary but seems to have some potential and its fun to try and code…
The May 2019 issue of Technical Analysis of Stocks and Commodities did not have an AmiBroker code for the “Traders Tips” article. I assume
@Tomasz was busy (or didn't think the article was interesting).
So I am taking a stab at it here (its been raining much of the day and my golf outing was cancelled). The article was “Backtesting A Mean-Reversion Strategy In Python” by Anthony Garner.
Certainly nothing revolutionary but a worthwhile look at mean reversion. I am not familiar with Python so …
Amibroker Code for articles appearing in Techinical Analysis of Stocks and Commodoties has bot been posted since July 2019.
Will this be updated soon?
Well, that might be, but the code attached to the article and in the Traders Tips section produces an identical result to the code I posted before. Here's a line by line calculation mirroring John Ehlers' easylanguage code from the article:
Correlation Trend Indicator
(c) 2013-2019 John F. Ehlers
translated to Amibroker by J. Talikka
Length = Param( "Length", 20, 1, 100 );
Plot( Correlation( C, BarIndex(), Length ), "Correlation Trend Indicator", colorBlack, styleDashed …
It is highly unlikely that CU + CD becomes zero.
@Tomasz has written just this too
MyRSI = ( CU - CD ) / ( CU + CD );
Still if you feel better you might use function SafeDivide.
This function can be simplified as it does not need two loops and dynamic variables.
So simplified to
function NET( Data, Period )
/// AFL translation from EL
Num = 0;
for( n = 1; n < Period; n++ )
Looking forward to your codes
This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.