This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

About drawing an colored K-line?


Back to topics list
avatar
8
vega 2005.02.17 04:16 
In mt4,can I mark a special K-line with special color?

e.g.

if 10000*abs(close-open)>=100,then
mark this K-line with bold-red
(or draw an arrow near it)

Thank you!
avatar
4464
Slawa 2005.02.17 10:11 
can You expose some picture for illustrate what You need?
avatar
8
vega 2005.02.18 07:57 
pictures:
http://img23.photo.163.com/vega_chuang/6482745/119550597.jpg
http://img23.photo.163.com/vega_chuang/6482745/119555900.jpg

programs:

lenth=10000*abs(close-open)
if lenth > 50 then
mark( "lenth");//or mark("dot")
end if
avatar
8
vega 2005.02.18 08:00 
you should copy the urls of pictures into a new opened IE address.
avatar
8
vega 2005.02.18 11:26 
this is the "long tail" k-line.

http://img23.photo.163.com/vega_chuang/6482745/119734534.jpg

note:you most copy this url to ie
avatar
unknown 2005.02.18 12:12 
Thank you for pictures.
Yes, it is possible. Please look at Parabolic SAR indicator source code example (/experts/indicators/Parabolic.mq4).
Based on this cource code you can write custom indicator that will mark chart by described algorithm.
avatar
8
vega 2005.02.18 16:04 
Thank you!
I should know how to do.
.........

I'm now just reading the Parabolic.mq4 source ......
avatar
4464
Slawa 2005.02.18 16:47 
we've recommended parabolic because this custom indicator draws arrows like objects. but htis one is difficult.
first learn simplest indicators
avatar
8
vega 2005.02.18 17:09 
I see.
I must study from begin.
Thank you.
avatar
8
vega 2005.02.25 09:31 
I study the sample of Parabolic.mq4 and successfully change it to my own indicator(as show below),not very difficult.
How happy I am!
wonderful!

http://img23.photo.163.com/vega_chuang/6482745/123737000.jpg
(copy this url to ie address)
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets