Programming your Trading Ideas in TradersStudio and TradeStation

Discussion in 'Trading Software' started by Murray Ruggiero, Dec 3, 2008.

Does having to program stop you from backtesting your ideas.

  1. Never tried programming a system, too afraid.

    9 vote(s)
    22.5%
  2. Tried before and gave up and will not try again.

    2 vote(s)
    5.0%
  3. Have tried and done simple things, but can't really program useful ideas

    10 vote(s)
    25.0%
  4. I am a system programming wizard.

    19 vote(s)
    47.5%
  1. Consider it an average judging from the text.
     
    #11     Dec 4, 2008
  2. 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.
     
    #12     Dec 4, 2008
  3. Can you explain to me Entry and Exit order combinations with named signals. I want a given exit to only exit a given entry?
     
    #13     Dec 8, 2008
  4. Thanks, Mr. Murray for opening this thread. It shall help us TradersStudio users a lot, especially those who fear or dislike programming.
     
    #14     Dec 8, 2008
  5. Gyles

    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?
     
    #15     Dec 10, 2008
  6. Murray - any follow-up on this thread?
     
    #16     Dec 16, 2008
  7. Murray Ruggiero

    Murray Ruggiero Sponsor

    Sorry, I am on deadline for my Futures Article and trying to finish it. Will be actively posting again in a day or so.
     
    #17     Dec 16, 2008
  8. Please give the answer. :)
     
    #18     Dec 27, 2008
  9. Murray Ruggiero

    Murray Ruggiero Sponsor

    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.
     
    #19     Dec 27, 2008
  10. Murray Ruggiero

    Murray Ruggiero Sponsor

    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.
     
    #20     Dec 27, 2008