What's the meaning & function about the "Displace"? - EasyLanguage Programming | futures io social day trading

What's the meaning & function about the "Displace"?
 Updated: May 14th, 2012 (03:48 AM) Views / Replies: 2,746 / 3 Created: May 11th, 2012 (06:08 AM) by futat Attachments: 1

 Welcome to futures io.

# What's the meaning & function about the "Displace"?

 May 11th, 2012, 06:08 AM #1 (permalink) Trading Apprentice Hong Kong   Futures Experience: Beginner Platform: tradestation Favorite Futures: stocks   Posts: 6 since Nov 2011 Thanks: 1 given, 1 received What's the meaning & function about the "Displace"? Hello, Sorry about I am newbie. Do you know what's the meaning & function about the "Displace"? For example in MA code: inputs: Price( Close ), Length( 9 ), Displace( 0 ) ; variables: var0( 0 ) ; var0 = AverageFC( Price, Length ) ; condition1 = Displace >= 0 or CurrentBar > AbsValue( Displace ) ; if condition1 then begin Plot1[Displace]( var0, "Avg" ) ; if Displace <= 0 then begin condition1 = Price crosses over var0 ; if condition1 then Alert( "Price crossing over average" ) else begin condition1 = Price crosses under var0 ; if condition1 then Alert( "Price crossing under average" ) ; end; end; end;

 May 11th, 2012, 06:08 AM #2 (permalink) Quick Summary Quick Summary Post Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

Man wearing a tuque

Futures Experience: Intermediate
Platform: Multicharts
Broker/Data: IB, IQFeed
Favorite Futures: GC

Posts: 76 since Nov 2011

futat
 Hello, Sorry about I am newbie. Do you know what's the meaning & function about the "Displace"? For example in MA code: ............

futat - Displace means to shift the indicator to the left or right by a specified number of bars. Positive is left and negative is right. Refer to the chart below.

Note that you can just try different settings to see the effect. Also you can look up definitions in this handy reference EasyLanguage Essentials.

Len

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Last edited by Lampert; May 11th, 2012 at 01:04 PM. Reason: Changed link to download section on BMT
 The following 3 users say Thank You to Lampert for this post:

Hong Kong

Futures Experience: Beginner
Favorite Futures: stocks

Posts: 6 since Nov 2011

Lampert
 futat - Displace means to shift the indicator to the left or right by a specified number of bars. Positive is left and negative is right. Refer to the chart below. Note that you can just try different settings to see the effect. Also you can look up definitions in this handy reference EasyLanguage Essentials. Len Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Hello, Len
I got it. Much thanks!

 The following user says Thank You to futat for this post:

 futures io > What's the meaning & function about the "Displace"?

Upcoming Webinars and Events (4:30PM ET unless noted)

September

## Battlestations! Win \$947 in prizes for showing us your trading desk!

October

 Similar Threads Thread Thread Starter Forum Replies Last Post Quick Summary News and Current Events 0 December 17th, 2011 07:10 PM Quick Summary News and Current Events 0 November 22nd, 2011 01:50 AM javed759 NinjaTrader 1 November 1st, 2011 10:44 PM lokgotkent Traders Hideout 6 September 30th, 2011 01:24 PM jmejedi NinjaTrader Programming 4 May 23rd, 2011 09:33 AM