How to develop a short time frame forex bot - Beginners and Introductions | futures io social day trading
futures io futures trading


How to develop a short time frame forex bot
Updated: Views / Replies:1,718 / 5
Created: by bnichols Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

How to develop a short time frame forex bot

  #1 (permalink)
Elite Member
Dartmouth NS
 
Futures Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker/Data: IB / IQFeed / Kids
Favorite Futures: Forex, stocks
 
bnichols's Avatar
 
Posts: 638 since Feb 2010
Thanks: 64 given, 459 received

How to develop a short time frame forex bot

1st in an installment, how to migrate your long term (days, months, years) Forex strategy to short term (minutes).

Earlier this evening I was trying to explain NT auto-trading to my son who has never traded. I'm a get-rich-slowly sort (100% / month on paper) and he's young, the get-rich-fast 30-something sort with no platform experience.

We threw up the canned SimpleMAStrategy and backtested on 6 months spot Forex data in NT7.

It performed badly, as expected, so I showed him how to tweak it by unlocking the code to establish his own test bed, make changes, backtest again, and keep backtesting manually until he's ready to optimize.

To make a long story short, I've never been profitable fooling around with SimpleMA or trying to trade the 1 minute spot Forex market by bot, but to my surprise tonight SimpleMA optimized to countertrend trading on 1 minute data, and kept optimizing the same way after repeated tests.

This means apparently the canned strategy is desperate to reverse the roles of fast and slow SMA for 1 minute spot currency data at the moment. Specifically it wants to replace the slow SMA with the bar close and turn the fast SMA into the slow SMA, essentially making the fast crossover of the close the opposite signal (e.g., buy instead of sell and vice versa).

We've all seen this from time to time, but I've never seen anything so robust in short time frame auto-trading.

The bottom line appears to be, SMA in a bot works over the long haul if price action is random (ranging) if you trade counter trend, which it does most of the time, and fails badly if price action begins to trend, which it does 20-30% of the time. No surprises there.

The object of this thread therefore is to decide whether this result is a flash in the pan or otherwise how to determine the onset of trending in 1 minute spot Forex data. I'll share the strategy in the next post, but in the meantime welcome any posts from folks dealing with the same issue.

As usual constructive contributors will own the final bot if it turns out to be profitable, and excuse me it turns out I've badly miscalculated

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Malaysia
 
Futures Experience: Beginner
Platform: Multichart DT
Broker/Data: MB Trading
Favorite Futures: Fx
 
torroray's Avatar
 
Posts: 273 since Nov 2009
Thanks: 52 given, 59 received


Hi,

can you post a screenshot

Reply With Quote
 
  #4 (permalink)
Elite Member
Dartmouth NS
 
Futures Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker/Data: IB / IQFeed / Kids
Favorite Futures: Forex, stocks
 
bnichols's Avatar
 
Posts: 638 since Feb 2010
Thanks: 64 given, 459 received

Will do as soon as I re-stabilize NT7 .... it looks like the infamous "Failed to execute DB job 'ExecutionUpdateJob': ObjectSpace: Entity Object was not Updated - NinjaTrader.Cbi.Execution" error has persisted to Version 7.0.1000.2

Edited to add: this issue started a few hours after I started forward sim testing the short time frame strategy on the EUR.CAD pair while another strategy was running live on same instrument (the strategy that feeds & clothes me :-/). Given the problem NT has with virus checkers I'm getting the feeling NT may have a bug in its file handler(s) (related to locking? race condition?), including the database.


Last edited by bnichols; March 7th, 2011 at 10:17 AM.
Reply With Quote
 
  #5 (permalink)
Elite Member
Malaysia
 
Futures Experience: Beginner
Platform: Multichart DT
Broker/Data: MB Trading
Favorite Futures: Fx
 
torroray's Avatar
 
Posts: 273 since Nov 2009
Thanks: 52 given, 59 received

Hi,

These small problems still haunting NT.

Reply With Quote
 
  #6 (permalink)
Elite Member
Dartmouth NS
 
Futures Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker/Data: IB / IQFeed / Kids
Favorite Futures: Forex, stocks
 
bnichols's Avatar
 
Posts: 638 since Feb 2010
Thanks: 64 given, 459 received

Just an interim installment. With the original post I meant to show one way strategy backtesting can lie. The idea was to share the solution, with the expectation readers would be wiser.

I already knew the best optimized (apparently profitable) strategy would fail in real-life short time frame spot Forex trading mostly due to spread--it's how Forex brokers make money, after all .

I couldn't continue the chapter without knowing the next chapter--what everybody want's to know--how to make a short time frame Forex bot profitable.

At the time I thought it would be simple. Turns out not to be

You have to know how to trade your instrument in your time frame profitably to program a bot.

Since the first boastful post I've been actively discretionary trading short term spot Forex "with extreme prejudice" to learn how and am only now approaching profitability. It will be a while before I can educate a bot.

Will keep you posted.

Reply With Quote

Reply



futures io > > > > How to develop a short time frame forex bot

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Time Frame Bollinger Bands Saroj The Elite Circle 3 April 28th, 2013 03:34 PM
Best time frame for an instrument spikoloco The Elite Circle 9 September 25th, 2011 03:06 PM
NT7 different time frame indicator Zsolt NinjaTrader 2 April 14th, 2010 12:40 PM
Multi Volume/Time Frame Trading wh The Elite Circle 7 September 15th, 2009 05:55 PM


All times are GMT -4. The time now is 06:21 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-14 in 0.10 seconds with 19 queries on phoenix via your IP 54.160.245.121