| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Object-Oriented Programming OOP Tutorial from Java What is an object? Oracle.com
__________________ Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens. | ||
| |
|
| | #2 | ||
![]() | Re: Object-Oriented Programming OOP MMS
__________________ Traders Laboratory is 100% Free due to our generous ad sponsors. Be sure to support them - they support Traders Laboratory! Featured Brokers include: Alpari | Mirus Futures Featured Services: NinjaTrader | Kinetic | INO Trading Course | ||
| |
|
| | #3 | ||
![]() | Re: Object-Oriented Programming OOP Quote:
__________________ Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens. | ||
| |
|
| | #4 | ||||
![]() | Re: Object-Oriented Programming OOP Quote:
Quote:
Quote:
1. Objects - used to organize code\functionality 2. Inheritence\Polymorphism - ways to reuse code and reduce copy\paste Quote:
But given the complexity of software today, some applications would be nearly impossible without OO. thx MMS
__________________ Traders Laboratory is 100% Free due to our generous ad sponsors. Be sure to support them - they support Traders Laboratory! Featured Brokers include: Alpari | Mirus Futures Featured Services: NinjaTrader | Kinetic | INO Trading Course | ||||
| |
|
| | #5 | ||
![]() | Re: Object-Oriented Programming OOP 25 years later, I am surprised to see TS taking it on as a trading language. My personal take (only personal 2 cents' worth) -- it is a waste of otherwise useful and productive time for the non-programmers (especially traders) trying to learn and implement any serious and extensive OO programming project. OO programming is a craft, not a skill. It requires dedication and discipline to learn. It requires total immersion to learn it well. (object thinking is a paradigm shift) It requires practice practice and practice (ie. getting paid to do it professionally on the boss' dime). If you have not touched a piece of EasyLanguage code for 3 months, you can pick it up and understand the operation immediately. If you have not touched a piece of OO code for 3 months, it might take you a day(s) to understand the heads and tails of things (unless it is a very short code). OO is great for big and complicated projects. (eg. a comprehensive autotrade) EasyLanguage is good for small to medium sized indicators and simple autotrades. For the full time trader and amateur programmer, my advice is to stick to EasyLanguage and spend your precious time trading and making money, and if you have extra time, go and have fun doing things with the money you earned. Again, don't mean to discourage anybody taking it on... this is only my 2 cents' worth of gut feelings. YMMV.
__________________ Only an idiot would reply to a stupid post Last edited by Tams; 10-27-2011 at 03:58 PM. | ||
| |
|
| | #6 | ||
![]() | Re: Object-Oriented Programming OOP Quote:
Code: var: LastHigh(0), NewHigh(False); NewHigh = Close > LastHigh; // NewHigh is assigned a value of 'True' when condition met
__________________ Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens. | ||
| |
|
| | #7 | ||
![]() | Re: Object-Oriented Programming OOP Quote:
Code: 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;
}
} Code: Stock s = new Stock("AAPL");
if (s.NewHigh == true) BUY!! thx MMS
__________________ Traders Laboratory is 100% Free due to our generous ad sponsors. Be sure to support them - they support Traders Laboratory! Featured Brokers include: Alpari | Mirus Futures Featured Services: NinjaTrader | Kinetic | INO Trading Course | ||
| |
|
| | #8 | ||
![]() | Re: Object-Oriented Programming OOP Quote:
Plus I'm not sure if there is functionality, options available in OO in EasyLanguage not available otherwise. So, in a sense, I feel that I'm being forced to learn two programing languages, and I may need to use both of them in the same indicator.
__________________ Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens. | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming: Where to Start? | Soultrader | Coding Forum | 40 | 02-22-2012 10:13 AM |
| EasyLanguage Going Object Oriented ! | Tams | Tools of the Trade | 24 | 07-03-2010 09:49 AM |
| Text Object | PeterBrazel | Coding Forum | 0 | 01-28-2010 09:51 PM |
| Truncate EL Text Object | PeterBrazel | Coding Forum | 3 | 08-01-2009 10:38 AM |
| Programming Your System | brownsfan019 | Tools of the Trade | 17 | 04-22-2008 09:49 AM |