Sunday, January 17, 2010

A free e-book

... after reading the title of this post you're probably thinking that I made an e-boook and I'm giving it away for free. Not. Maybe one day. I want to give you another hint on finding books.

Earlier I wrote about finding free e-books using Google "
Free ebook for everyone - how to find free books online". Go to that post and read the instructions, and become familiar with Googles advanced search.

A while back I read this post by RiskAddict
"Example Trading System" and went to the link he provided to download the e-book. It wouldn't let me get the book, something about maximum limit reached. So I went up to the Google tool bar and typed in "book" and selected "search site" from the Google drop down menu. From there I browsed through the hits and selected the PDF.

Here is the link that Google spit out, download the PDF while it's still there -
How to develop a futures trading system ebook

10 tips from the website with the book;

  1. Do not feel compelled to always have a trade on or to trade everyday. Capital preservation is the key to successful trading and sometimes that just means waiting when the odds are not in your favour. Throughout all my years of investing I've found that the big money was never made in the buying or the selling. The big money was made in the waiting." Jesse Livermore
  2. Develop your own proven trading system - accept that losing trades will be part of that system.
  3. Do not let
fear and greed influence your trading decisions.
  • Trading is a business, be strategic and logical.
  • Learn something new everyday that will help to maintain or increase your edge.
  • Keep a trading journal and review why your actual trades vary from your trading plan.
  • Do not fight the market, it's easier to run with the wind than against it.
  • Always trade with a stop loss and never move that stop further away or remove it completely. Do not allow a day trade to become a long term investment.
  • Become an expert, know your market inside out. Be it options, futures or an individual stock - you should strive to become the World authority in it!
  • The market will rarely do what it 'should' be doing. Instead focus on what it is doing.
  • Wednesday, January 13, 2010

    Playback to Bracket Trader

    There are two ways to backtest that I know of using Amibroker;
    Use the backtester
    use the playback feature

    Backtester - This requires some coding, coding that isn't required when trading live with Amibroker, Bracket Trader, and TWS. You have to watch out for a whole basket of different issues that can creep into the test. It remains a valuable tool.

    Playback simulation - This is a great tool for practicing discretionary trading. It's also a great tool for testing your Bracket trader (BT) interface / system. If it would just work! I searched high and low and the net for some information on how to do this, or code that I could simply drop into Ami that would "make it happen". The good news is that I've finally got it to work, and surprisingly it wasn't to difficult to code, but getting the bug out was an issue.

    Ive used it to test several days of 1 minute HSI system with BT to get the stats from it. The last thing I just completed tonight was exiting positions near the close. Still a few issues to work out with that. Still, the most difficult part is finding a system that generates a profit, I'm looking for a winning ratio of 40% or better.

    Is anyone else using Amibroker playback in this fashion?

    I was contemplating doing a video on this and posting the code. Not sure I want to spend the time to do it though.

    Tuesday, December 1, 2009

    HSI System

    I'd like to start by saying that the formatting of the text doesn't work very well, and I don't feel like sitting here screwing around with formatting.
    Since the last post I've been working on a trading system aimed specifically at the Hang Seng HSI trading on the Hong Long exchange. While developing the signals and code to support the trading system I've also discretionary traded MHI, the mini version of HSI. In addition I've been chatting with Steve from California and Mr RiskAddict from Japan, as you can see in the chat window on the right. If you're interested in autotrading I suggest you visit Mr. Addict's blog. BTW, Mr Addict mentioned this trading system file, and I think you should read it.
    My AFL code is organized into blocks like this;
    Filters - setting available in the params window
    • allowable trading times
    • shorting and buying switches to allow me to turn ON/OFF shorting or buying
    Backtest parameters including a ON/OFF switch in the params window

    Systems
    This is blocks of code that are the sub-systems that make up the entire system of auto trading code. In the params window I have the ability to turn the sub-systems ON/OFF as well as set the order type for each system individually. See screen shot below.

    Plot
    This code lets me turn ON/OFF the plotting of the signals and some moving averages.

    Test
    Code that allows an instant order to be sent out as well as a test for writing a cancel order to Bracket Trader (BT)

    Bracket Trader Code block for writing the text file that BT reads. I just purchased BT, allowing me to add my own symbols and change the audio alerts.
    Backtest plot and code
    This chunk of code allows the plotting of backtest results and simulates scaling out with an initial order of 3 cars (contracts). The plotting code tells me why the position was exited, it shows different shapedigits depending on things like stopped out, trail hit, profit target, etc.

    Title code

    Debug code
    Sends specific into to DebugView

    The System
    The actual "system" consists of a bunch of sub-systems which I'll explain briefly. Here's an interesting wrinkle though - if System 1 buys and has hit 2 targets and is trailing the 3rd car, then system 2 shorts, the short is ignored. Signals are only taken once I'm flat. I call this letting the profits run and I'm OK with that because I do get wrong signals.
    The system buys 3 cars, has an initial stop, 3 separate targets and a trailing stop. Here is how it works for now, subject to change without notice;
    Buy 3 cars
    set initial stop at 15
    1st target at 10
    2nd target at 20
    3rd target at 50
    move stop to BE at 1st target
    trail at 2nd target
    While I've been watching this system fire off signals and debugging it in the fly it's been profitable on simulation but I don't trust it just yet (profitable doesn't count the buggy entry's at market when it shouldn't have fired off a signal but did). I still need to do a successful backtest. I have backtested but haven't been happy with the code result of scaling out, needs some work. I also need some data and I'm working on obtaining that. So far it all looks promising. If the system turns out to be 'not so good', I'll have code that I can simply insert another system, or add to it.
    I am considering manually firing BT based on the codes, I'll try that on sim, I don't think I can match the speed of the auto system though, even with BT at my fingertips.
    Sub-Systems
    A brief description of each;
    1 Find a trend and jump in
    2 Find a channel, or a cycle, and jump in
    3 Find the momentum and go the other way - fade it
    4 Find a MA that has reverses and jump in
    5 Find two indicators going the same way and jump in
    Each one of the above has it's own set of filters, for example, #4 doesn't just blindly jump in, it looks for some other stuff.
    I don't know if this post will help anyone, that isn't my intent. I needed to write it down to better digest it. If it helps you, great.

    Friday, October 30, 2009

    HSI / MHI Hang Seng

    I've been searching the web for blog posts and forums to gain insight into the HSI. It seems some of the comments are dated. If you trade this I'd appreciate any feedback or information you can offer (what doesn't work, what works) from your experience. Here is what I have learned thus far;

    It's technical intraday chart looks very technical and normal, the daily looks like its on crack, gapping all over the place. The opening gap break out seems to work well, gap and run. I've been using the first 5 to 8 minutes to gauge the direction and strength. Then I bottom fish and take the breakout for my position and let it ride. Last night worked perfect, huge gains, sold when the upwards trend line broke.

    I also only trade the "morning session" up to about midnight EST, then its bedtime. The "afternoon session" seems to have a mind of its own, like a different day.

    The first half of the morning session moves and trends, the second half can be choppy, the range (ATR) increases too. Just before each session closes the price goes nuts.

    I've read that the market is heavily manipulated by technical traders? I'm not sure what that means, it looks like it has some structure on the 1 minute time frame.

    Questions for you if you trade this;

    • What is your daily target (in points or dollars)
    • What is your daily loss limit?
    • Do you trade specific time of the market?
    • Do fibs work? I have noticed they work somewhat, good gauge of a pullback but I generally don't count on them.
    • Do pivot points work? My guess is not since the gaps are huge, perhaps weekly pivots?
    So far the P/L is floating in the black a little above break even and that's OK with me. Since I'm new to the Asian market, I need to learn it before going to bigger positions.
    Any input would be helpful for me as I am building my strategy and plan for trading this puppy.

    I also open up the chat room just before the market opens, its been quiet. Anyone know of any chat rooms for the Asian market?

    Tuesday, October 27, 2009

    VWAP

    Definition


    "Volume Weighted Average Price. A measure of the price at which the majority of a given day's trading in a given security took place. Calculated by taking the weighted average of the prices of each trade. The method is used by institutional traders, who often break a given trade into multiple transactions."

    Another definition

    The VWAP for a stock is calculated by adding the dollars traded for every transaction in that stock ("price" x "number of shares traded") and dividing the total shares traded. A VWAP is computed from the Open of the market to the market Close, AND is calculated by Volume weighting all transactions during this time period.

    VWAP, or Volume Weighted Average Price is a tool used by some traders, I first learned of it from Brian Shannon who trades stocks. This won't work for forex since there is no volume.

    There are a few different ways of displaying this in Amibroker. It can be a simple line like a moving average, this is the most common way pro's use it. Amibroker has a function to display it behind price, look in the help for these two functions with examples;

    • PlotVAPOverlayA
    • PlotVAPOverlay
    Here are a few ways tp lot it and some code to try out.

    eTokes Blog post on VWAP
    I suggest reading his post, as well as Brian's post on VWAP, links below. eToke used a vertical "study" line drawn on the chart. This might give you an error on your chart if there is no line drawn. Here is his code with a little fix for this problem (adding "Nz");


    Plot VWAP starting at a horizontal study line (Study ID set to ST)

    //VWAP since last change in sentiment
    TurningPoint = IIf(Nz(Study(“ST”,GetChartID())==0,1,0));
    BarsSinceLastTurn = 1 + BarsSince(TurningPoint==1);
    StartBar = ValueWhen(TurningPoint==1, BarIndex());
    RunVolume = Sum(V,BarsSinceLastTurn);
    IIf (BarIndex() >= StartBar, MTVWAP = Sum (C * V, BarsSinceLastTurn ) / RunVolume,0);
    Plot (MTVWAP,”MTVWAP”,colorPink, styleLine);

    Other ways to plot VWAP

    Plot VWAP starting at selector line

    This is another way, it will display the VWAP starting from where your selector line is placed. I use it for short term trading to see where all the volume is, makes finding support / resistance a bit easier when working with breakout.

    _SECTION_BEGIN("Selector Line VAP");
    segments = IIf(SelectedValue(BarIndex()) == BarIndex(), 1, 0);
    PlotVAPOverlayA( segments , 300, 50, ParamColor("Color", colorDarkGrey ), 6 );
    _SECTION_END();

    Plotted like a moving average

    _SECTION_BEGIN("VWAP");
    Bars_so_far_today = 1 + BarsSince( Day() != Ref(Day(), -1));
    StartBar = ValueWhen(TimeNum() == 093000, BarIndex());
    TodayVolume = Sum(V,Bars_so_far_today);
    IIf (BarIndex() >= StartBar, VWAP = Sum (C * V, Bars_so_far_today ) / TodayVolume,0);
    Plot (VWAP,"VWAP",colorOrange, styleThick);
    _SECTION_END();


    Other links on VWAP
    VWAP link 1
    VWAP link 2

    Tuesday, October 20, 2009

    Chat Room

    Most nights I'm trading EURUSD or HSI (mini Hang Seng). Tonight I'm in the chat room mentioned in an earlier post. Join me if you like. Tonight I'm looking at HSI. IB symbol for Amibroker is MHIV9-HKFE-FUT-HKD

    CHATROOM

    I was contemplating using twitter as a chat medium but I haven't explored it much or used it. Stocktwits is also a possibility but again I don't know much about it. Any comments on it's use compared to a chat room would be beneficial. Also, are any readers interested in chatting in the evening?

    Sunday, October 18, 2009

    EURUSD

    The last post on EURUSD talked about some basics and a short update as price was playing with the trend line. I am currently long and I plan on holding for the ride.


    WEEKLY CHART
    From the weekly chart we can clearly see that price has entered an "air" zone, there is no meaningful resistance on the way up to the top of the yellow box.








    Daily Chart - Long History
    The last time price had to overcome resistance it popped through the orange trend line on the third attempt (yellow circle). Price followed the upward red trend line and is still following it. More on this line later on.... We just broke the blue trend line, and as it happens, on the third attempt just like the prior break. No we are into the yellow free air space.








    Daily Chart - Closeup
    Price just broke through the blue horizontal trend line, on the third attempt, same as the last horizontal trend line break. The pullback after the breakout above the orange horizontal trend line came to the upwards trend line and the 50% retracement. Note that it did not come back to the orange trend line, indicating a strong upward trend following the red line. Keep this in mind when looking to enter on the recent break.








    Intraday
    The yellow area is the S/R "zone" from the weekly chart. It looks like we are clear for now. A good area to place a but LMT order would be at 1.4790 to 1.4844 for a low risk opportunity.







    What's next?



    Breaking the upward red trend line - This would only mean that the rate of increase or rise in price has slowed. Once it breaks through, look for it to come back to it and test it, then fall. No telling when this line will break.


    Pullback - look for a pull back to the upward red trend line or the blue horizontal trend line. The best choice might be whichever one of those area also lines up with a fib level and a round number. I might even load up more on a pull back.


    Be patient and wait for the pullback. If you need some help with pull backs watch this
    Pullback Video.


    Do you have a position right now? Are you planning on geting in on this move?

    Monday, October 12, 2009

    HSI - Mini Hang Seng, and the big brother MHI

    I live near Toronto, eastern time zone, I work during the day (not in the finance or trading field). I have free time after dinner and do some short term trading. Forex doesn't do much from 7pm to midnight unless you want to play ranges and scalp. Scalping doesn't work for me. I was looking to trade something that moves a little less choppy, has some liquidity, shows the volume, and can be traded technically. From my research which includes reading forums and blogs I have found the Asian markets are a good place for that. I'm taking trades at night on the mini Hang Seng futures (HSI).

    Other contracts I have looked at include the following;


    SPI - S&P/ASX 200 Index (Australia)
    APZ9-SNFE-FUT-AUD

    mini Hang Seng Stock Index
    (MHI) MHIV9-HKFE-FUT-HKD

    MSCI Taiwan Index @ SGX
    TWV09-SGX-FUT-USD

    Be sure to adjust the symbol for the correct contract expiry before trading.


    Of the above, I have chosen to concentrate on MHI. Here is the chart so far tonight, 1 minute time frame over several days.
    As you can see it trends nicely and has the odd gap fill. Trading shuts down for lunch time in Asia and when the come back there can be huge swings in the opening price, so trade small. I typically trade 1 or 2 contracts, depending on the set up. Right now the P/L is up and down, I'm learning the instrument and as long as I stay afloat and break even over the week I'm generally happy for now.

    Intraday - HSI


    Daily Chart - HSI


    UPDATE:

    Mr. Addict blogs about his experience with trading this instrument, both discretionary and Auto trading. Very interesting read and to me, his blog shows that he checks his results, indicating a high level of interest in success. This is something I lack (the checking results part) but I'm working on keeping the trade journal up to date. I'm going to use another approach and use AFL to import my IB TWS generated trade log and plot the trades. Then my notes will make sense. Keeping a spreadsheet doesn't appeal to me, it to slow, I prefer scratching notes.

    Mr. Addict contributed a very valuable comment for those that trade MHI or HSI and use IB as their broker. Here is his comment, I've inserted the approximate USD equivalent values beside the HKD value so you can easily relate.

    Addict said...

    Why don't you try the full size contract, i.e., HSI instead of MHI? The bundled commish on MHI is 34 HKD (4.38 USD) per round trip and it's worth 10 HKD (1.29 USD) per tick. So price has to move four ticks in your favor to break even.

    With HSI, the commish is 60 HKD (7.74 USD) per round trip, but each tick is worth 50 HKD (6.45 USD). So price only has to move two ticks in your favor to at least break even.

    Better yet, go unbundled and you pay only 20.30 HKD (2.61 USD) per round trip for trading HSI, and 13.16 HKD (1.69 USD) for MHI. With unbundled, you need only one tick movement in your favor to break even with HSI, and three ticks with MHI.

    EURUSD

    UPDATE
    Looks like a false breakout to me. It could also be a shakeout but I dont think a shakeout is that easy in forex and given this is a well watched trandl ine, there are too many participants at this level to do that.




    Original Post
    I was looking at the EURUSD chart today, deciding how to play pair as it nears long term S/R. My son came into the room and asked me what I was doing. I explained the bar chart and told him that we could make lots of money if our prediction was right. I asked what he thought the chart would do, first taking no more than one minute to show him how prices bounces off previous S/R levels, showing him the trend lines and S/R lines I drew. His 30 second view into the future is attached below and I have to tell you, its as valid as any other.

    I'm playing this as a breakout for one reason only, this level has acted as resistance four times already and there is upward pressure from a very long trend line. There are three outcomes I see in the next week or so;

    1: Breakout and huge move to the upside because of the long term nature of the two trend lines.
    2: Breakout and a failure within a few days, price will move back below the 1.4821 area in a classic 2B move and then tank over multiple weeks if not longer.
    3: Price will bounce off this area and head lower, below the uptrend line, then we are moving sideways. until a low is broken.

    BTW - I have used Tipster Trendlines to place my trades. Check out this AFL for Amibroker for placing error free trades. "Error free" refers to the task of placing the trade, it does NOT refer to a trading system. the AFL also offers a risk management tool.

    In short - this is a great place to watch price and place a trade. In other words, don't waste your time trading in between S/R lines on your chosen time frame.

    Not sure about the long term, I'm focusing on the weeks ahead. Just for kicks, I'm posting what a 9 year old boy thinks of this market.

    Sunday, September 6, 2009

    Forex Volume

    If you have traded forex for more than a day you will now that there is no volume data since there is no central exchange. There are ways to guess at volume, which by the way will help you even though its an approximation. Since trading isn't an exact science, any data for volume is better than no data. When volume is read on a chart, say for stocks, we look for increasing or decreasing levels, or a spike on a breakout, and not a particular number.... only comparisons.

    Forex data can be derived from tick data. I use this right now, the number of price changes from the IB data stream is counted and added until the bar closes, the afl uses the ibc.getrealtimedata function.

    You could also use forex futures volume data, Amibroker will let you do this easily, but the market hours aren't the same from what I understand. I've never looked into this, so don't consider this as fact.

    I ran across a site where forex futures data is taken from the CME website reports that are posted and available via ftp. The website is call evolution. I read some post at forex factory and it seems the site has been up for a couple of years. There doesn't seem to be a huge following, (which is good if you ask me).

    I'll be taking a closer look at the max volume levels for the past week and keep an eye on them. Use this with your support and resistance and we will probably find more clues to where the next bounce will happen.

    Take a look and leave a comment here on the site, as well as your thoughts on forex volume.

    Saturday, September 5, 2009

    Code Snippet - EOD Data

    On the weekends many traders are looking over charts, some only do it on the weekends. They might place orders based on the charts they view. No matter what type of order you use, if you are using daily data, you may have noticed that sometimes you don't get all the current data for every symbol. Murphy's law says that the stock you interested in will be the one that is missing one days worth of quotes. A couple of times I have almost placed an order based on old data, but noticed something wasn't right when I logged into the trading software and noticed the last price was different. I wrote this piece of code to show up in the title when the last daily bar isn't the same as today's day. The code also considers Saturday and Sunday.


    DownloadDate = LastValue(DateNum());
    TodayDate = Now(3);
    if(Now(9)== 7) DownloadDate = DownloadDate + 1;
    if(Now(9)== 0) DownloadDate = DownloadDate + 2;
    if(LastValue(DownloadDate) != TodayDate)
    BarDateError = " *WARNING: Data NOT Current*";
    else
    BarDateError ="";


    My title bar uses this code, which is where the value BarDateError is displayed.


    Title = EncodeColor(colorLightBlue) + Name() + " " + FullName() +
    EncodeColor(colorLightBlue) + " - " + Date() +
    EncodeColor(colorBlue) + " O=" + O +
    EncodeColor(colorLime) + " H=" + H +
    EncodeColor(colorRed) +" L=" + L +
    EncodeColor(colorBlue) + " C=" + C +
    EncodeColor(colorYellow) + " ATR: " + Prec(ATR(6),4) + EncodeColor(colorWhite) +
    " " + BarDateError;



    Hope this helps you reduce errors, trading is hard enough without having to deal with oversights.

    Thursday, August 6, 2009

    Chat Room

    I get email from time to time and have found it frustrating and difficult to solve a problem or have a healthy discussion via email. I've added a link to a chat room where we can have a discussion. If you want to chat about whatever, put a comment up on one of the posts and suggest a time. I'd like to chat about using Bracket Trader, or the advantages of using MetaTrader over Amibroker with IB (I know there are issues with that set up)

    Look at the side bar on the right there is a title "Forex Hit List". I've added a link to a chat room.

    Wednesday, August 5, 2009

    Tipster Trendlines 2.12

    Go to the Tipster Trendlines 2.1 post for additional information on how to obtain this AFL code. Don't make any more manual entry mistakes!

    In addition, you may want to check the "
    Tipster Trendlines" TAGS on the the right of the blog to see all post about this code (or click this link).

    Another update to the AFL, Tipster Trendlines, for trading right from the Amibroker chart. Here are the two additions;

    Description (code follows below)

    1. This addition will add "seconds remaining in bar" to the title of the chart. Good for intraday trading.

    2. This addition will tell you if the last daily bar has the same date as today. Have you ever downloaded your EOD data and placed orders based on old data, assuming that you have the latest quotes? This won't prevent that but it will show a warning in the title of the chart so you have a chance!

    AFL CODE

    Put this code at the top of the AFL, right after SetChartOptions(0,chartShowArrowschartShowDateschartWrapTitle);

    function secondsLeftOnBar_func()
    {
    Time = Now( 4 );
    Seconds = int( Time % 100 );
    Minutes = int( Time / 100 % 100 );
    Hours = int( Time / 10000 % 100 );
    SecondNum = int( Hours * 60 * 60 + Minutes * 60 + Seconds );
    TimeFrame = Interval();
    Newperiod = SecondNum % TimeFrame == 0;
    SecsLeft = SecondNum - int( SecondNum / TimeFrame ) * TimeFrame;
    SecsToGo = TimeFrame - SecsLeft;
    return SecsToGo;
    }


    Replace the Ttle section at the bottom with this code

    //Check if daily data is from today
    DownloadDate = LastValue(DateNum());
    TodayDate = Now(3);
    if(LastValue(DownloadDate) != TodayDate)
    BarDateError = " *WARNING: Data NOT Current*";
    else
    BarDateError ="";

    Title = EncodeColor(colorLightBlue) + Name() + " " + FullName() +
    EncodeColor(colorLightBlue) + " - " + Date() +
    EncodeColor(colorBlue) + " O=" + O +
    EncodeColor(colorLime) + " H=" + H +
    EncodeColor(colorRed) +" L=" + L +
    EncodeColor(colorBlue) + " C=" + C +
    EncodeColor(colorYellow) + " ATR: " + Prec(ATR(6),4) +
    EncodeColor(colorDarkYellow) + " Seconds Remaining: " + secondsLeftOnBar_func() +
    EncodeColor(colorWhite) + BarDateError;
    _SECTION_END();

    Enjoy!

    Sunday, August 2, 2009

    Tipster Trendlines 2.11

    Go to the Tipster Trendlines 2.1 post for additional information on how to obtain this AFL code. Don't make any more manual entry mistakes!

    Several readers have donated and received the Tipster Trendlines 2.1 (TT) AFL. A few things have come up, and I want to share the questions and code fixes.

    CODE FIX
    This fixes an issue where TWS rejects the submitted prices when TT is set for "Futures" trading.
    Search for the red text below using the find box and replace with the code below. The NEW code is in blue. If you can't figure this out, let me know by comment or email.

    if(Length == "0")
    {
    BS = int( BS ); // this truncates whatever is after the decimal
    TA = int( TA );
    ST = int( ST );
    IBTarget = NumToStr( TA, 1.0, 0);
    IBOrder = NumToStr( BS, 1.0, 0);
    IBStop = NumToStr( ST, 1.0, 0);

    }

    VISTA

    Microsoft VISTA continues to be a problem for Amibroker. The Interpretation window should be closed according to Ami support. The issue has not been resolved at this time, stay tuned in the Yahoo Amibroker groups. The reports I am receiving indicate the the TT screen "flashes" when Auto Trading is turned on.

    Here is some code added by Rick. This code flashes the screen at the start and end of the trading day. Adjust the time as required:


    Plot(TimeNum() == 092959, "",colorPaleGreen,styleHistogramstyleDashedstyleOwnScalestyleNoLabel);
    Plot(TimeNum() == 155959, "",colorRed,styleHistogramstyleDashedstyleOwnScalestyleNoLabel);

    (In Preferences - Intraday, "Time stamp of compressed intraday bars shows - "END time of interval")


    Questions and answers

    Q1. can make change to stop loss and target profit or not so that I can move my stop loss/target after the trade is entered.

    A1. No. Once the order is placed and not filled, cancel and re-do in Amibroker. Once the order is placed and filled, move stops and targets in TWS.

    Q2. Also if I used stop + limited price to enter trade, the trade may or may not be able to be filled. Can we see the trade has been filled in the status of Amibroker panel or not without going to IB pages?

    A2. No. This is possible but I have not coded it. I had that feature in an earlier version.

    Other Issues
    Lastly, I would appreciate any feedback on this code posted as comments so other potential users can see the value. If current users have any suggestions, of issues with the AFL please let me know and we will remedy.

    Wednesday, July 29, 2009

    Auto Trading UPDATE

    I have been using Bracket Trader lately. Great little program. I also just changed computers and noticed it doesn't run very well. I had to turn off my real time virus scanner. I'll have to figure out what files are running and add them to exceptions for the scanner.

    The AFL I'm working on actually combines several systems that can be turn on and off with the params window. The time of day to allow trades can also be adjusted.

    I send an email alert to me handheld so I'll be able to log on and check that the stops and targets have been placed, then just let it go. It's running on the TWS simulated account right now, making play $$.