Download MetaTrader 5
To add comments, please log in or register
Do you know C++? MQL5 has much in common with it. Just try it yourself!
MetaQuotes Software Corp.
Moderator
177249
MetaQuotes Software Corp. 2010.06.10 08:19 

DROP LEVEL LINES (WITH LEVEL VALUE AND AUTOMATIC COLOR CHANGING):

Drop Level Lines with the level value inserted above or below the line and the color changing automatically for bottom level or top level.

Author: blackhawk

Bluesky
146
Bluesky 2010.06.10 10:45  
Thanks!
MQL4 Comments
16309
MQL4 Comments 2010.06.15 11:05  

Wow, great script blackhawk. Just one question, i suppose its not possible to make it, so the currency value move and adjust with the line as you move it to some other place?

MQL4 Comments
16309
MQL4 Comments 2010.06.20 13:12  
Thanks blackhawk, your script is so useful for gann swing trading. But, in the old support or resistance level of the market, we need to see what traders were doing.

other words, problem of breakout must be answered (as true or false). therefore, horizontal lines in your script should be extended to future not past (trendline-parameters-Ray)

http://i405.photobucket.com/albums/pp131/mozkanm/xx.png

MQL4 Comments
16309
MQL4 Comments 2010.08.25 21:01  

Hi,

Is there a way to alter this script so when you attach it to the chart, a window pops up and you can manually enter price levels, press ok, and have the horizontal lines of the price levels you manually entered show up on the chart?

Roberto76
41
Roberto76 2010.10.01 16:38  

Hi blackhawk,

This is great job. Thanks.

Can you connect an audio signal? Would be of great!

Thanks, Robert

MQL4 Comments
16309
MQL4 Comments 2011.10.11 15:30  

Hi Blackhawk,

I downloaded your script in expert/indicator/script folder.When I drag and drop o n chart,line does not appear.What is the reason?

dlppat

MQL4 Comments
16309
MQL4 Comments 2014.04.17 21:08  
dlppat:

Hi Blackhawk,

I downloaded your script in expert/indicator/script folder.When I drag and drop o n chart,line does not appear.What is the reason?

dlppat


It is not an indicator that will work across the entire chart. It is a script. Put it into the Scripts folder, restart program, grab the script and drop it where you want a price line. It will see whether it is a high or low, color it, and mark the price at that spot. Repeat the drag and drop for as many places as you desire.

MikeT
232
MikeT 2015.08.22 15:19  

Hey BlackHawk.... thanx for the code..... It has opened up a rabbit hole for me...

One thing that I cannot get right is to get the lines to be in the background...

I have tried all the OBJPROP_BACK (9) settings... but I still cannot get it right...

Any ideas...? 

MikeT
232
MikeT 2015.08.22 16:05  

K... I got it... for some reason I had to put the OBJPROP_BACK right at the top of the code.... 

I'll add some of my improved indi's when I am done....

Cheers 

MikeT
232
MikeT 2015.08.22 16:05  

If you don't mind me adding to your work...

/ /12
To add comments, please log in or register