NexusFi: Find Your Edge


Home Menu

 





Robots Unleashed - a beginners algotrading journey


Discussion in Trading Journals

Updated
      Top Posters
    1. looks_one FastNCurious with 56 posts (65 thanks)
    2. looks_two vmodus with 26 posts (16 thanks)
    3. looks_3 kevinkdog with 18 posts (32 thanks)
    4. looks_4 SMCJB with 17 posts (28 thanks)
      Best Posters
    1. looks_one kevinkdog with 1.8 thanks per post
    2. looks_two SMCJB with 1.6 thanks per post
    3. looks_3 FastNCurious with 1.2 thanks per post
    4. looks_4 vmodus with 0.6 thanks per post
    1. trending_up 19,680 views
    2. thumb_up 154 thanks given
    3. group 22 followers
    1. forum 126 posts
    2. attach_file 0 attachments




 
Search this Thread

Robots Unleashed - a beginners algotrading journey

  #51 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,049 since Dec 2013
Thanks Given: 4,384
Thanks Received: 10,206


FastNCurious View Post
I've had some fun today with trying out a few new custom indicators from Ehlers.

I was playing with Ehlers "Truncated Indicators" (TASC 2020-07) recently and was surprised how much the indicators changed, and appeared more responsive when you truncate/remove the very old price memory. I also recently programmed up his system from " Rocket Science for Traders: Digital Signal Processing Applications" and ran it through Multiopt with very disappointing results.


FastNCurious View Post
Now I am at the drawing board trying to turn a custom indicator into a function that can be used as a trigger or filter for entry. I have a good idea conceptually of how to do it. I believe I first need to turn the indicator into a function that can be called upon by my strategy.

Correct. Write it as a function, then have both the indicator and strategy call the function.

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
REcommedations for programming help
Sierra Chart
Increase in trading performance by 75%
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
GFIs1 1 DAX trade per day journal
11 thanks
HumbleTraders next chapter
11 thanks
  #52 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853


SMCJB View Post
I was playing with Ehlers "Truncated Indicators" (TASC 2020-07) recently and was surprised how much the indicators changed, and appeared more responsive when you truncate/remove the very old price memory. I also recently programmed up his system from " Rocket Science for Traders: Digital Signal Processing Applications" and ran it through Multiopt with very disappointing results.

Correct. Write it as a function, then have both the indicator and strategy call the function.

One of the most import concepts in software development is code resuability, thus the purpose and utility of functions.

Speaking of Ehler's, I have a ton of his code if either of you are interested, particularly in functions. Let me know and I can package it up.

I have done a ton of work on his various cycle concepts, but most have ended in dead ends. I have had very little success implementing his ideas into strategies. The best success we have had is with his TrendFlex/Reflex indicator on HO. It was in TASC earlier this year.

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #53 (permalink)
 
FastNCurious's Avatar
 FastNCurious 
saint louis MO
 
Experience: Intermediate
Platform: TradeStation
Trading: NQ, ES, YM, CL, GC
Posts: 149 since Oct 2017
Thanks Given: 95
Thanks Received: 177



vmodus View Post
One of the most import concepts in software development is code resuability, thus the purpose and utility of functions.

Speaking of Ehler's, I have a ton of his code if either of you are interested, particularly in functions. Let me know and I can package it up.

I have done a ton of work on his various cycle concepts, but most have ended in dead ends. I have had very little success implementing his ideas into strategies. The best success we have had is with his TrendFlex/Reflex indicator on HO. It was in TASC earlier this year.

I would be interested but please don’t spend a ton of time on it. I guess this code is straight out of Tasc? Various articles? My attention in my trading ideas would be simply to use these as filters for an entry with an edge to possibly filter out losing trades. I can see how this endeavor would seem like trying to find a needle in the hay stack.
I often wonder if these writers are actually using their ideas in their own trading? I will also take a look specifically at the trendflex/reflex indicator you mentioned

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #54 (permalink)
 
FastNCurious's Avatar
 FastNCurious 
saint louis MO
 
Experience: Intermediate
Platform: TradeStation
Trading: NQ, ES, YM, CL, GC
Posts: 149 since Oct 2017
Thanks Given: 95
Thanks Received: 177

