Programming your Trading Ideas in TradersStudio and TradeStation

Does having to program stop you from backtesting your ideas.

  • Never tried programming a system, too afraid.

    Votes: 9 22.5%
  • Tried before and gave up and will not try again.

    Votes: 2 5.0%
  • Have tried and done simple things, but can't really program useful ideas

    Votes: 10 25.0%
  • I am a system programming wizard.

    Votes: 19 47.5%

  • Total voters
    40
Quote from droskill:

Sorry should have been more specific - what I find challenging is the idea of getting data into the program on a regular basis. I can do one-off tests no problem, but if I want to have, say, the data for the SPY sucked into Excel every day and have my spreadsheet update correctly, I end up doing a ton of manual work. While on the other hand, once I've got a system built in Tradersstudio, I can just run it again.

I agree; that was my point....consider Excel as your prototyping vehicle. Then use your trading platform of choice for loading data and historical backtesting. I wish Excel could handle the data loading and historical backtesting but unfortunately that capability is not yet in Excel.
 
Thanks, Mr. Murray for opening this thread. It shall help us TradersStudio users a lot, especially those who fear or dislike programming.
 
Sorry, I am on deadline for my Futures Article and trying to finish it. Will be actively posting again in a day or so.
 
Quote from TraderSystem:

Can you explain to me Entry and Exit order combinations with named signals. I want a given exit to only exit a given entry?

Please give the answer. :)
 
Quote from TraderSystem:

Can you explain to me Entry and Exit order combinations with named signals. I want a given exit to only exit a given entry?

Let's look at the following


Code:
If Close>Average(Close,30,0) then Buy("SignalName1",1,0,market,day)

  Buy("SignalName2",1,Highest(High,20,0),stop,day)

  Exitlong("LESign1","SignalName1",1,lowest(Low,25,0),stop,day)


In this case if we are long using signal name "SignalName1" we will have a stop at the 25 day low. If that SignalName1 is flat, and we are only long from SignalName2, the protective stop order will not be placed.
 
Quote from Gyles:

Please may I know as to whether there is any way to disable a given entry after you exit it on a protective stop?

The new beta has disableentryafterexit. It works as follows"
DisableEntryAfterExit(EntrySignalName,ExitSignalName,Condition to reenable)

so

DisableEntryAfterExit("EntrySignalName","ExitSignalName",barsinceexitplus("EntrySignalName")=10)

This will not enable EntrySignalName to trade until 10 days after it's has last been exited.
 
Back
Top