AdvancedGetOscillator - x#property...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: x #property indicator_separate_window #property indicator_buffers 3 #property indicator_color1 DarkBlue #property indicator_color2 White #property indicator_color3 White //---- buffers double ExtMapBuffer1; double ExtMapBuffer2; double ExtMapBuffer3; double ExtMapBuffer4; double ExtMapBuffer5; d //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { IndicatorBuffers(5); //---- 3 additional buffers are used for counting. SetIndexBuffer(3, ExtMapBuffer4); SetIndexBuffer(4, ExtMapBuffer5); S //---- indicators SetIndexStyle(0,DRAW_HISTOGRAM); SetIndexBuffer(0,ExtMapBuffer1); SetIndexStyle(1,DRAW_LINE); SetIndexBuffer(1,ExtMapBuffer2); SetIndexStyle(2,DRAW_LINE); SetIndexBuffer(2,ExtMapBuffer3); //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator deinitialization function | //+------------------------------------------------------------------+...
View Full Document

This note was uploaded on 10/02/2010 for the course ACCOUNTING 10835 taught by Professor 123 during the Spring '10 term at Abu Dhabi University.

Page1 / 2

AdvancedGetOscillator - x#property...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online