TradingView
minorplanet2
2017년 12월 6일 오후 5시 13분

Offset 

E-mini Nasdaq-100 Futures (Dec 2017)CME

설명

This is a simple vertical offset function. It will work with price data or data from indicators. Sometimes I find it useful, particularly when I want to eliminate extraneous trading signals, to use this offset function with some of my indicators. I hope you find it useful too.

릴리즈 노트

Added time Offset in addition to price offset. This indicator can be applied to moving averages and other indicators
코멘트
pimpampet1
Im trying to do this in 2021 with pinescript 4 now, but i cant get this or another one that i found to work.. could you update it with the V4 code?
Belhalhar
Just what i was looking for, thanks!
MerihliMert
thank you very much
TK42DAN
Fantastic! As far as I can tell it's working perfectly for me. I added my 34 HMA, added this indicator and chose that 34 HMA as the target instead of Close which is the default. This is a fantastic way to make "poor man's" MA clouds, and it makes tracking trends a piece of cake on various time frames using only one MA. Thanks!

Of course, if smarter people than I determine it needs to be updated, I'm all for it!
ru2
If I want to offset an indicator, do I copy/paste this code onto the code of the indicator?

Thanks in advance!
sevenstyles
Thanks for creating this! Whenever I apply a vertical offset, the ema just disappears from the chart - any idea why this might be happening?
AgimTrades
This is amazing thank you!
minorplanet2
To have multiple offsets, just keep applying the indicator to your chart and set the input parameters.
RogerS
Time Offset really cool!! Any tip how to add multiple offsets at the same time ?
RogerS
@RogerS, within the same script ?
더보기