Fri05242013

Last update12:00:00 AM

AMIBROKER: SEPTEMBER 2012

logo

In “Developing A Multilevel Strategy” by Vladimir Vladimirovich Voznjuk in this issue, the author presents a simple indicator for currency pair trading.

A ready-to-use formula for the article implementing multiCHF is presented in the listing here. To use it, enter the formula in the AFL Editor, then press Insert Indicator.

You should modify the ticker symbol to match your data vendor symbology. You may need to adjust the scale if you apply this indicator to different pairs than EUR/USD and USD/CHF.

A sample chart is shown in Figure 1.

Ticker = "USDCHF.FXCM"; // the 'other' currency pair 
SetForeign(Ticker); 
fc = Close; 
fo = Open; 
RestorePriceArrays(); 
scale = 1; // scale depending on relationship of currency pairs 
z = ( Close - Open ) - (fc - fo ) * scale; 
Plot( z, "multi" + Ticker, colorRed );
Image 1

FIGURE 1: AMIBROKER. Here is a 30-minute EUR/USD price (upper pane) with the 30-minute multiCHF indicator.

—Tomasz Janeczko, AmiBroker.com
www.amibroker.com


To read the entire issue click here and subscribe today!

PTSK — The Professional Traders' Starter Kit
Home| Working Money Magazine | S&C Magazine | Traders.com Advantage | Online Store | Traders’ Resource
Add a Product to Traders’ Resource | Message Boards | Subscribe/Renew | Free Trial Issue | Article Code | Search

DEPARTMENTS: Advertising | Editorial | Circulation | Employment | Contact Us | BY PHONE: (206) 938-0570

Join us on Facebook     Follow us on Twitter     Follow Us on StockTwits

Bookmark and ShareCopyright © 1996-2013 Technical Analysis, Inc. All rights reserved. Read our disclaimer & privacy statement.

SUBSCRIBE TO OUR FREE
EMAIL NEWSLETTER!