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 (04:48 AM) Views / Replies: 1,851 / 3 Created: May 11th, 2012 (07:08 AM) by futat Attachments: 1

 Welcome to futures io.

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

 May 11th, 2012, 07: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, 07: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 02: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)

Elite only

Elite only

Jan 18

Jan 23

Elite only

Elite only

## Ran Aroussi: TBA

Elite only

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

All times are GMT -4. The time now is 07:06 AM.

 Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io All information is for educational use only and is not investment advice.There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-18 in 0.10 seconds with 21 queries on phoenix via your IP 54.163.209.109