Quick check in on the algo trading front. 6 months into live acct trading and I currently have 9 strategies that have passed incubation and are making new highs as we speak. I recognize that these moments are fleeting because most of the time is spent in some form of draw down. That being said I can’t be happier with performance. I’m waiting for something bad to happen to bring me back to reality but so far nothing like that has occurred.

I have had a max drawdown of equity of $5000. But the trend is up over all. My fear at this point is my worst drawdown ahead. And what happens if I have 2-3 strategies that reach new max drawdown levels? That would break the account easily. I think this is where having 15-20 strategies will be beneficial to the trader because of diversification.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #55 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853


FastNCurious View Post
I would be interested but please don’t spend a ton of time on it. I guess this code is straight out of Tasc? Various articles? My attention in my trading ideas would be simply to use these as filters for an entry with an edge to possibly filter out losing trades. I can see how this endeavor would seem like trying to find a needle in the hay stack.
I often wonder if these writers are actually using their ideas in their own trading? I will also take a look specifically at the trendflex/reflex indicator you mentioned

John Ehlers trades most of his ideas, from what I understand. Generally his TASC stuff is part of a larger whole, which is all around signal processing and cycle analytics. In other words, rocket science.

If you come across one of his ideas and need code, just let me know. I probably have it.

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #56 (permalink)
 
FastNCurious's Avatar
 FastNCurious 
saint louis MO
 
Experience: Intermediate
Platform: TradeStation
Trading: NQ, ES, YM, CL, GC
Posts: 149 since Oct 2017
Thanks Given: 95
Thanks Received: 177

Well the month of January officially sucks for my algos. Things were going so well for such a long time. I knew something like this was on the horizon and today I took a beating that has caused me to just pull the plug for a bit to breath. I can't watch as the market keeps ripping away profit like it was smoke in the wind. I have noticed that when things go wrong they tend to go wrong in several different areas making it much harder to bare.

I have decided to take a breather from my algos just for a few days to assess the situation and make some adjustments. The good news is I locked in a healthy profit from my start date and now is the time to make adjustments to my risk profile. I was approaching my max risk drawdown of 25% which was quite brutal. The sad part is that each of my strategies are doing what they are supposed to do and none have reached a max drawdown level. They just all seem to have pulled back at the same time or at least within a few days of each other. I just can't take that kind of beating anymore. I definitely need to focus on correlation now more than ever. I have been putting it off for quite a while. I tend to just wing it a bit as the gambler in me wants to be in a trade at all times.

It is very hard to trade with an undercapitalized account. I figure my minimum account balance should be roughly 100K but I'm a long way off from there.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #57 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,049 since Dec 2013
Thanks Given: 4,384
Thanks Received: 10,206

Similar thing happened to me when I first started Algo trading like this. Over a period of many months mostly wins accumulated into a nice profit, and then in a matter of a few weeks I wiped most of it out. As you say everything seemed to lose at the same time.

