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.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

brownsfan019

Programming Your System

Recommended Posts

So I've been thinking more and more about possibly programming my trading methodology. I have no idea where to start since I am not a programmer. I'm not even sure if what I am looking for can be programmed... It's not as simple as when X indicator and Y indicator do this, buy...

 

Just looking for some ideas since we have some programming guys here and maybe some are on full/partial automation...

 

Thanks!

Share this post


Link to post
Share on other sites

If you want any help programming or want me to program something, just give me a shout and I'll do my best.

 

With regards to partial/full automation, I have programmed various codes to fire off signals, but they're not black box systems, they all require discretion, and as you say with your methodology is not a X/Y then Buy......

 

So I think it all comes down to what you're expecting to come of it.

 

Cheers

 

Blu-Ray

Share this post


Link to post
Share on other sites

Same here...I am leaning towards ninja and want to automate but don't have a clue on programming. What does it cost to have something coded I've wondered and how can you be sure your edge won't be compromised as well?

 

Also can code or indicators be locked down so they can be sold without fear of the actual backing code being given away? Of course with the talent here we've had almost all hot indicators duplicated from looks alone, so that's never gonna go away 100%. ;)

Share this post


Link to post
Share on other sites
Same here...I am leaning towards ninja and want to automate but don't have a clue on programming. What does it cost to have something coded I've wondered and how can you be sure your edge won't be compromised as well?

 

Also can code or indicators be locked down so they can be sold without fear of the actual backing code being given away? Of course with the talent here we've had almost all hot indicators duplicated from looks alone, so that's never gonna go away 100%. ;)

 

mcichocki

 

I'm unsure about Ninja, but you can with Tradestation.

 

Cheers

 

Blu-Ray

Share this post


Link to post
Share on other sites
If I did it, I'd really want a full blown system where it does it all.

 

Thats not a problem and it is possible, but you would need a full list of all the criteria required for both entry and exit.

Share this post


Link to post
Share on other sites

It's possible for NT to write properitary indicators and sell them, you can choose between giving someone your indicators as plain code or a dll. I am sure there are other more professional options available to lock down your code.

As for having someone code your strategy, the only thing you can do is have them sign a contract which would make it impossible for them to legally use or pass it on your system.

 

If someone is really determined and they've got the skills and access they'll crack your system/indicators, nothing is really 100% secure.

Share this post


Link to post
Share on other sites

Personally I'd stay away from the obvious charting packages. They really are not robust enough unless you are going to sit and watch which kinda defeats the object. The obvious place to run this stuff is at your brokers where they have (if they are any good) suitable redundant infrastructure. I have never used them but maybe check out strategy runner. They also have in house programmers to help customers with automation. Quite a few brokers offer to run SR strategies. Step one is writing a detailed enough spec that people can quote on it, you can have placeholders for key elements if you are worried about plagiarism.

 

I know a couple of people that have done it themselves but they have either been pretty hot Java or C guys or had access to pretty hot Java or C guys (friends or colleagues). It is possibly a greater undertaking than you might imagine. Long story short you aren't going to want ninja, ts, amibroker, ensign, or whatever running on some virtual machine in a data centre. Of course if you are going to run it on a PC in your office while you watch TV with one eye and make sure everything is OK with the other that's a far more trivial proposition.

 

Cheers.

Share this post


Link to post
Share on other sites
It is possibly a greater undertaking than you might imagine.
This is such a TRUE statement. However, I would remove the word "possibly" ;). In my experience (and others I have talked to) automating a real trading edge correctly is extremely difficult. It can be a real eye opener to the way you actually trade. The big danger when automating is getting off track. When trying to simplify your trading to fit nicely into signals you will discover that your profit will drop dramatically. This will create a tendency to curve fit areas without realizing it which is very dangerous. Over the last six months or so I have carefully traveled down this road of automation (as many of you know). So far my total research, development, and programming has totaled several hundred hours. It has been a very interesting experience to say the least. If you want to bounce some ideas off me feel free to send a message my way. I wish you luck. Edited by Hlm

Share this post


Link to post
Share on other sites

