Jump to content
Macro Express Forums

sean.dbtrader

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by sean.dbtrader

  1. I have the full macro working, except it is not consistent. There seem to be 2 problems.

     

    Problem 1:

    The first command is Text Type: <SHIFTD><HOME><SHIFTU> to highlight the ticker that I just typed and then I do a clipboard copy. This works the first time and maybe the second and third time I run the macro, but after a few runs it seems to stop working. I put in a delay of 2 seconds so I can see what is happening. When it stops working the text is not highlighted but the cursor goes to the start. So the <HOME> command still runs, but it is like the SHIFT key is not being pressed. What could cause the macro to start behaving differently?

     

    Problem 2:

    The TradeStation behavior is also inconsistent. I'm calling Window Activate, then Type Clipboard Text, then Text Type: <ENTER> and then Wait for Text Playback. In some cases this works and at other times it seems the platform was activated but the text did not go through. I'm wondering if this might be a timing issue and I need to delay just a little bit after activating the window.

  2. OK, I've run into my first problem. At this point I'm just trying to create a macro to activate the window and type some text to change the ticker (e.g. GOOG). I was able to get this to work with Notepad, but it doesn't work with the trading platform I'm using, TradeStation.

     

    If I manually activate the window, type the text "GOOG" and press enter it changes the chart symbol to GOOG. However, the macro does not change the chart symbol. I can see it activate the window but the text never goes through.

     

    I've attached a screenshot of the simple script.

     

     

    post-20104-0-20177500-1484537466_thumb.png

  3. Yes, I have a multi-monitor setup. However, for this particular solution both applications will be on the same monitor and visible.

     

    I would be happy to post screenshots, but I can't even log in to one of the platforms right now because the trading servers are offline over the weekend. I'll post screenshots early next week.

     

    I think the solution posted by rberq would work. I'm going to try creating a script using his steps, but this would be my first Macro Express script so any help would be greatly appreciated.

  4. I would like to know if I can use Macro Express to solve a problem. I use two different trading platforms. When I type a stock ticker (a string of no more than 4 characters) into a window in one of the platforms (the sending platform) I would like that same string to be entered into a window of the other platform (the receiving platform). Is there any way to do this using Macro Express?

     

    The sending platform has an external linking feature, but it does not work with the receiving platform I'm using.

×
×
  • Create New...