I actually talk about correlation of systems in my iSystems journal in this post here. (Note my comment above wasn't about iSystems, it was about algo trading with Tradestation). Amazing how correlation can help and hurt you.

SMCJB View Post
To illustrate this let me use a simple example of 4 systems, that each make the same amount of money. In this example Sharpe is just Average/Std Dev,



Now let's combine these 4 systems into 6 different portfolio's that each contain 2 systems each.



Not surprisingly all portfolio's make the same amount of money. The portfolio with the best Sharpe ratio is the portfolio that combines systems 2 and 4 and almost goes straight up. That might seem obvious since the two individual systems with the best Sharpe ratio's were 2 and 4. But the 2nd best portfolio is the combination of 1 and 4, and system 1 has the worst Sharpe ratio. The worse portfolio is 1 and 2, which may surprise people given that 2 has one of the best Sharpe's and is also included in the best portfolio.

So why is this?

Correlation.

Positive correlated systems amplify movements, while negative correlated ones mute them. So as long as systems have positive expectations you want to have uncorrelated systems rather than correlated ones. (Which is why I mentioned the correlations of my 6 systems in one of my first posts!)



As you can see the portfolios with the highest Sharpes were the portfolios that combined uncorrelated systems, while the portfolio's with the worst Sharpes combined correlated systems!

And related....


SMCJB View Post
Friday 29th September - Understanding what went wrong this Month ☹

This month has - to be blunt - been almost disastrous. After the nice $4k profit in August I somehow managed to lose about $10k in September, meaning I'm now down about $6k. Given that this portfolio of 8 systems largest drawdown ever, which was also a single month, was approximately $4.7 that's rather eye opening.

Looking at each system individually none of them are performing terrible, but 7 of the 8 eight had really bad months. Profit in terms of standard deviations away from expected were +0.51, -0.84, -0.97, -1.07, -1.2, -1.23, -1.36, -1.71 which isn't pretty. Since in average month we would expect about 5 systems to win, and 3 to lose, the summed up results are magnified and the portfolio performed 2.48 SD's below expectation!

So we had a bad month, and the killer was correlation. I think this chart sums up the problem in September. While the blue/89 months/all data does include a lot of backtest data, for the orange/12 months all 8 systems were live. As might be expected the live data distribution is shifted to the left, but still a result of 1 is a significant outlier.



SMCJB View Post
I should have probably mentioned that for the average system I can be 0.478 SD's below expectation and still be breakeven which probably makes those numbers look slightly less horrific. The portfolio can be 1.14 SD's below expectation and still be breakeven.

When correlations all go to 1... life gets tough.

Reply With Quote
Thanked by:
  #58 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,662 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,351


FastNCurious View Post
Well the month of January officially sucks for my algos. Things were going so well for such a long time. I knew something like this was on the horizon and today I took a beating that has caused me to just pull the plug for a bit to breath. I can't watch as the market keeps ripping away profit like it was smoke in the wind. I have noticed that when things go wrong they tend to go wrong in several different areas making it much harder to bare.

I have decided to take a breather from my algos just for a few days to assess the situation and make some adjustments. The good news is I locked in a healthy profit from my start date and now is the time to make adjustments to my risk profile. I was approaching my max risk drawdown of 25% which was quite brutal. The sad part is that each of my strategies are doing what they are supposed to do and none have reached a max drawdown level. They just all seem to have pulled back at the same time or at least within a few days of each other. I just can't take that kind of beating anymore. I definitely need to focus on correlation now more than ever. I have been putting it off for quite a while. I tend to just wing it a bit as the gambler in me wants to be in a trade at all times.

It is very hard to trade with an undercapitalized account. I figure my minimum account balance should be roughly 100K but I'm a long way off from there.

Sounds like you are doing the sensible thing right now, instead of letting the gambler in you take over.

This may have been the first bad drawdown you've experienced, but unfortunately it will not be the last.

I remember a number of years ago, I looked at winning days vs losing days. I found during one year, I lost a lot more days than I won. But overall I had a good year, even though it seemed like I was almost always in a drawdown.

You'll recover, and be a bit stronger mentally because of this!

Follow me on Twitter Reply With Quote
Thanked by:
  #59 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,049 since Dec 2013
Thanks Given: 4,384
Thanks Received: 10,206


kevinkdog View Post
I remember a number of years ago, I looked at winning days vs losing days. I found during one year, I lost a lot more days than I won. But overall I had a good year, even though it seemed like I was almost always in a drawdown.

Those few (really) good days are also inevitably what turns my years from being blah to respectable. I think in my NG trading last year, my best day was 12% of my year! That's why I've always been amazed at the make $X by 10 am and then go and play golf mentality. The days I've made $X by 10am are the days I'm glued to the screens. The days where I haven't made it by 10am are the days you should be playing golf! (In reality I'm glued to the screens all day every day. Lot more fun than playing golf!)

Reply With Quote
Thanked by:
  #60 (permalink)
 
FastNCurious's Avatar
 FastNCurious 
saint louis MO
 
Experience: Intermediate
Platform: TradeStation
Trading: NQ, ES, YM, CL, GC
Posts: 149 since Oct 2017
Thanks Given: 95
Thanks Received: 177


Already recovering nicely now that I took a step back and lowered my total exposure to long side risk. Part of my frustration is that I just started a new account with live trading and I took on too much risk in the beginning days and that has further crippled my ability to take on more than one strategy. Right now I have reduced down to one strategy for that new account. I just need to be patient and wait for proper account sizing to implement more strats.

I am noticing that the energy markets seem a little bit more suited to frequent trading strategies. I can see why you like to focus on them in your trading. I could picture a world where the only thing I traded was energies but I also am aware of the current changing market conditions and how this may affect the tradability of CL for instance. I wonder where the CL market will be 50 years from now with electric cars being so much more widely available.

Time will tell...Have a wonderful day everyone!

Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on November 11, 2021


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts