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.

Guest Tresor

Looking for Oscillator That Does NOT Diverge

Recommended Posts

Guest Tresor

Hello Guys,

 

One stupid question from a newbie. Is any chance there is an oscillator that does not diverge at all (or diverges very little)? I need it for calculating Bollinger Bands of it.

 

Regards

Share this post


Link to post
Share on other sites

Dunno, you would have to eliminate phase shift (lag) before you could meaningfully measure divergence in amplitude. I would take a look at signal processing approaches, Ehlers work springs to mind. I think the short answer is probably no - unless you know precisely the phase shift so can compare the amplitude of price now with the oscillator amplitude N (lag) bars ago. I think that might work but might not useful :) My knowledge of signal processing is pretty rudimentary though if memory serves there are a couple of guys here that where engineers in previous lives that might be able to answer with much more authority.

Share this post


Link to post
Share on other sites

An oscillator diverges for a simple reason (well its simple for a good oscillator).

 

When price doesn't have as much velocity (measure vertical move/number of bars) then an oscillator will not push as far as price because in some way its a 1st (or maybe 2nd in come cases) derivative of price.

 

So by definition oscillators will diverge.

 

Will divergence be meaningful? Quite probably not ... slowing down doesn't mean that something is going to stop and reverse does it?

Share this post


Link to post
Share on other sites
Guest Tresor

For a project of mine I just need the oscillator that resembles the price as much as possible, e.i. if the price makes a new high, I want the oscillator to make a new high as well.

 

What you guys wrote is not very optimistic for me :hmmmm:

Share this post


Link to post
Share on other sites

Why not just double smooth price then. Try a 3 ema followed by a 3 ema of the 3 ema (or sma for that matter). Or a hull ema. That will look like price.

 

Or if you want the extensions use a zig zag or a zig zag smoothed with a 3ema.

Share this post


Link to post
Share on other sites
For a project of mine I just need the oscillator that resembles the price as much as possible, e.i. if the price makes a new high, I want the oscillator to make a new high as well.

 

What you guys wrote is not very optimistic for me :hmmmm:

 

Perhaps a inverse Fourier transform. You could create a low (or high) pass filter to chart with other indicators or just map the "function" very closely.

Share this post


Link to post
Share on other sites
Guest Tresor
Why not just double smooth price then. Try a 3 ema followed by a 3 ema of the 3 ema (or sma for that matter). Or a hull ema. That will look like price.

 

Or if you want the extensions use a zig zag or a zig zag smoothed with a 3ema.

 

Hi Kiwi, emas will be emas; they can móve from 0 to zillions. I need an oscillator that will be bound within -100 to 100 or 0 to 100, etc

Share this post


Link to post
Share on other sites
Guest Tresor

Hello BlowFish,

 

It seems the mathematical rules cannot be broken.

 

Regards

Share this post


Link to post
Share on other sites

Polarized Fractal Efficiency (PFE) on ‘momentum’ indicators will not diverge as much since they tend to slam to the top or bottom and stay there until time to slam back to other side

 

hth

 

zdo

Share this post


Link to post
Share on other sites
Polarized Fractal Efficiency (PFE) on ‘momentum’ indicators will not diverge as much since they tend to slam to the top or bottom and stay there until time to slam back to other side

 

hth

 

zdo

 

Wont they diverge more? as when they are pegged high or low price can make new extremes but they can not?

Share this post


Link to post
Share on other sites

Blowfish,

 

Yes ( But as was covered on the first page, mathematically we are 'grasping at straws' (whatever that means :) ) with the bounded range of the indicator requirement. )

 

and No ... :wtf:

 

..just trying to help...

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bump: Tresor,

 

Have you looked at slow ergodic(s) or stochasticCG for your purposes?

 

zdo

Share this post


Link to post
Share on other sites

We are all trying to help, I was just trying to understand how PFE might accomplish that? No need to swear at me for being slow. :)

 

I guess not understanding what Tresor is trying to accomplish (apart from getting a square peg in a round hole) does not help. Actually more like getting an infinite peg into a finite hole.

Share this post


Link to post
Share on other sites
Guest Tresor

Guys,

 

please do not be angry with me for my being late with repsonses. Today is my first day of demo trading US markets. I am trying to master the DOM and other stuff. Will reply in a greater detail today or tomorrow.

 

Cheers :)

 

P.S. Till now very profitable :cool:

Share this post


Link to post
Share on other sites

As others have noted in earlier posts, due to the nature of bound oscillators for them not to get pasted to an edge or diverge, they must be truly predictive of how far this swing will go and adaptively increase the length ‘just right’ to hold it back from cascading across the middle to the other side for the first swing and then adaptively / differently manage the length of the second swing to allow it to run closer to the edge than the oscillator did the last swing. That’s more than fitting shapes into shape holes – that’s magic.

