NexusFi: Find Your Edge


Home Menu

 





Momentum Based Algo Swing Trading


Discussion in Trading Journals

Updated
      Top Posters
    1. looks_one ShadowFox with 24 posts (60 thanks)
    2. looks_two Schnook with 2 posts (3 thanks)
    3. looks_3 Sandpaddict with 2 posts (2 thanks)
    4. looks_4 homerus with 1 posts (1 thanks)
      Best Posters
    1. looks_one ShadowFox with 2.5 thanks per post
    2. looks_two kevinkdog with 2 thanks per post
    3. looks_3 Schnook with 1.5 thanks per post
    4. looks_4 Sandpaddict with 1 thanks per post
    1. trending_up 6,911 views
    2. thumb_up 72 thanks given
    3. group 27 followers
    1. forum 33 posts
    2. attach_file 27 attachments




 
Search this Thread

Momentum Based Algo Swing Trading

  #11 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157

Week 2

Not a great week but made new highs on the equity run up and new highs on the account. I am happy with the trading even in the current financial market environment. Both the financial and grain markets have been making some big turns on the daily charts so I am happy to be staying positive through this big volatility. Looks like potential trend changes coming in both markets but I will let the system tell me what to do.

5/17/2021: Current real-time account equity = $10,152 (2 trades open)


Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
43 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #12 (permalink)
M4STR0
Florence
 
Posts: 27 since Jan 2021
Thanks Given: 23
Thanks Received: 9

I am so happy that yours momentum algo is working good, I was starting to develop a similar approach, taking a momentum daily/weekly algo for stocks and trying to apply it to futures trying to not overfit but damn I cannot come up with anything good in backtest. Can you please explain the engine of your momentum algo? Is it something like high>highest(hig,var ) for the longs? Did you used look inside bar at one minute for backtesting?

Reply With Quote
Thanked by:
  #13 (permalink)
 Cutloss 
Midway florida
 
Posts: 243 since May 2021


you have the micro cl contracts coming later this year and the points will be 1/10th of an actual cl so only need 2 ticks or cents to break even. which is great!

i really like ho wyou waited for an expected drawdown in demo or back test to start tading. i thought of that before but never really thought.. hmmm.. what if i run my algo in demo and when it is a big drawdown thats when i will actually trade and min eis intraday so that may work for me a lot actually. good posts

Reply With Quote
  #14 (permalink)
 
Sandpaddict's Avatar
 Sandpaddict 
Vancouver, Canada
 
Experience: Advanced
Platform: Ninjatrader, MT4
Broker: IB, Global Prime
Trading: Futures CFDs
Posts: 684 since Mar 2020
Thanks Given: 975
Thanks Received: 637


ShadowFox View Post
So following up to decisions made yesterday. As stated in post 1, the portfolio and each individual asset is based on full size contracts. The plan was to trade micro/E-miny contracts to reduce the capital risk during live testing. The strategy runs on the full size contracts though, it just trades the micro/E-miny. The errors I made initially was expecting each micro/E-miny was somewhat equivalent scale vs full size. This was very wrong.

Financials - 1 NQ = 10 MNQ or 1:10 (same for ES and GC)
Energy - 1 CL = 2 QM or 1:2 (same for NG)
Grains - 1 C = 5 YC or 1:5 (same for W and S)

So when I made the assumption that I could divide the overall system drawdown by 10, I was very wrong. To get the equivalent of trading 1 micro/e-miny contract for the portfolio I need to scale up the Energy and Grain contracts to match. So if I were trading 1 MNQ, 1 QM and 1 YC, in order to replicate on full size, I would trade 1 NQ, 5 CL, and 2 C. big difference vs the original assumptions. Then I would divide the results by 10 to get the equivalent micro/E-miny conversion for drawdown/run-up, etc.

So here is a rundown of what that looks like

Original assumptions




Actual relationship to micro/e-miny, you can see the difference in drawdown here. Much larger risk than originally assumed.




CL or QM removed




CL and NG or QM and QN removed




You can see that my original assumptions of a max drawdown of ~$1800 was quite off when the scaling is accounted for. The new max drawdown is close to $4000 equivalent. This is a BIG difference. The plan is to trade the portfolio with CL and NQ removed due to the imbalances. I cannot add these without increasing the risk of the overall system and therefore increasing the capital.

Here is the short-term look at drawdown with CL and NG removed to show we are still in a decent normal drawdown to turn the system on.