Many moons ago I used to work as an IT consultant and whilst I always called the truth as I saw it I got into the habit of using a qualifier. My girlfriend was always telling me off for prefacing everything with 'I suspect...' Old habits die hard I guess. :)

Share this post


Link to post
Share on other sites
Many moons ago I used to work as an IT consultant and whilst I always called the truth as I saw it I got into the habit of using a qualifier. My girlfriend was always telling me off for prefacing everything with 'I suspect...' Old habits die hard I guess. :)

 

Great input from you all.

 

This post was funny BF, I work in a helpdesk/consultant role over the phone but the challenges are much the same as IT really. I often, even before I started watching the market would always throw a slight disclaimer in there to cover myself on calls. In the technology industry you kind of have to since you often have only a partial picture from the customer.

 

Good thing too, it carries over well to the market since we often have a bias that can be upset by one sideline participant coming in and changing the game for us.

Share this post


Link to post
Share on other sites
Personally I'd stay away from the obvious charting packages. They really are not robust enough unless you are going to sit and watch which kinda defeats the object.

 

Cheers.

 

I don't know if you should lump Ninja in there though with the others. Honestly, I think this is exactly why in 5 years Ninja will have blown everything else away. Its really nothing more than a C# compiler, if C# is robust enough for the project then so is ninja if you have the programming knowledge to do it.

Something I would think that could be interesting is to just hire a computer science student to work for you part time. Could probly find some wiz kids who are going for masters in CS on the cheap and who would be enthralled with the project idea.

Share this post


Link to post
Share on other sites
I don't know if you should lump Ninja in there though with the others. Honestly, I think this is exactly why in 5 years Ninja will have blown everything else away. Its really nothing more than a C# compiler, if C# is robust enough for the project then so is ninja if you have the programming knowledge to do it.

Something I would think that could be interesting is to just hire a computer science student to work for you part time. Could probly find some wiz kids who are going for masters in CS on the cheap and who would be enthralled with the project idea.

 

Great idea except the language we take for granted as traders doesn't translate very clearly to a non-trading programmer. A true test of the robustness of ones system is if can pass the einstein test. Can a kid understand it?

Share this post


Link to post
Share on other sites

Throwing some weight behing NeoTicker, which is miles ahead of most of the retail competition. I think OpenQuant also has a powerful product.

 

The problem is that without a decent backtesting platform, you will have no idea whether or not your system will actually become profitable in the end. For me, NeoTicker is the only product I saw that has the flexibility to code anything that could possibly come up. Languages of choice would be Delphi or C#.

 

Send me a PM if you want more info, contacts for programming (skilled traders and programmers, not just programmers!) or more info re: features or anything. Note, I don't have any interest in NeoTicker other than the fact that I use it and would like to see more people reaping the benefits.

Share this post


Link to post
Share on other sites

gooni, I wonder if you could give a run down on how you use neoticker as far as what you do with it that you wouldn't be able to do with other software?

While it seems like there is alot of amazing stuff for it(if Ninja can't copy the custom TICK16 stuff in 7 i'm going to look into Neo just for that) the whole program feels so clunky and spaghetti like to me. My biggest issue from trying the demo is that without a massive rewrite that they might eventually get dusted by Ninja or Openquant if Openquant ever decides to hire some writers to actually document the damn program or Ninja gets a database up to snuff with openquant/neo.

Share this post


Link to post
Share on other sites

Valid concerns darthtrader. It took me a few months to get 'efficient' with NeoTicker, and now I can test things faster than any other platform. But here's where I find the most benefit:

 

- The option of true time-driven charting (as opposed to bar-driven), allowing combinations of many different kinds of series on a single chart. Imagine taking signals off a 15-minute chart and managing the trade using a 100-tick chart?

 

- Creating managed time- or bar- series to support decisions, easily plottable. In fact, and this might be the same as NinjaTrader, a system is just a special form of indicator. Nearly everything is series and can be used by anything to else to make on the fly decisions.

 

- Superposition plugin, allowing us to create custom series. I haven't used this as much yet, but have some ideas regarding volatility based bar series.

 