Basically, at first use ‘stochastics’ type indicators to indicate when an instrument is ‘stochastickin’ and when it’s not. It’s just as important to know when to use them as it is to know how to use them. Realize that the same pattern on an oscillator can represent a huge variety of patterns up on the price chart and if one were viewing the oscillator in isolation it would be possible to narrow down to a promising set of likely price patterns occurring on the hidden chart the but impossible to say which one it is. If you are going to master ‘stochastic’ type indicators, learn how the price representation and the indicator representations work together for you – including + and – divergences, etc. Then, get to where smooth sucks. Learn to prefer fast, ragged, jagged, and jittery. (ie If you’re looking for smooth security, consider getting a job instead of trading leveraged instruments :) )

...It's easy to see why a lot of trading minds reject oscillators out of hand.

 

re “For a project of mine I just need the oscillator that resembles the price as much as possible, e.i. if the price makes a new high, I want the oscillator to make a new high as well…What you guys wrote is not very optimistic for me” No, in general we can not be very optimistic on this. ;) All the suggestions I made were just off the top of my head. Here is another. Run your oscillators beside a detrend instead of a price chart. See Blowfish’s #9 post. If anything else pops into my head will let you know - at least you've been warned.

 

“I need it for calculating Bollinger Bands of it.” Suggestion – on indicators, try Keltners instead of BB’s.

 

Find attached a weekly YM chart with StochasicCG. It tends to diverge less often. White trend lines show place where it did not diverge. Red trend line shows place where it did.

Again- it only diverges slightly less often! There are still divergences all over the place

 

hth

All the best,

 

zdo

stochCG.thumb.jpg.59e29c90151fd9233a17a43567ff3566.jpg

Share this post


Link to post
Share on other sites

Ahh, I think we might be using a different vocabulary here. Often the case :D Generally speaking when people use of the term divergence is in respect to amplitude. Price makes a higher high but the oscillator fails to. There is a whole range of techniques based on this phenomenon.

 

I might be wrong but I think what you have there zdo is an oscillator with what I would call low phase shift or lag (which is a valuable thing in itself). However as the oscillator is 'pegging' high or low it is diverging (in amplitude) on nearly every swing. Of course it would trying to fit an infinite (unbound price) thing into a finite (bound oscillator) hole. You might manage to do it if you rescaled the oscillator every time price made a new high or low, not sure how useful that would be as old 'signals' would disappear and appear as new price series data arrived.

 

Edit: just noticed "Learn to prefer fast, ragged, jagged, and jittery." on a re-read. Better still learn to prefer price :):)

Share this post


Link to post
Share on other sites
Guest Tresor

Hello Guys,

 

Thank you very much for your contribution. I appreciate both good-faith input and sarcastic one. Recently a very skillfull programmer coded an AE for me that I had for some time in my head in pursuit to automate some of my activities. The backtesting and forward testing on multiple year data proven that this system is profitable and very robust for the third world markets I trade.

 

I attach a screenshot. Do not look at signals (these were not optimized for ES). In the bottom there is an indicator (hidden as it is proprietary) being a part of this EA. It is quite complex, at least for a programming newbie like me. I had to occupy my old almamater's supercomputer to optimize this strat. Simple work stations and servers would die :) Zillions of combinations.

 

This EA shows bad signals from time to time because of one oscillator's on which BB are calculated is showing divergence in relation to price.

 

I was naively thinking there might be some kind of solution to make an oscillator divergence-resistant so that I could make some suggestion to the programmer so that he could investigate further.

 

That's the whole story.

 

Regards

 

Bump:

 

“I need it for calculating Bollinger Bands of it.” Suggestion – on indicators, try Keltners instead of BB’s.

 

 

zdo

 

Keltners already included

y.jpg.f7eb23ecdbf63e2657dc917ef477b9ea.jpg

Share this post


Link to post
Share on other sites

Blowfish,

 

re: “definitions”. I become more grateful each day at the freaked out definitions and perception patterns I have in trading… but I wouldn’t wish them on others. Again, I was only trying to help Tresor a little bit in his explorations… just some things off the top of my head to shorten the search and facilitate him bringing it to resolution in his own way. I have absolutely no argument with the preciseness of your definitions of divergence, etc.

btw I suspect all of us are projecting big time – he has only hinted at what he’s really after and we are imagining from there

 

re “what you have there zdo is an oscillator with what I would call low phase shift or lag”

That’s amusing – cause when I saw it, my first thought was “way too much lag” ;)

 

