Australian (ASX) Stock Market Forum

Dump it Here

AmiBroker Param Function
The “Param Function” is the handiest feature that I use in my strategy development phase. The “Param function” allows me to switch between my definable parameters. This feature adds a new user-definable parameter to your strategy which is accessible via a Parameters dialogue box.

Important
The “Param function” can be either a "Slider bar" or a "Drop down list" type (it's up to you which to use). I'll post an example of both of these in a later post.

Naming the parameter
You can "name" the parameter that will be displayed in the parameters dialogue box that has meaning to you. The parameter allows you to pick the field for the indicator (a field which is used to calculate values of the indicator).

Skate.
 
Accessing the Parameters dialogue box
You can open the “Parameters dialogue box” by right mouse clicking over a “Chart” or in the “Exploration Analysis” section select the "Parameter icon" on the menu bar if you wish to change a parameter or two. And by-the-way, those changes are reflected immediately.

Chart access to the parameter setting
Right mouse click on a “Chart” of interest to display “Parameters dialogue box” to alter any parameter

Chart Switch Function Capture.JPG


Exploration Analysis access to the parameter setting
In the “Exploration Analysis” section select the "Parameter icon" on the menu bar if you wish to change a parameter or two.

Exploration Switch Function Capture.JPG

Skate.
 
Bundling allows comparison
To test a series of strategies the parameters feature (“Param Function”) is invaluable as it quickly allows switching between (a) Strategies, (b) Backtest method, (c) Exploration model to be used, & (d) Parameter settings of defined filters within a strategy. An example of how to code a switch function can be found on @Trav. thread https://www.aussiestockforums.com/threads/amibroker-tips-and-tricks.35508/post-1104531

Two examples of the Switch Function
1. Switching the Strategy
2. Switching the Exploration Mode

Skate
 
The Switch Strategy
This strategy holds 7 individual strategies. Using the switch function I can select the strategy for Backtesting or Exploration Analysis. By selecting the strategy it sets the unique "Buy & Sell" condition, filters, StaleStop, VolatilityStop, & TrailingStop for that strategy as each strategy is difference when it comes to these settings.

The parameter can be selected by (1) a drop-down list or (2) a slider-bar
The “Param Function” quickly allows the switching of the parameter by using either a drop-down list or a slider bar

Drop-down list (to change the strategy)
Switch Strategy Capture.jpg

Slider-bar (to change values)
Slider Switch Capture.jpg

Skate.
 
Backtest Results
Listed below are the 6 strategies that are in the "Switch Strategy". The Backtest results aren't important - the comparison of the strategies are. The backtest period is the last calendar year (2020) 1st January 2020 to 30th December 2020

Which strategy should be traded?
Forget the "HappyCat Strategy" - out of the other 6 which strategy should be traded if you could only pick one & why?

Final - All Strategy Capture.jpg

Skate.
 
Which strategy should be traded?
Forget the "HappyCat Strategy" - out of the other 6 which strategy should be traded if you could only pick one & why?

@Skate, I'd be wanting to trade the "Flying Pelican"
Why? - the CAR/MDD of 3.08 is the highest. On other metrics the annual return of 53% is great and the MDD of 17.3% is well within my comfort zone.

I will be interested in hearing other opinions :)

btw, all of the other strategies I'd be happy with as they all fall in line with my comfort zone metrics, particularly CAR/MDD and MDD
 
Let's talk naming convention of strategies
1. The Flying Pelican Strategy - A majestic bird, I'm amazed it can fly & I'm hoping its the same for this strategy
2. The ORB Strategy - ORB is short for "Orbital" & in quantum mechanics, it can be used as a mathematical function, well suited for coding.
3. The CPR Strategy - CPR is an acronym for "Cardio Pulmonary Resuscitation" (CPR) useful in many emergencies, even when trading
4. The Pocket Pivots Strategy - The strategy is described in the book "Trade Like an O'Neil Disciple'" by Dr. Chris Kacher & Gil Morales (read the book )
5. The Shield Strategy - stands for "Strategic Helping Intervention Especially Losing Direction" that's designed to keep me safe & focused.
6. The COMBO Strategy - simply it's a combination of different ideas I have.

After the first week - how did they go?
1. The Flying Pelican Strategy - Holding 10 positions - 1st-week profit +$977
2. The ORB Strategy - Holding 3 positions - 1st-week profit +$316
3. The CPR Strategy - Holding 3 positions - 1st-week profit +$316
4. The Pocket Pivots Strategy - Holding 8 positions - 1st-week profit +$367
5. The Shield Strategy - Holding 3 positions - 1st-week profit +$607
6. The COMBO Strategy - Holding 6 positions - 1st-week profit +$554

In a nutshell
Total weeks profit of $3,137 from an investment of $158,197 - 33 positions of a possible 120 position portfolio

Switch Dashboard Capture.JPG

Skate.
 
Share Trade Tracker
Keeping all trading strategies in one place. The Dashboard is a summary page which is just the icing on the cake. The reporting feature is expansive & only limited by your imagination.

Let's add a worksheet to the STT workbook
Weekly Update Capture.JPG

Skate.
 
@Skate, I'd be wanting to trade the "Flying Pelican"
Why? - the CAR/MDD of 3.08 is the highest. On other metrics the annual return of 53% is great and the MDD of 17.3% is well within my comfort zone.

The additional worksheet
As @CNHTractor picked the "Flying Pelican Strategy" I'll post the individual worksheet for that strategy.

Hint
All the other individual strategies the reporting format are exactly the same.

