NexusFi: Find Your Edge


Home Menu

 





Thinkorswim Strategy to MT4 EA


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one rosasurfer with 3 posts (5 thanks)
    2. looks_two jojowoods83 with 3 posts (2 thanks)
    3. looks_3 John Nachos with 1 posts (0 thanks)
    4. looks_4 mattz with 1 posts (1 thanks)
    1. trending_up 3,405 views
    2. thumb_up 8 thanks given
    3. group 6 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
jojowoods83
Baltimore, Maryland
 
Posts: 7 since May 2018
Thanks Given: 6
Thanks Received: 2

Hi All. I have grown very comfortable using thinkscript to create strategies that accurately track what I am thinking about where my entry or exit should be, but unfortunately thinkorswim does not support autotrading. My question then is whether someone could direct me to any resources that would assist in getting a thinkscript strategy into an MT4 EA. I also rely heavily on range or renko bars for my strategy. If someone is willing to do the coding I am more than happy to share the strategy code here. I am trying to take emotion out of my trading and feel this would help tremendously. Thank you in advance!

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to: Multi Time-Frame Volume Profile?
NinjaTrader
IBD Accumulation/Distribution Rating
NinjaTrader
Time, Futures, Scalping, Treasurys
Treasury Notes and Bonds
Anyone Trading Equities using NT8?
NinjaTrader
TOS inspired trading simulator
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Fighting Addiction and Stops
17 thanks
Just another trading journal: PA, Wyckoff & Trends
6 thanks
Big Mike in Ecuador
6 thanks
Crossing the Abyss: An Adventure Guide by Snax
4 thanks
Want your NinjaTrader indicator created, free?
4 thanks
  #2 (permalink)
 rosasurfer 
Sofia Bulgaria
 
Experience: Intermediate
Platform: MetaTrader, MultiCharts
Trading: Forex, ES, GC, strange synthetic creatures
Posts: 40 since Nov 2014
Thanks Given: 41
Thanks Received: 34


jojowoods83 View Post
...whether someone could direct me to any resources that would assist in getting a thinkscript strategy into an MT4 EA...

Hi. I do MT4 development since 9 years and I have not yet seen such resources. While there are tons of free MT4 related materials available finding a good MT4 developer will be very difficult. The typical MetaTrader user is a script kid and not a developer, such is the quality of code you can expect. This is true for most paid services including MetaQuotes own job service (never even consider it, not even in your dreams). Finding someone who also has ToS experience is probably an even more difficult task. I don't.

I would recommend to make your mind up about your exact requirements and post those here. Later you can add your system idea (no need to post every detail). But first you need to decide whether the EA should work fully or semi-automated or if it should just support your discretionary trading. Its design depends a lot on this, full automation requires a different development approach than semi-automation.

You will need to rent a VPS. Again, what MetaQuotes offers is a scam. What I already can tell you is that the EA will not be so much about trading. Full automation requires a challenging amount of runtime monitoring, error handling, logging and notification. Not sure if you are aware of this.


jojowoods83 View Post
...I also rely heavily on range or renko bars...

You will have to simulate virtual range bars in memory as MT4 doesn't support them from house. There are range/renko bar creators but I'm not sure if I would trust them if my own money is at risk. Depends on your strategy.

In general everything you can imagine is possible with MQL or the direct switch to C/C++. You might have a look at my Github repos to get an idea of what can be done.

https://github.com/rosasurfer/

Good luck

Reply With Quote
Thanked by:
  #3 (permalink)
 rosasurfer 
Sofia Bulgaria
 
Experience: Intermediate
Platform: MetaTrader, MultiCharts
Trading: Forex, ES, GC, strange synthetic creatures
Posts: 40 since Nov 2014
Thanks Given: 41
Thanks Received: 34


Another piece of advice: If you start this here be ready to face plenty of nay-sayers and complainers. Unfortunately most people only repeat what they *believe to know* about retail trading with MetaTrader.

If I was you I just wouldn't care.

Reply With Quote
Thanked by:
  #4 (permalink)
 
mattz's Avatar
 mattz   is a Vendor
 
Posts: 2,494 since Sep 2010
Thanks Given: 2,442
Thanks Received: 3,799

I assume that you are using exchange-traded products, and I think that MT5 would be better suited for that.
Not really sure the difference in coding between the two (MT4 and MT5), but MetaQutes launched MT5 for exchnage traded products. I hope this helps.

Matt Z
Optimus Futures

There is a substantial risk of loss in futures trading. Past performance is not indicative of future results.

Trading futures and options involves substantial risk of loss and is not suitable for all investors. Past performance is not necessarily indicative of future results. You may lose more than your initial investment. All posts are opinions and do not claim to be facts. Please conduct your own due diligence. Use only Risk capital when trading Futures.
1 800 771 6748 local 561 367 8686 email [email protected]
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #5 (permalink)
jojowoods83
Baltimore, Maryland
 
Posts: 7 since May 2018
Thanks Given: 6
Thanks Received: 2