- NeoBreadth indicators (like TICK16, but you can do practically anything really). Anyone who follows breadth in general should look at this alone as a reason to come to NeoTicker.

 

- Tick Replay, allowing tick-based indicators to be used in system development and while looking at historical data. This is usually things to do with bid/ask analysis that require every tick to be replayed.

 

- Simulation Server, that can use the disk cache to replay the whole platform (not just a chart). The Simulation Server requires a restart of NeoTicker and the platform pretty much treats it as just another data server (like eSignal, IQFeed etc). I'm sure you can imagine how useful that is. You can even replay trading systems at say 5x speed and get realistic fills from the trade simulator.

 

- An OLE layer that allows automation of the entire platform.

 

- Grid Optimizer product for optimisation (haven't used yet, heard very good things).

 

- Being outside the US and trading many markets, NeoTicker actually handles timezones properly.

 

- I think it's probably more efficient than NinjaTrader if you want to have 50 charts open, I never got very far with NinjaTrader.

 

- A proper pattern scan architecture (but I don't use it, no stocks for me!).

 

Of course, there are some downsides. It is, at the moment, not great for Forex. They are having some stability issues with some of the order managers in the latest build, and the support forum can take over a day to get back to you. Certainly, the 'community' is smaller than NinjaTrader. But NeoTicker do make sure to tell you that their institutional customers far outweigh retail. Take that how you will.

 

One final caveat - I'd be prepared to switch in an instance if something better came along. Rewriting strategies is not a mammoth task, and I'd rather retain the flexibility of being able to choose at all times. Hence, anything major I do in NeoTicker (ie, beyond prototyping), I do in C#.

Share this post


Link to post
Share on other sites

great rundown, the create custom series stuff sounds really amazing.

In another thread i've mentioned i've been looking for a tick database solution but it really seems stupid to not go with this or open quant.

I guess I'm really going to have to just take the plunge and buy this program. The biggest selling point to me is I've never once read about anyone who has taken the plunge and regretted it. Its always the same story like this...:)

I know deep down part of my problem with it is that its not using .net's beautifull anti aliased charts like ninja but even there I would imagine there could be a work around. Not to mention thats an extremely irrational reason to not use something.

 

thanks a bunch

Share this post


Link to post
Share on other sites

Eh, I prefer how the NT charts look to be honest (now that I've got the colours all the way I like them). All that said, there's a 30 day trial and a monthly lease option. Just be aware that 30 days is the minimum time you will need to 'get' NeoTicker, and that's using it often.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • also ... and barely on topic... Winners (always*) overpay. Buying the dips is a subscription to the belief that winners win by underpaying - when in actuality winners (inevitably/always*) win by overpaying... it’s amazing the percentage of traders who think winners win by underpaying ... “Winners (always*) overpay.” ...  One way to implement this ‘belief’ is to only reenter when prices have emphatically resumed the 'trend' .   (Fwiw, While “Winners (always*) overpay.” holds true in most endeavors (relationships, business, sports, etc...) - “Winners (always*) overpay.”  is especially true for auctions... continuous auctions included.)
    • re:  "Does it make sense to always buy the dips?  “Buy the dip.”  You hear this all the time in crypto investing trading speculation gambling. [zdo taking some liberties] It refers, of course, to buying more bitcoin (or digital assets) when they go down in price: when the price “dips.” Some people brag about “buying the dip," showing they know better than the crowd. Others “buy the dip” as an investment strategy: they’re getting a bargain. The problem is, buying the dip is a fallacy. You can’t buy the dip, because you can't see the total dip until much later. First, I’ll explain this in a way that will make it simple and obvious to you; then I’ll show you a better way of investing. You Only Know the Dip in Hindsight When people talk about “buying the dip,” what they’re really saying is, “I bought when the price was going down.” " ... example of a dip ... 
    • Date: 19th April 2024. Weekly Commodity Market Update: Oil Prices Correct and Supply Concerns Persist.   The ongoing developments in the Middle East sparked a wave of risk aversion and fueled supply concerns and investors headed for safety. Hopes for imminent rate cuts from the Federal Reserve diminish while attention is now turning towards the demand outlook. The Gold price hit a high of $2417.89 per ounce overnight. Sentiment has already calmed down again and bullion is trading at $2376.50 per ounce as haven flows ease. Oil prices initially moved higher as concern over escalating tensions with the WTI contract hit a session high of $85.508 per barrel overnight, before correcting to currently $81.45 per barrel. Oil Prices Under Pressure Amid Middle East Tensions Last week, commodity indexes showed little movement, with Oil prices undergoing a slight correction. Meanwhile, Gold reached yet another record high, mirroring the upward trend in cocoa prices. Once again today, USOil prices experienced a correction and has remained under pressure, retesting the 50-day EMA at $81.00 as we moving into the weekend. Hence, despite the Israel’s retaliatory strike on Iran, sentiments stabilized following reports suggesting a measured response aimed at avoiding further escalation. Brent crude futures witnessed a more than 4% leap, driven by concerns over potential disruptions to oil supplies in the Middle East, only to subsequently erase all gains. Similarly with USOIL, UKOIL hovers just below $87 per barrel, marginally below Thursday’s closing figures. Nevertheless, volatility is expected to continue in the market as several potential risks loom:   Disruption to the Strait of Hormuz: The possibility of Iran disrupting navigation through the vital shipping lane, is still in play. The Strait of Hormuz serves as the Persian Gulf’s primary route to international waters, with approximately 21 million barrels of oil passing through daily. Recent events, including Iran’s seizure of an Israel-linked container ship, underscore the geopolitical sensitivity of the region. Tougher Sanctions on Iran: Analysts speculate that the US may impose stricter sanctions on Iranian oil exports or intensify enforcement of existing restrictions. With global oil consumption reaching 102 million barrels per day, Iran’s production of 3.3 million barrels remains significant. Recent actions targeting Venezuelan oil highlight the potential for increased pressure on Iranian exports. OPEC Output Increases: Despite the desire for higher prices, OPEC members such as Saudi Arabia and Russia have constrained output in recent years. However, sustained crude prices above $100 per barrel could prompt concerns about demand and incentivize increased production. The OPEC may opt to boost oil output should tensions escalate further and prices surge. Ukraine Conflict: Amidst the focus on the Middle East, markets overlooking Russia’s actions in Ukraine. Potential retaliatory strikes by Kyiv on Russian oil infrastructure could impact exports, adding further complexity to global oil markets.   Technical Analysis USOIL is marking one of the steepest weekly declines witnessed this year after a brief period of consolidation. The breach below the pivotal support level of 84.00, coupled with the descent below the mid of the 4-month upchannel, signals a possible shift in market sentiment towards a bearish trend reversal. Adding to the bearish outlook are indications such as the downward slope in the RSI. However, the asset still hold above the 50-day EMA which coincides also with the mid of last year’s downleg, with key support zone at $80.00-$81.00. If it breaks this support zone, the focus may shift towards the 200-day EMA and 38.2% Fib. level at $77.60-$79.00. Conversely, a rejection of the $81 level and an upside potential could see the price returning back to $84.00. A break of the latter could trigger the attention back to the December’s resistance, situated around $86.60. A breakthrough above this level could ignite a stronger rally towards the $89.20-$90.00 zone. Always trade with strict risk management. Your capital is the single most important aspect of your trading business. Please note that times displayed based on local time zone and are from time of writing this report. Click HERE to access the full HFM Economic calendar. Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Michalis Efthymiou Market Analyst HMarkets Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past perfrmance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • Date: 18th April 2024. Market News – Stock markets benefit from Dollar correction. Economic Indicators & Central Banks:   Technical buying, bargain hunting, and risk aversion helped Treasuries rally and unwind recent losses. Yields dropped from the recent 2024 highs. Asian stock markets strengthened, as the US Dollar corrected in the wake of comments from Japan’s currency chief Masato Kanda, who said G7 countries continue to stress that excessive swings and disorderly moves in the foreign exchange market were harmful for economies. US Stockpiles expanded to 10-month high. The data overshadowed the impact of geopolitical tensions in the Middle East as traders await Israel’s response to Iran’s unprecedented recent attack. President Joe Biden called for higher tariffs on imports of Chinese steel and aluminum.   Financial Markets Performance:   The USDIndex stumbled, falling to 105.66 at the end of the day from the intraday high of 106.48. It lost ground against most of its G10 peers. There wasn’t much on the calendar to provide new direction. USDJPY lows retesting the 154 bottom! NOT an intervention yet. BoJ/MoF USDJPY intervention happens when there is more than 100+ pip move in seconds, not 50 pips. USOIL slumped by 3% near $82, as US crude inventories rose by 2.7 million barrels last week, hitting the highest level since last June, while gauges of fuel demand declined. Gold strengthened as the dollar weakened and bullion is trading at $2378.44 per ounce. Market Trends:   Wall Street closed in the red after opening with small corrective gains. The NASDAQ underperformed, slumping -1.15%, with the S&P500 -0.58% lower, while the Dow lost -0.12. The Nikkei closed 0.2% higher, the Hang Seng gained more than 1. European and US futures are finding buyers. A gauge of global chip stocks and AI bellwether Nvidia Corp. have both fallen into a technical correction. The TMSC reported its first profit rise in a year, after strong AI demand revived growth at the world’s biggest contract chipmaker. The main chipmaker to Apple Inc. and Nvidia Corp. recorded a 9% rise in net income, beating estimates. Always trade with strict risk management. Your capital is the single most important aspect of your trading business. Please note that times displayed based on local time zone and are from time of writing this report. Click HERE to access the full HFM Economic calendar. Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Andria Pichidi Market Analyst HFMarkets Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • Date: 17th April 2024. Market News – Appetite for risk-taking remains weak. Economic Indicators & Central Banks:   Stocks, Treasury yields and US Dollar stay firmed. Fed Chair Powell added to the recent sell off. His slightly more hawkish tone further priced out chances for any imminent action and the timing of a cut was pushed out further. He suggested if higher inflation does persist, the Fed will hold rates steady “for as long as needed.” Implied Fed Fund: There remains no real chance for a move on May 1 and at their intraday highs the June implied funds rate future showed only 5 bps, while July reflected only 10 bps. And a full 25 bps was not priced in until November, with 38 bps in cuts seen for 2024. US & EU Economies Diverging: Lagarde says ECB is moving toward rate cuts – if there are no major shocks. UK March CPI inflation falls less than expected. Output price inflation has started to nudge higher, despite another decline in input prices. Together with yesterday’s higher than expected wage numbers, the data will add to the arguments of the hawks at the BoE, which remain very reluctant to contemplate rate cuts. Canada CPI rose 0.6% in March, double the 0.3% February increase BUT core eased. The doors are still open for a possible cut at the next BoC meeting on June 5. IMF revised up its global growth forecast for 2024 with inflation easing, in its new World Economic Outlook. This is consistent with a global soft landing, according to the report. Financial Markets Performance:   USDJPY also inched up to 154.67 on expectations the BoJ will remain accommodative and as the market challenges a perceived 155 red line for MoF intervention. USOIL prices slipped -0.15% to $84.20 per barrel. Gold rose 0.24% to $2389.11 per ounce, a new record closing high as geopolitical risks overshadowed the impacts of rising rates and the stronger dollar. Market Trends:   Wall Street waffled either side of unchanged on the day amid dimming rate cut potential, rising yields, and earnings. The major indexes closed mixed with the Dow up 0.17%, while the S&P500 and NASDAQ lost -0.21% and -0.12%, respectively. Asian stock markets mostly corrected again, with Japanese bourses underperforming and the Nikkei down -1.3%. Mainland China bourses were a notable exception and the CSI 300 rallied 1.4%, but the MSCI Asia Pacific index came close to erasing the gains for this year. Always trade with strict risk management. Your capital is the single most important aspect of your trading business. Please note that times displayed based on local time zone and are from time of writing this report. Click HERE to access the full HFM Economic calendar. Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Andria Pichidi Market Analyst HFMarkets Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.vvvvvvv
×
×
  • Create New...

Important Information

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