MultiCharts Easter Sale has jumped in! Up to 50% off Explore offers
+1 888 340 6572 GET STARTED

Offset Anything PB

Article/Author: Omega Research Inc., 1997

Download: offset-p.ela

File Includes: PaintBar - Offset Anything PB

Category: PaintBar > Offset Anything PB

Description: This is a PaintBar that plots back X bars. It will allow you to offset the plot back in time.
This is used most commonly to identify the actual swinghigh or low point. Since we do not know we have a swing
until after the fact, this allows us to plot back X number of bars. When using this with the swing functions be sure
the Offset value is eqaul to strength. The 'where' value in the indicator and the showme should also be the value
of the where you want it ploted offset by the strength.
Example: Offset=2 Anything=Swinghigh(1,high,2,20)
Where=High[2]

See also:
Indicator - Offset Anything Ind
ShowMe -
Offset Anything SM

EasyLanguage Code:
INPUT: OFFSET(1), ANYTHING(H<H[1] AND H[2]<H[1]);



IF ANYTHING THEN BEGIN
PLOT1[OFFSET](HIGH[OFFSET],"OFFSETH");
PLOT2[OFFSET](LOW[OFFSET],"OFFSETL");
END;