Long explanation to say I royally messed up on my assumptions which justified the portfolio change. Live and learn

If I may. Just because they are not equal does not mean you cannot balance them out in your portfolio.

You just need to use some measurement of volatility of each in relation to other.

You mentioned corn. And I know you said the NQ as well.

Ahhh those are brutally different beasts.

But... for instance if you take the average ATR of say 14 days of BOTH then multiply that by a dollar amount you will have a way to "equalize" the risk of both.

Clearly the NQ "moves" more than corn. Movement multipled by their respective tick sizes will give you your numbers.

So say the NQ's dollar ATR for the last 14 days is $5500 and CORN's is $880.

Ok. 5500/880 = 6.25. Rounded down you should traded 6 CORN (plus 2 micro corn?) for EVERY 1 NQ.

Of course it's not going to GUARANTEE anything BUT if your goal is diversification (the ONLY holy grail in trading) then that again is a good way to trade ANY markets together.

Plus with the addition of the micros it gets even better! You can't trade .5 of a contract? No but if your strategy strategy calls for .5 you can buy/sell 5 micros.

Maybe this is obvious and your system is totally different I don't know?

Also I love the idea of turning the system on at the worst drawdown. Jack Schwager talks about that in his hege fund book. Smart move!

Sent using the nexusfi.com mobile app

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #15 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157

Week 4

Missed the update last week due to being away from the trading desk. Remote monitored and all trades fired correctly. Was actually great trading the last couple of weeks and made being away a lot less stressful. Markets trended nicely and had a very clear turnaround in grains that the system traded well.

5/31/2021: Current real-time account equity = $10,702 (0 trades open)


Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #16 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157


Cutloss View Post
you have the micro cl contracts coming later this year and the points will be 1/10th of an actual cl so only need 2 ticks or cents to break even. which is great!

i really like ho wyou waited for an expected drawdown in demo or back test to start tading. i thought of that before but never really thought.. hmmm.. what if i run my algo in demo and when it is a big drawdown thats when i will actually trade and min eis intraday so that may work for me a lot actually. good posts

Yes I found that on the forum. I am really excited about this addition as my system has been trading CL very well but I have been missing out due to QM being too leveraged. I will definitely be trading the micro CL contract as long as there is enough liquidity. It shouldn't be too hard to find 1 micro though.

Yes waiting for a drawdown gives a better chance of not giving up on the system too soon. The system very well may continue down from there and break but that could happen anytime. The flip side is you may miss out on a big run-up. I think it depends on the system. I noticed mine had very nice normal drawdown levels so it was easy to spot that it might be a good idea to turn it on. If you only have a drawdown every few months due to trading larger timeframes, then it may be hard to wait.

Thank you for the response and info on micro CL.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #17 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157


M4STR0 View Post
I am so happy that yours momentum algo is working good, I was starting to develop a similar approach, taking a momentum daily/weekly algo for stocks and trying to apply it to futures trying to not overfit but damn I cannot come up with anything good in backtest. Can you please explain the engine of your momentum algo? Is it something like high>highest(hig,var ) for the longs? Did you used look inside bar at one minute for backtesting?

I am not looking to give away much about the system currently as I do not even know if it is sound in all market conditions. The backtesting shows a nice steady equity curve and that is what I am hoping will continue but its still too early to say if I have something that will be usable even through the end of the year. I can tell you that it is as simple as can be and all entries are stop market orders so no need for inside bar backtesting (I did validate this).

I have been developing and testing for about 5 years now and it took me a long time to find something that worked for me so keep working at it and you will get there. Also, even if I gave away some of the details of the system, most people will not trust it and end up losing money. I know this first hand. Until you build it yourself, you won't be able to trust it and trade it correctly.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #18 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157


Sandpaddict View Post
If I may. Just because they are not equal does not mean you cannot balance them out in your portfolio.

You just need to use some measurement of volatility of each in relation to other.

You mentioned corn. And I know you said the NQ as well.

Ahhh those are brutally different beasts.

But... for instance if you take the average ATR of say 14 days of BOTH then multiply that by a dollar amount you will have a way to "equalize" the risk of both.

Clearly the NQ "moves" more than corn. Movement multipled by their respective tick sizes will give you your numbers.

So say the NQ's dollar ATR for the last 14 days is $5500 and CORN's is $880.

