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,662 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

  #21 (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


jburke75 View Post
100% we do! 😆. I’ve also found your journal helpful @vmodus. I would be interested in collaboration but I understand you already have a partner based on your journal. Like you Kevin has been instrumental in my Algo trading success.

October has been rough month for breakout strats which currently as a new trader I am heavily focused on. I realize now I need to implement more mean reverting and bull bear regime strats. To compensate for periods like this.

I don't have any free time for collaboration, as I juggle trading and client work, but you can always PM me with questions or just hit me up on my journal. I'm open to collaboration later once things free up a bit.

Have a great weekend!

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
22 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #22 (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

Currently developing different ways to initiate a buy on either a certain date of the month or possibly some trading day of the month. the difference being that one strategy may use a specific date of the month. Say I pick the 5th of every month sometime the 5th will fall on a weekend and thus the next trading day may get filled. This is one idea that has been proposed to me recently but I am not sure how to code that in tradestation yet.

I have however developed a strategy to buy on the 5th trading day of the month. Still I am struggling to wrap the idea of the code in my head.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #23 (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


I just had a realization that I need to stay in touch with TS anytime I notice problems with strategy orders. I just got off the phone with them because this is the second or third time I had a strategy order rejected because the order is being sent milliseconds before the open of the market. Apparently you can add a few seconds to delay the order from being sent so you can make sure that the order is sent during market hours.

If anyone is reading this and knows how to do this I would be interested in learning.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #24 (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


jburke75 View Post
I just had a realization that I need to stay in touch with TS anytime I notice problems with strategy orders. I just got off the phone with them because this is the second or third time I had a strategy order rejected because the order is being sent milliseconds before the open of the market. Apparently you can add a few seconds to delay the order from being sent so you can make sure that the order is sent during market hours.

If anyone is reading this and knows how to do this I would be interested in learning.

I think you can find this in the EasyLanguage section of FIO. I vaguely remember answering this question a while back.... Anyhow, do a search and see what you can find. I will look in my archives.....

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #25 (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

Adding this condition to your buy and/or sellshort statement may solve your problem:

 
Code
Condition99 = BarStatus(1) = 0 ; // if this is the first tick of a new bar, then true, otherwise false
What this will do (hopefully) is wait for the first tick of the bar to appear, before sending your order. Try this in SIM first and make sure it is doing what you want. You can look in the Dictionary for more details on BarStatus.

For future reference, you will be better served posting your question as a separate topic over in the EasyLanguage thread. It will generally help get your question answered faster and it helps other users browsing over there. I only saw this because I follow your journal.

Let me know how it goes!

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #26 (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

I just realized at the end of his book Art has all the code to create these strategies and right after I wrote the code for the first strategy I decided to check the back of the book and it was right there staring me in the face. My way of coding it was pretty much exactly how he wrote it. That part was encouraging.

Someone recently burst my bubble and told me that the strategies in the book don't work anymore. Still I think good concept can be learned from back testing so many combinations of different ideas.

If nothing else I learned a lot about coding. We all want the holy grail found in a book somewhere that very few people are using. Does it even exist? I think more than anything it is combining different ideas and diversifying among various strategies in uncorrelated asset that is the real Holy Grail. As in life, It is never one thing in trading that makes all the difference. Life is more nuanced than that. I hope to really be building new ideas soon. I have a bit more capital now that I have 5 months under my belt. So far I have recorded a 31% profit and 100% ROA. This would be my net profit/worst drawdown. I think this is pretty good for just starting out at this thing. However, I fear that those result are just a statistical anomaly. Time will tell.

I have so many ideas that are popping up I don't have time to test them all.
I can see how collaboration is key in developing strategies. Full time research is needed to produce the product you want but so far a small portfolio has performed quite well. This may be due to concentrated holdings.

I have a strategy that buys every index in small quantity upon a sell off in or around oct and holds until May the following year. That has produced a huge return and I am hoping it will rise to my target. Because this is simply a buy and hold for half a year strategy I manage that trade manually as I refuse to take a loss on original investment once being hugely profitable. I may try to code this into my current entry and exit rules. My intuition tells me that this will not produce as good of results as just leaving it alone.

This strategy is about as simple as it gets. The problem I am seeing is that this strategy by itself completely fell apart the last two years. While these last two years have not been normal by any means I am betting that the market will not treat this strategy the same two years in a row. 90% of historical data suggest a strongh bias to the long side from Nov-May.

One thing I have considered is adding a profit target to the strategy as well as a stop Loss. I will try both and report back.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #27 (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

I am noticing a pattern with TS 9.5. Every once in a blue moon a strategy order will not get sent and follow through until I click on the chart. I have an indicator that says my strategy position doesn't match my real life position. It is a paint bar indicator for KJD but when I notice it is red I click on the chart to figure out what is going on and right after I click the chart the order gets sent to the market as long as the markets are open.

I inspected the code and made sure to use coding to ensure the orders are received by the market after the market opens.

I really am stumped at this point.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #28 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,662 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,349


jburke75 View Post
I am noticing a pattern with TS 9.5. Every once in a blue moon a strategy order will not get sent and follow through until I click on the chart. I have an indicator that says my strategy position doesn't match my real life position. It is a paint bar indicator for KJD but when I notice it is red I click on the chart to figure out what is going on and right after I click the chart the order gets sent to the market as long as the markets are open.

I inspected the code and made sure to use coding to ensure the orders are received by the market after the market opens.

I really am stumped at this point.

Is this with a VPS, by chance? I know someone else with that issue with VPS - the order gets sent once they log into the VPS. Sounds similar to your experience.

One solution might be to make sure you run TS 9.5 as an administrator. You can right click on the desktop icon and select "run As Administrator"

See if that helps. Also, if it does not, keep a log with details (screenshots).

I can collect your info, and info from others, I'll then approach TS upper mgmt to get it resolved. Upgrading to TS 10 MIGHT solve it too (I don't know).

I have never experienced this issue, by the way.

Follow me on Twitter Reply With Quote
Thanked by:
  #29 (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


kevinkdog View Post
Is this with a VPS, by chance? I know someone else with that issue with VPS - the order gets sent once they log into the VPS. Sounds similar to your experience.

One solution might be to make sure you run TS 9.5 as an administrator. You can right click on the desktop icon and select "run As Administrator"

See if that helps. Also, if it does not, keep a log with details (screenshots).

I can collect your info, and info from others, I'll then approach TS upper mgmt to get it resolved. Upgrading to TS 10 MIGHT solve it too (I don't know).

I have never experienced this issue, by the way.

Just my 25 cents.... we've never had a problem through our VPS (Azure VM), running TS 10. The only problem we've had on the VPS is that if we connect using a PC with High DPI (e.g. Surface Book), that will sometimes kill TS (not errors.... flat out kill it like it wasn't even running).

Not to hijack @jburke75 's journal, but is TS Support still actively supporting 9.5?

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #30 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,662 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,349



vmodus View Post
Just my 25 cents.... we've never had a problem through our VPS (Azure VM), running TS 10. The only problem we've had on the VPS is that if we connect using a PC with High DPI (e.g. Surface Book), that will sometimes kill TS (not errors.... flat out kill it like it wasn't even running).

Not to hijack @jburke75 's journal, but is TS Support still actively supporting 9.5?

They have said no more updates to 9.5, but they still investigate 9.5 issues (especially if they spill over to 10).

Follow me on Twitter Reply With Quote
Thanked by:




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