Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

Jeff65

Members
  • Content Count

    24
  • Joined

  • Last visited

Personal Information

  • First Name
    TradersLaboratory.com
  • Last Name
    User
  • City
    Gurnee
  • Country
    United States
  • Gender
    Male
  • Occupation
    Futures trader and system developer
  • Biography
    Hello, I develop trading system for TradeStation. While I don't write custom code for people I do have a web site dedicated to automated trading. It's called eminiedges.com. Feel free to contract me through my website or drop me an email through Traders Laboratory.
  • Interests
    Fishing, photography and helping others

Trading Information

  • Vendor
    No
  • Favorite Markets
    ES, YM and EC
  • Trading Years
    11
  • Trading Platform
    TradeStation
  • Broker
    TradeStation

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. The most simple way is to move the inputs to the variables section of your code. Compile your code with the desired variable settings and load into a chart. Your inputs are now gone.
  2. I believe the score is a numerical representation of the trading rules. The code posted above does use a trend filter to filter trades.
  3. Thanks for the clarification. Thus the first bar of a new day could be within the "current daily low" definition and we could be entering on bar 3 of the day given bar 1 is down, bar 2 is up and bar three breaks high of bar 2 taking us long into the trade? Thanks.
  4. I've never used that function. But yes, there are many ways to accomplish a single task.
  5. When you state to enter within 20 pips of the daily low, what does that mean? The low of the past 24 hours?
  6. That's a tall order. I would say start reading a lot to discover what type of trading or investing you are interested in. Consider how much capital you are willing to commit and thus, lose. Buuild, test and refine a trading plan while tading in a simulated account. Be sure to also read about money management and trading psychology. Never use real money until you prove your worth in a simulated account.
  7. You might try here: Collective2 - Find the trading strategy best for you
  8. The code example of an Open Range Breakout system may help. Execute it on a 5-minute chart. I wrote it for the futures market but can be adapted to other markets. Orders are based upon the first 30-minutes of trading and remain active all day. Let me know if you have questions. // Example Open Range Breakout // Executed on a 5-minute bar // Order levels are based upon first 30-minutes of trading. // Order levels and stop levels remain valid all day. variables: MP(0), HH(0), LL(0); MP = MarketPosition; { ---------------------------------------------------------- First 30 minutes of Market Open Compute Opening Range 830 - 900 Central ---------------------------------------------------------- } If ( Time = 900 ) Then Begin HH = Highest( High, 6 ); LL = Lowest( Low, 6 ); End; { ---------------------------------------------------------- Place orders between 900 and 1455 Central Place only one trade per day ---------------------------------------------------------- } If ( Time >= 900 ) And ( Time <= 1455 ) And ( MP = 0 ) And ( EntriesToday(Date) = 0 ) Then Begin Buy ("LE") next bar at HH stop; Sellshort("SE") next bar at LL stop; End; // Set stop levels at opposite range If ( MP = 1 ) Then Sell next bar at LL stop; If ( MP = -1 ) Then Buy to cover next bar at HH stop; // Exit all trades at 1500 Central If ( Time = 1500 ) And ( MP <> 0 ) Then Begin Sell this bar at close; Buy to cover this bar at close; End;
  9. Orders are placed on the next bar. That's is, the bar after the bar that just closed. This is how I would do it. After determining my buy level I turn on a flag. Each time the current bar closes and my order is not filled, the order is replaced. If order is filled, my flag is disabled. At the end of day, my flag is disabled and all unfilled orders canceled. Let me know if you want me to post a code example.
  10. Who says one can't scale in as price climbs as well? What if the average trade nets 4 or more times risk of a full stop out? There are profesionals who scale in. There is a million ways to successfully trade and even more ways to lose.
  11. There is a difference between adding to a loser and scaling into a trade as it moves against you. Adding to a loser is often unplanned and violates your risk-per-trade rules. However if your plan is to risk say 3 percent of your capital on a given trade and your plan is to scale in at 1 percent intervals then this is fine.
  12. Thanks. I do check in on that site on occasion. Take my studies for what they are. For me EC trend better and for you, that may not be true. I have many more studies I'll post over the next few weeks when I get some time.
  13. I don't trade in the 1980's. I can only trade what the numbers tell me today. For day trading futures in the current market environment, EC has been much more kind to me than YM or ES. My trades last from several minutes to several hours and trends in EC are much more pronounced than ES. This is just my meaningless opinion. As for longer term swing trading, that is a different game were diversification in non correlated markets does play more a role.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.