Tools, Techniques, and Training for Nirvana Platforms |
OmniTrader, VisualTrader, OmniFunds & OmniVest |
| ||
| ||
|
|
John 6:27 (NIV) ... Do not work for food that spoils, but for food that endures to eternal life, which the Son of Man will give you. On him God the Father has placed his seal of approval. |
Forex custom strategies | |||
|
MarkGerber |
| ||
Friend Posts: 31 Location: USA: WA, Issaquah | This is my very first thread initiation. For starters, here's hoping I got the right room:) Deciding to work under the theory that each forex pair tends to have individual characteristics for which a one-size-fits-all strategy does not function very well, I would like to craft/assign a different strategy in OT for each of the six major pairs, and operate all six strategies in parallel. What I envision, for lack of experience, is having six strategies enabled in Edit-->Trading Strategy, and have each strategy check for the desired target symbol, perhaps in a filter block, and only passing a signal for the target. Maybe something like enabling a filter, and under long condition and short condition have a "symbol name=target pairing name", getting a boolean true/false out of it to execute or not execute. Any ideas? Thanks, Mark G. | ||
JimDean |
| ||
Owner/Admin Posts: 3925 Location: USA: GA, Lawrenceville | Hi Mark Not at my PC now and it's been a long while since I've done this, but as I recall, you can right click on a FL symbol and specify a strategy to be assigned to it. Give it a look-see, and maybe check out the Help manual as well. Otherwise, yes, a filter block could be used in the way you suggest but that method would be less efficient - might affect responsiveness when using fast intraday Bars. | ||
VinayJain |
| ||
Regular Posts: 59 Location: India: , Bangalore | Right click on a symbol -> Enabled Strategies -> Custom. Here you can specify which strategy to use with that particular symbol. | ||
MelDickover |
| ||
Veteran Posts: 155 Location: USA: FL, Bradenton | The subtle danger in this approach is the tendency to curve fit. Make sure you reserve some out-of-sample data to make certain you have a robust, predictive strategy, rather than an overfitted one. Mel | ||
JimDean |
| ||
Owner/Admin Posts: 3925 Location: USA: GA, Lawrenceville | I agree with Mel's cautionary comment - with some provisos: 1. If the way that you "craft" the strategies is essentially to target different kinds of logical events, such as trending vs RTM vs channels etc, because you've noticed independently of backtests that the symbol's characteristic price action is amenable to that, I would not be as concerned. 2. If the strategies you use actually all work pretty well for all the symbols, and if your purpose is to create diversification via non-colinear trades, then that IMHO is actually a pretty good idea. BUT - if your crafting process involves repeated tuning of parameters across essentially the same data, then that is a very unproductive approach. | ||
MarkGerber |
| ||
Friend Posts: 31 Location: USA: WA, Issaquah | YES! The right click symbol will work perfectly for what I want to do. Wow, all these years . . . and I never knew I had this ability. I agree about the dangers of curve fitting, and the need to be respectful of the distinction of assigning types of strategies vs molding them too closely for results. Thanks everybody for the tip, and the caution. --Mark G. | ||
MarcBekaert |
| ||
Friend Posts: 33 Location: Belgium: , Waardamme (Bruges) | in OT2016 => Right click on a symbol -> Enabled Strategies -> Custom doesn't work anymore in a Realtime strategy Barry knows about this bug But there is a workaround: you can insert a filter in your strategy like Symbol = "XYZ" ' OR Symbol <> "XYZ" Marc | ||
MarkGerber |
| ||
Friend Posts: 31 Location: USA: WA, Issaquah | Yes, you are right that it doesn't work with RT data. OT crashed when I tried the symbol workaround; I'll try it again later tonight. (OT symbol--Enabled Strategies--Custom.png) Edited by MarkGerber 7/21/2016 8:24 PM Attachments OT symbol--Enabled Strategies--Custom.png (73KB - 2 downloads) | ||
MarcBekaert |
| ||
Friend Posts: 33 Location: Belgium: , Waardamme (Bruges) | It seems that symbol = "xyz" doesn't works always, but it certainly works with symbol <> "ABC" And symbol <> "DEF" and Symbol <> "GHI" And symbol <> "JKF" and so on for all the symbols you don't want te be calculated for the strategy Marc | ||
JimDean |
| ||
Owner/Admin Posts: 3925 Location: USA: GA, Lawrenceville | Hi Marc That's very strange. Either both forms should work or neither should. You might want to recheck. The "and'd" approach could be pretty unwieldy for long focus lists. Possibly try something like false or (symbol = "XYZ") … the paren's &/or the Boolean "or" might force OT to evaluate it correctly. | ||
|
Owner of site: Jim Dean -- Forum content is confidential, and may not be distributed without written permission. | |