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.

MadMarketScientist

Administrators
  • Content Count

    1281
  • Joined

  • Last visited

Everything posted by MadMarketScientist

  1. 100% agree with no more of the "too big to fail" crap. But have to disagree with betting the company and going broke - thing is it wasn't his company. Yes he was the CEO but the shareholders own the company and I'm certain they are not too happy he was betting the company on Italy MMS
  2. MF Global Didn’t Segregate Client Collateral ... damn it doesn't look good here. Sorry to hear you had an account with them. If this is true there *better* be jail time. thx MMS
  3. For his stellar performance at MF Global, Corzine will receive around $12.1 million in severance, according to the New York Times' business blog, Dealbook. This should light a fire under the Occupy Wall Street protests. MMS
  4. Many traders believe there's a system that can pick tops and bottoms in prices. In fact, a whole technical analysis industry is built on these theories. On the other hand, value investing is about knowing the value of a business and paying less than that amount. The difference between the value and the price you pay is your margin of safety (or margin for error). What does everyone here think about value investing? Do do you do it? Is it an IRA-only strategy? Do you use it in conjunction with active trading? thx MMS
  5. Thanks for the offer ... there are lots of questions people are already asking in the other threads ... why don't you start by answering those? thx MMS
  6. Well it has happened ... betting the company on european sovereign debt will do it to you. MF Global goes bankrupt, is 1st U.S. casualty of European crisis
  7. Type defines the properties\functions\events\etc of an object - like a blueprint. But an object is an instance of the Type - like a house. Maybe another analogy will help here ... tsdata.trading.Order == 'Human' MyOrder == 'Mark' So MyOrder is an instance of Type tsdata.trading.Order just as 'Mark' is an instance of Type 'Human' So therefore you can call 'MyOrder.Cancel' just like you can call 'Mark.Walk' But 'Human.Walk' doesn't make sense because 'Human' is just a definition. 'Mark' is the instance of that definition. Thats why you can't call 'tsdata.trading.Order.Cancel' MMS
  8. Events allow objects to notify other objects about its state. You use events when you want to be notified when another objects' state changed (e.g. OrderStatusUpdated). At that point, the receiving object can get all information it needs from the event arguments or from the sender of the event. MMS
  9. More accurately, the MyOrder variable is set to the output of the OrderTicket1.Send() method. What is happening here is the OrderTicket1.Send() method returns a Order object and you are setting MyOrder to point to that object. These are 'events' that are initiated by the object What this is doing is registering the OrderStatusUpdate 'event handler' (that we talked about in the previous post) to the event MyOrder.Updated. So whenever the Updated event (on the MyOrder object) happens, it will call the event handler OrderStatusUpdate. thx, MMS
  10. Yes it usually works like that The sender can be any object that initiates the event. And a receiver can be any object that chooses to listen for the event. Remember, in OO, all functions\methods are attached to an object. So 'event handler' is just a specific function on an object that contains the code that responds to the event. MMS
  11. This method is called an 'event handler' (I can tell by the type of the parameters - tsdata.trading.OrderUpdatedEventArgs). An 'event handler' is the method that runs code when the 'OrderStatusUpdate' event happens in your program. These parameters are common to event handlers, as it tells the receiver who triggered the event (elsystem.Object sender) and if there are any arguments for the event (tsdata.trading.OrderUpdatedEventArgs args - this would be data, etc). In this particular example, the parameters are not used but more often than not, these parameters would be used. MMS
  12. A namespace is used to organize Classes. In large systems, there may be many classes what would have the 'name' Order, so to differentiate between them, you put them into its own 'namespace', which is 'tsdata.trading' Remember my first post about OO being a way to organize code. This is a real-life example of that. To use the correct Order class, you have to declare the correct one by using its 'fullname' - which would be tsdata.trading.Order. So yes to your question. No, 'MyOrder' is simply the variable name. A variable must be declared to be of a type, most commonly an integer or a string. But here, it is of type 'tsdata.trading.Order'. So 'MyOrder' is a 'tsdata.trading.Order' I hope my explanations are clear ... some references: Introduction to Object Oriented Programming Concepts (OOP) and More - CodeProject thx MMS
  13. The idea of being a successful trader is exciting. The reality of becoming one is another thing. You need to understand more than the markets -- you need to understand yourself. EWI's Senior Analyst Jeffrey Kennedy knows what it takes. He has analyzed and traded the markets for over 15 years. Jeffrey has learned what it takes to be successful, and he has the discipline to apply that knowledge. Enjoy this excerpt from his free Club EWI eBook Best of Traders Classroom, in which he answers: What kind of trader am I? Read more of Jeffrey's lessons in his free 45-page eBook: The Best of Trader's Classroom. This valuable eBook, adapted from the $189 set of the same name, offers the 14 most actionable lessons every trader should know. Download your free eBook now. This article was syndicated by Elliott Wave International and was originally published under the headline How You Can Make Yourself a Better Trader. EWI is the world's largest market forecasting firm. Its staff of full-time analysts led by Chartered Market Technician Robert Prechter provides 24-hour-a-day market analysis to institutional and private investors around the world.
  14. Wow - losing 90% of market value since he took over. Wonder how much many millions he got paid to for that spectacular perform. And they're thinking he might take over as Treasury Secretary?! Oh I fear for the USA. MMS
  15. OO is not a new programming language - it more like a new technique of how to use a programming language. C# is a OO language but you can write a program that is 100% procedural in nature. So if it was written in EasyLanguage, you just have to get your head around how they organized the code, and if they used any OO features of the language. You don't have to learn another language. I hope that makes sense ... MMS
  16. The A Look at a Stock Trader's Day thread is a look at how a stock trader structures his day. I wanted to highlight this part: thx MMS
  17. The put-call ratio is primarily used by traders as a contrarian indicator when the values reach relatively extreme levels. This means that many traders will consider a large ratio a sign of a buying opportunity because they believe that the market holds an unjustly bearish outlook and that it will soon adjust, when those with short positions start looking for places to cover. There is no magic number that indicates that the market has created a bottom or a top, but generally traders will anticipate this by looking for spikes in the ratio or for when the ratio reaches levels that are outside of the normal trading range. MMS
  18. I could see a vendor building the code this way - where the instrument (stock, etc) is the object and things like volume, price, etc. are its properties. e.g. class Stock() { // variables to hold data int LastHigh; int Close; int Price; int Volume: // properties to return calculated data values bool NewHigh { return Close > LastHigh; } } Then someone would use this object like so: Stock s = new Stock("AAPL"); if (s.NewHigh == true) BUY!! So it all depends on the framework provided by the vendor. I know NinjaTrader is built with C# so if you program against it, essentially you are using OO. But like Tams said earlier, if the main goal is Trading, it doesn't matter whether it is OO or not, the tool doesn't matter. You just want it to work. thx MMS
  19. This applies to programming in general but understanding and being able to program something using recursion. Once you understand this, OO becomes much easier as you are now able to think about objects\reuse\etc in an abstract way. Too me, basic OO is just a way to organize data\code into useful, self-contained things - called objects. So instead of having 10 variables and 50 procedures\functions in a file, instead you have 5 objects each with 2 variables with 10 functions\properties each. So coding and understanding this is easier as you are breaking the problem down into something smaller and more manageable. Now there are advanced features of OO that took some more practice, like Inheritance and Polymorphism. These features are there to help reuse code. Summary: 1. Objects - used to organize code\functionality 2. Inheritence\Polymorphism - ways to reuse code and reduce copy\paste I would say a common mistake is for people to 'over-engineer' their object hierarchies and incorrectly implement Inheritance and Polymorphism. I've seen OO programs much more damn confusing than a procedural programs. It all depends on using the tools correctly. OO gives plenty of rope for people to hang themselves with. But given the complexity of software today, some applications would be nearly impossible without OO. thx MMS
  20. Here are a couple of more recent + great ones. thalestrader - Reading Charts in Real Time http://www.traderslaboratory.com/forums/trading-markets/6151-reading-charts-real-time.html Maelstrom - Trading the Storm - Methods for the Struggling Trader - http://www.traderslaboratory.com/forums/technical-analysis/10206-trading-storm-methods-struggling-trader.html steve46 - An Institutional "Look" at the S&P Futures http://www.traderslaboratory.com/forums/e-mini-futures-trading-laboratory/8859-institutional-look-s-p-futures.html OptionTimer - Optiontimer's Project: Using Trend, Momentum, & Timing with Strategy, Patience, & Discipline to Trade http://www.traderslaboratory.com/forums/trading-psychology/10158-optiontimers-project.html phantom - What Really Works for Technical Traders http://www.traderslaboratory.com/forums/technical-analysis/9764-what-really-works-technical-traders.html thx MMS
  21. NinjaTrader is written in C# (C-Sharp), a powerful object-oriented language that runs on the Microsoft .Net Framework. It allows your NinjaScript to do a lot more than any scripting platform just for trading. The downside to all that power is that it may be harder to learn. Great for programmers, are you a programmer? If you want to get trading quickly, I TradeStation is a better bet but the downside is you are tied in with their brokerage. Not that its a bad thing but its something to consider. There are so many variables, what is most important to you? MMS
  22. Trading decisions are based on all the variables involved, not just the stock's price movement. One variable, of course, is the time frame the trader is accustomed to. If you are a short-term, high-frequency trader, then you may choose to take small profits, or losses, several time per day. If you look at multiday time frames, then you should set price targets, for profits and losses both. MMS
  23. Great idea ... I'm a programmer by trade so I will be more than happy to help and answer questions ... bring them on! MMS
  24. TradersLaboratory Newsletter - Oct 25, 2011 This newsletter is brought to you by our sponsor NinjaTrader TOP POSTS & THREADS [1]Will the Germans Really Bring Back the Deutsche Mark? I would have thought as Germany is an exporting nation they would be happy to have a weaker Euro and be part of it.....a DM might not be wanted by Germany....it would be too strong ... 1. http://www.traderslaboratory.com/forums/market-analysis/10975-will-germans-really-bring-back-deutsche-2.html#post130333 [2]What Really Works for Technical Traders Guess I'm not sure what you mean by succeeding in not blowing up an account. Does it mean you're not trading? Trading is not a spectator sport! Anyway, what you said about trading ... 2. http://www.traderslaboratory.com/forums/technical-analysis/9764-what-really-works-technical-traders-34.html#post130308 [3]The Price / Volume Relationship Here a video I created a few days ago with 2 live trades, one small loser, found myself on the wrong side and a quick correction. I added some comments what I was thinking ... 3. http://www.traderslaboratory.com/forums/technical-analysis/6320-price-volume-relationship-400.html#post130354 [4]Leading Indicators for Economy and Stocks Economic Indicators are among the most talked and closely watched pieces of news in the investment world. Practically every week there is some announcement that affects ... 4. http://www.traderslaboratory.com/forums/trading/10693-leading-indicators-economy-stocks.html [5]Never Lose Again!! TheRumpledOne "Look, for example, at this elegant little experiment. A rat was put in a T-shaped maze with a few morsels of food placed on either the far right or left side of the enclosure. The placement ... 5. http://www.traderslaboratory.com/forums/trading-markets/4859-never-lose-again-therumpledone-129.html#post130349 [6]Developing Trader's State of Mind Discussion These kinds of situations will be addressed as we move into mindfulness training. What you are talking about is at the level of internal dialog. The emotional regulation practices ... HOT TOPIC [7]To Trend, or Not to Trend, is That the Question? All through my time as a trader so far, I have heard of trend traders, position traders, scalpers, faders and numerous other styles of trading. What it all seems to come down to though is you either go with the market or you go against it. To me, this rather pidgeon holes traders. It tends to lock them into a certain market with certain tendencies and when changes come about, it will give pretty lean spells to them or kill them entirely. This is kind of a self regulating structure I guess ... 7. http://www.traderslaboratory.com/forums/trading-markets/10850-trend-not-trend-question.html
  25. Welcome! What platform\software are you using? MMS
×
×
  • Create New...

Important Information

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