Flying Pelican Capture.JPG




The PDF report for the "Flying Pelican Strategy"
Snap of the Flying Pelican Capture.JPG

Skate.

END clean images (3).jpg
 

Attachments

  • ShareTradeTracker_FinancialYearSummary_20210123_1019.pdf
    134.3 KB · Views: 18
HappyCat ONLY.jpg

For those who are interested
The HappyCat Exploration signals will be supplied by "private message request" only.

Private message body
"HappyCat please"
The request will need to be made each week as this will be the only post on the matter.

Why?
I made a mistake with the HappyCat strategy. I worked on the weekend and I thought I had seen the signals Friday arvo. I remembered Monday morning that I hadn't. By the time I did it was around midday. I missed one of the buys (as it took off).

Skate.
 
@Skate, I'd be wanting to trade the "Flying Pelican"
Why? - the CAR/MDD of 3.08 is the highest. On other metrics the annual return of 53% is great and the MDD of 17.3% is well within my comfort zone.
I will be interested in hearing other opinions :)
btw, all of the other strategies I'd be happy with as they all fall in line with my comfort zone metrics, particularly CAR/MDD and MDD

It's horses for courses
The time period & trading conditions can give you a false sense of security. The only true test IMHO is doing the hard yards & take the time to "paper trade" those strategies over 6 to 12 months with (OOS) live trading. It's a pity, most new traders don't understand the level of work required before $1 is invested.

Example
The "Pocket Pivot Strategy" has been on a roll this Financial year (backtest period 1st July 2020 to end of trade 23rd January 2021) If you are strictly looking for profits the "Pocket Pivot Strategy" is a consistent performer. But if the CAR/MDD or MDD % is your metric of choice - the "Flying Pelican Strategy" still wins in this time slot.

PP Capture.JPG

Skate.
 
Backtest Results
Listed below are the 6 strategies that are in the "Switch Strategy". The Backtest results aren't important - the comparison of the strategies are. The backtest period is the last calendar year (2020) 1st January 2020 to 30th December 2020

Which strategy should be traded?
Forget the "HappyCat Strategy" - out of the other 6 which strategy should be traded if you could only pick one & why?

View attachment 118919

Skate.
flying pelican for me. The profit factor is really attractive at 3.91. RRR of 8-1 is amazing as well. Not to mention the obvious car/mdd and max drawdown look very nice. Would be interested to see results over a number of years. But amazing work on all your strategies in particular happy cat and pelican
 
One word. Awesomeness. Oh, and glad the Santa hat has been packed away....Santa Skate was freaking me out. :wheniwasaboy:

Lol.

After a couple of quick discussions with Mr @Skate on an unrelated topic to this thread, I am now of the opinion that He ....

Lives in another time zone, or more likely Time Warp.

Anyone who can fit this much information/work/effort into their daily schedule is not living in regular 24 Hour days.

So I have deduced that Mr Skate is in fact an Alien and lives on another planet!:spiderman:

Alternatively he is just really clever:smuggrin::cool:
 
@Skate. How would have your systems performed in the tricky period between 2014-and early parts of 2016?

@othmana86 tricky periods sort the wheat from the chaff when it comes to trading. I use 2011 as my personal benchmark. I wasn't trading back then but I know of others who did & it wasn't pretty. If my strategies can handle 2011 I'm sure they will handle most things.

Confidence
When you have put in the hard yards developing a strategy, trading confidence naturally flows.

Skate.
 
I am so lost right now, can someone point me in the right direction where i can consume some knowledge?

@DanSlam welcome to the "Dump it here" thread. To answer your question, the first place to start would be to read my "free" ebook, that can be found here https://www.aussiestockforums.com/posts/1014728/ then if you have a question - use the search feature. Search for "keywords" of interest by "Skate" as I've covered most things of interest. Alternatively, read my entire thread as I've crammed 3 years of study & posted only information that helped me become a better trader, that can be found here https://www.aussiestockforums.com/threads/dump-it-here.34425/post-1005967

Trading
Trading is just about selecting companies that you believe will increase in price over time. Once you place your buy order, just hang on for the ride as its all you can do from here on, the only thing left for you to do is manage you sell orders as everything is in the lap of the gods. Trading is an emotional roller coaster & how you manage your psychology really matters even more than your stock selection.

Trading is all about price movement.
Nothing works perfectly in trading so the next best thing is to accept 'that sometimes it works well & other times not so well'. Those that can handle that tend to do well. I say just go with the flow. Trading success is all about "luck" & you create your own luck by doing all the right things.

A tip for new traders
Forget about the money & focus on the process of successful trading. The more you obsess about the money the more likely it will derail your success. Slow steady & methodical trading will win the race & there is never, ever, overnight success.

Everyone
Every strategy & every trader will have periods of good performance & periods of poor performance yet beginners tend to worry about the short term ups & downs of their account. To be successful you need to accept that you will have "losing periods" that's just part of the game & most of all remain focused on the long term outcome.

So much to understand
It’s frustrating & time-consuming trying to figuring out all this stuff, you don’t know what you are expected to know, this leads to reading & listening to everyone, absorbing heaps of useless information that will turn out to be irrelevant in the early stages of trading.

Experience
Therefore the hardest part of trading is learning from experience or time in the market, it's learning how to control your emotions & how to keep persisting even when your account suffers a few losses. It’s about being realistic & having an understanding that we are probably only an average trader at best but that’s okay. Hopefully, my thread goes someway explaining the financial stress of trading - if not, my next hope is that you achieve personal growth & education.

Skate.
 
Top