re: “Better still learn to prefer price” Again, no real argument. Like I said - it’s easy to see why a lot of trading minds reject oscillators period… on the other hand, price also is just a representation of the auctions and to make it the ‘only thing that matters’ is ultimately limiting…

 

Have a good one.

 

zdo

Share this post


Link to post
Share on other sites

Tresor-> What indicator wouldn't be profitable after optimizing? IMHO as soon as an indicator needs optimizing to give proper indications, then the life span of the indicator would turn out to be very short and the worst part, one can allways use an excuse for the incoming failure :cool:

 

An optimal indicator would consist of more than just simple OHLC calculations, but should take previous action into consideration and thereby be build as dynamic as possible, hence adaptive indicators rules ;) and optimization should be superfluous.

 

But again.. it's just me :missy:

 

 

BTW: Just remove the name of the indicator, I'm sure no one can figure out the name ;) it's a lot easier to share when everybody share ;)

Share this post


Link to post
Share on other sites
Parts of this study are dynamic / self-adjusting

 

But it still needs optimization? And that's exactly the point where the system fails :doh:

 

Forget about optimization, curvefitting etc. Create a system that looks at different scenarios, weights them and then take the most accurates one at that particular moment in time ;)

Share this post


Link to post
Share on other sites

Forget about optimization, curvefitting etc. Create a system that looks at different scenarios, weights them and then take the most accurates one at that particular moment in time ;)

 

How is that different than optimization?

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

    • Date: 22nd November 2024.   BTC flirts with $100K, Stocks higher, Eurozone PMI signals recession risk.   Asia & European Sessions:   Geopolitical risks are back in the spotlight on fears of escalation in the Ukraine-Russia after Russia reportedly used a new ICBM to retaliate against Ukraine’s use of US and UK made missiles to attack inside Russia. The markets continue to assess the election results as President-elect Trump fills in his cabinet choices, with the key Treasury Secretary spot still open. The Fed’s rate path continues to be debated with a -25 bp December cut seen as 50-50. Earnings season is coming to an end after mixed reports, though AI remains a major driver. Profit taking and rebalancing into year-end are adding to gyrations too. Wall Street rallied, led by the Dow’s 1.06% broadbased pop. The S&P500 advanced 0.53% and the NASDAQ inched up 0.03%. Asian stocks rose after  Nvidia’s rally. Nikkei added 1% to 38,415.32 after the Tokyo inflation data slowed to 2.3% in October from 2.5% in the prior month, reaching its lowest level since January. The rally was also supported by chip-related stocks tracked Nvidia. Overnight-indexed swaps indicate that it’s certain the Reserve Bank of New Zealand will cut its policy rate by 50 basis points on Nov. 27, with a 22% chance of a 75 basis points reduction. European stocks futures climbed even though German Q3 GDP growth revised down to 0.1% q/q from the 0.2% q/q reported initially. Cryptocurrency market has gained approximately $1 trillion since Trump’s victory in the Nov. 5 election. Recent announcement for the SEC boosted cryptos. Chair Gary Gensler will step down on January 20, the day Trump is set to be inaugurated. Gensler has pushed for more protections for crypto investors. MicroStrategy Inc.’s plans to accelerate purchases of the token, and the debut of options on US Bitcoin ETFs also support this rally. Trump’s transition team has begun discussions on the possibility of creating a new White House position focused on digital asset policy.     Financial Markets Performance: The US Dollar recovered overnight and closed at 107.00. Bitcoin currently at 99,300,  flirting with a run toward the 100,000 level. The EURUSD drifts below 1.05, the GBPUSD dips to June’s bottom at 1.2570, while USDJPY rebounded to 154.94. The AUDNZD spiked to 2-year highs amid speculation the RBNZ will cut the official cash rate by more than 50 bps next week. Oil surged 2.12% to $70.46. Gold spiked to 2,697 after escalation alerts between Russia and Ukraine. Heightened geopolitical tensions drove investors toward safe-haven assets. Gold has surged by 30% this year. Haven demand balanced out the pressure from a strong USD following mixed US labor data. Silver rose 0.9% to 31.38, while palladium increased by 0.9% to 1,040.85 per ounce. Platinum remained unchanged. 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 of how markets work. Click HERE to register for FREE!   Click HERE to READ more Market news. Andria Pichidi 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.
    • A few trending stocks at support BAM MNKD RBBN at https://stockconsultant.com/?MNKD
    • BMBL Bumble stock watch, pull back to 7.94 support area with high trade quality at https://stockconsultant.com/?BMBL
    • LUMN Lumen Technologies stock watch, pull back to 7.43 support area with bullish indicators at https://stockconsultant.com/?LUMN
×
×
  • Create New...

Important Information

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