MT4Survivor View Post
Hi. I do MT4 development since 9 years and I have not yet seen such resources. While there are tons of free MT4 related materials available finding a good MT4 developer will be very difficult. The typical MetaTrader user is a script kid and not a developer, such is the quality of code you can expect. This is true for most paid services including MetaQuotes own job service (never even consider it, not even in your dreams). Finding someone who also has ToS experience is probably an even more difficult task. I don't.

I would recommend to make your mind up about your exact requirements and post those here. Later you can add your system idea (no need to post every detail). But first you need to decide whether the EA should work fully or semi-automated or if it should just support your discretionary trading. Its design depends a lot on this, full automation requires a different development approach than semi-automation.

You will need to rent a VPS. Again, what MetaQuotes offers is a scam. What I already can tell you is that the EA will not be so much about trading. Full automation requires a challenging amount of runtime monitoring, error handling, logging and notification. Not sure if you are aware of this.



You will have to simulate virtual range bars in memory as MT4 doesn't support them from house. There are range/renko bar creators but I'm not sure if I would trust them if my own money is at risk. Depends on your strategy.

In general everything you can imagine is possible with MQL or the direct switch to C/C++. You might have a look at my Github repos to get an idea of what can be done.

https://github.com/rosasurfer/

Good luck

Thank you so much for all this information. I will have to do a little more research as to what exactly I need done and how I can make it work. My main goal was to have a fully automated system that I would have running while I am at work during the day, and then shut it down and view the results when I get home at night. I have limited access to a computer at work and would not be able to monitor the platform for an extended period.

Do you have any advice on a platform that does offer default range /renko bars and also support auto trading? I currently trade through Oanda and they do have the Algo lab, but I have yet to look at that as they do not have range bars. My current set up I have is to load my strategy in Thinkorswim on one screen, and then have Oanda up for trading on the other.

Thanks again for your help!

Reply With Quote
Thanked by:
  #6 (permalink)
 rosasurfer 
Sofia Bulgaria
 
Experience: Intermediate
Platform: MetaTrader, MultiCharts
Trading: Forex, ES, GC, strange synthetic creatures
Posts: 40 since Nov 2014
Thanks Given: 41
Thanks Received: 34


jojowoods83 View Post
...Do you have any advice on a platform that does offer default range /renko bars and also support auto trading?...

Sierra Chart offers renko and very good automation.

As @mattz said, define your frameset.

- What instruments? I see currencies in your profile.
- What timeframe? If longer term (>= H1) for a futures beginner a reputable Metatrader broker with CFDs may be the better option.
- Are you able to enjoy a broker in the developed world (i.e. outside the US) or are you constrained to third-world limitations?

If possible stick with Metatrader whether its MT4 or 5. For automation it's at the moment the most stable and reliable in retail space. Don't limit yourself to renko. Your trade ideas will change over time. A broker you can trust is more important than a trade idea.

Reply With Quote
Thanked by:
  #7 (permalink)
jojowoods83
Baltimore, Maryland
 
Posts: 7 since May 2018
Thanks Given: 6
Thanks Received: 2


MT4Survivor View Post
Sierra Chart offers renko and very good automation.

As @mattz said, define your frameset.

- What instruments? I see currencies in your profile.
- What timeframe? If longer term (>= H1) for a futures beginner a reputable Metatrader broker with CFDs may be the better option.
- Are you able to enjoy a broker in the developed world (i.e. outside the US) or are you constrained to third-world limitations?

If possible stick with Metatrader whether its MT4 or 5. For automation it's at the moment the most stable and reliable in retail space. Don't limit yourself to renko. Your trade ideas will change over time. A broker you can trust is more important than a trade idea.


I primarily trade four Forex pairs, EUR/USD, GBP/USD, USD/JPY and USD/CAD.

My current timeframe is limited to trading from about 7am ET to 10:30am ET when I have to leave for work. I usually end up having to exit a trade due to having to leave for work or because target or stop loss was reached.

I unfortunately find myself stuck with US only brokers.

I have traded candles previously and just find the renko bars easier to read for major support/ resistance zones that I rely on. I do use the candles to find the price ation at these zones though.

I will be leaving for home shortly and post my strategy when I get there.

Reply With Quote
Thanked by:
  #8 (permalink)
John Nachos
New york
 
Posts: 2 since Nov 2018
Thanks Given: 0
Thanks Received: 0


jojowoods83 View Post
I primarily trade four Forex pairs, EUR/USD, GBP/USD, USD/JPY and USD/CAD.

My current timeframe is limited to trading from about 7am ET to 10:30am ET when I have to leave for work. I usually end up having to exit a trade due to having to leave for work or because target or stop loss was reached.

I unfortunately find myself stuck with US only brokers.

I have traded candles previously and just find the renko bars easier to read for major support/ resistance zones that I rely on. I do use the candles to find the price ation at these zones though.

I will be leaving for home shortly and post my strategy when I get there.



I'm trying something similar, but for a reason I can't even connect my TOS account using MT5.

I was wondering if you had any success and could share some thoughts on how to do it?

Thank you!

Reply With Quote




Last Updated on November 25, 2018


© 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 - Sitemap - Downloads - Top
no new posts