Ok. 5500/880 = 6.25. Rounded down you should traded 6 CORN (plus 2 micro corn?) for EVERY 1 NQ.

Of course it's not going to GUARANTEE anything BUT if your goal is diversification (the ONLY holy grail in trading) then that again is a good way to trade ANY markets together.

Plus with the addition of the micros it gets even better! You can't trade .5 of a contract? No but if your strategy strategy calls for .5 you can buy/sell 5 micros.

Maybe this is obvious and your system is totally different I don't know?

Also I love the idea of turning the system on at the worst drawdown. Jack Schwager talks about that in his hege fund book. Smart move!

Sent using the NexusFi mobile app

Thank you for the response. This is a good way to look at diversification. I haven't really looked too closely at the overall balance of the portfolio yet. I built the system based on 1 full size contract and since I do not want to allocate the capital to the system yet in order to trade that, I planned on trading 1 micro contract of each. The problem with that assumption was that not all micro's are created equal. So I may have blown up the system just by having 1 oversized micro in the portfolio and one market could break the system.

Instead of using the ATR I used the maximum drawdown of each individual market in the system as a baseline to say whether it was a good pair. Just because you have an ATR difference doesn't necessarily mean you have a risk difference. For instance, my max drawdown on NQ and CL may be $10k, but if I convert that to micro's my max drawdown on MNQ is $1k and QM is now $5k. That is not a good pair anymore. I would need to trade 5 MNQ to 1 QM to match my current definition of risk from my system.

There are probably 15 different ways to look at this but I knew at the time that I had made a miscalculation and could not trade it as originally planned. As I am able to scale up this will be something I will need to dig into.

The idea of turning the system on during a drawdown just kind of fell into my lap as I had been watching the system for a bit and realized I was undergoing a drawdown. I knew this would kind of be a make or break moment of the system so I took the leap and it worked out. Never know what the future is going to bring though so my fingers are still crossed that I made the right decision.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #19 (permalink)
 
Sandpaddict's Avatar
 Sandpaddict 
Vancouver, Canada
 
Experience: Advanced
Platform: Ninjatrader, MT4
Broker: IB, Global Prime
Trading: Futures CFDs
Posts: 684 since Mar 2020
Thanks Given: 975
Thanks Received: 637


ShadowFox View Post
Thank you for the response. This is a good way to look at diversification. I haven't really looked too closely at the overall balance of the portfolio yet. I built the system based on 1 full size contract and since I do not want to allocate the capital to the system yet in order to trade that, I planned on trading 1 micro contract of each. The problem with that assumption was that not all micro's are created equal. So I may have blown up the system just by having 1 oversized micro in the portfolio and one market could break the system.

Instead of using the ATR I used the maximum drawdown of each individual market in the system as a baseline to say whether it was a good pair. Just because you have an ATR difference doesn't necessarily mean you have a risk difference. For instance, my max drawdown on NQ and CL may be $10k, but if I convert that to micro's my max drawdown on MNQ is $1k and QM is now $5k. That is not a good pair anymore. I would need to trade 5 MNQ to 1 QM to match my current definition of risk from my system.

There are probably 15 different ways to look at this but I knew at the time that I had made a miscalculation and could not trade it as originally planned. As I am able to scale up this will be something I will need to dig into.

The idea of turning the system on during a drawdown just kind of fell into my lap as I had been watching the system for a bit and realized I was undergoing a drawdown. I knew this would kind of be a make or break moment of the system so I took the leap and it worked out. Never know what the future is going to bring though so my fingers are still crossed that I made the right decision.

"Instead of using the ATR I used the maximum drawdown of each individual market in the system as a baseline..."

I would agree that's a great idea!

It has the same flaws ATR has as it's just a RECORD of history but isn't every indicator?

MAE maybe another way.

I like it. You know what's best for your system. (And to test)

Cheers

Sent using the NexusFi mobile app

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #20 (permalink)
 
AllSeeker's Avatar
 AllSeeker 
Mumbai, India
Legendary Pratik_4Clover
 
Experience: Beginner
Platform: TradingView & ZerodhaKite
Trading: NIFTY, BANKNIFTY
Frequency: Daily
Duration: Minutes
Posts: 1,424 since Jan 2019
Thanks Given: 5,249
Thanks Received: 5,012


I like how you are going about this, you are also giving me some new ideas. Thanks and good luck!

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on March 1, 2022


© 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