devils_advocate Posted May 28, 2012 Report Posted May 28, 2012 I had seen an indicator (i dont remem the name, was 'Golden Lines' or something), which draws Horizontal (support & resistance) lines, from a given price point at a specified distance between them. Can anyone here help me with the name of such an indicator n better give me link for download ? Thanks D_A_
Sixer Posted May 28, 2012 Report Posted May 28, 2012 D_A_, check the 2nd indicator of the following link if it is acc. to your request: http://codebase.mql4.com/ru/8129 Sixer devils_advocate 1
devils_advocate Posted May 29, 2012 Author Report Posted May 29, 2012 (edited) Thx Sixer for reply, but NO that indicator is not the kind I want. In the indicator you have recommended I cannot choose the distance between the horizontal lines. I want an indicator which draws horizontal lines above n below a price level given by me and each line should be separated by same difference in pips, which would also be specified by me. Edited May 29, 2012 by devils_advocate
shabz Posted May 29, 2012 Report Posted May 29, 2012 (edited) Indicator is called Quickdraw.mq4 It will draw from any designated starting price and draw 5 levels up & 5 levels down again a set number of pips apart. I will try & upload it for you or just google the indicator name. Edited May 30, 2012 by shabz devils_advocate 1
dannydon786 Posted May 30, 2012 Report Posted May 30, 2012 //+------------------------------------------------------------------+ //| quick draw.mq4 | //| .....h | //| hayseedville.com | //+------------------------------------------------------------------+ #property copyright ".....h" #property link "hayseedville.com" #property indicator_chart_window extern double start = 0.0; extern int pips = 100; extern int steps = 5; extern bool DrawUp = true; extern bool DrawDown = true; extern color clr = Blue; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //---- indicators //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { int counted_bars=IndicatorCounted(); //---- int i; if(DrawUp) { for(i=0; i<steps;i++) { Draw("up"+i,start+pips*i*Point); } } if(DrawDown) { for(i=0; i<steps;i++) { Draw("dn"+i,start-pips*i*Point); } } //---- return(0); } //+------------------------------------------------------------------+ void Draw(string name, double level) { ObjectDelete(name); ObjectCreate(name, OBJ_HLINE, 0, 0, level); ObjectSet(name, OBJPROP_STYLE, STYLE_SOLID); ObjectSet(name, OBJPROP_WIDTH, 2); ObjectSet(name, OBJPROP_COLOR, clr); } devils_advocate 1
Django Posted May 30, 2012 Report Posted May 30, 2012 (edited) here it is:https://www.box.com/s/b202c5ab027b922c3d67 and:https://www.box.com/s/19e0e2d87fee48771174 Mq and ex files Indi calls Horizontal Line Indicator Edited May 30, 2012 by Django name added Sesshoumaru, taipan and devils_advocate 3
devils_advocate Posted May 30, 2012 Author Report Posted May 30, 2012 Thanks very much Django, Danny & Shabz. Needed this indicator. Both quickdraw n horizontal line indicator do same thing. But, i like the latter due to its different color themes as it helps to identify starting point in jst a glance. thanks again for help. :)
shabz Posted May 31, 2012 Report Posted May 31, 2012 I use one that does the 500 & 000 lines. These levels are worth keeping an eye on, price stalls at these levels very often. There are many out there, the one I use is called "whole numbers".
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now