[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: indicator



PureBytes Links

Trading Reference Links





I can help you with the second part of the question see below


-----Original Message-----
From:	Leukocyte1@xxxxxxx [SMTP:Leukocyte1@xxxxxxx]
Sent:	12 October 1999 22:28
To:	ribau@xxxxxxxxxxxxx; omega-list@xxxxxxxxxx
Subject:	indicator

I have a question about a lil indicator that I would like to use, but do not 
really understand the "EL."
What I would like to do is paint the bars of the first hour, no matter if I 
am using 1 min , 5 min, 30 or 60 min. Does anybody know how to simply paint 
the fist hours bars a different color from the rest of the day 
automatically???

Also, I would like to ask anybody out there if they know how to code a little 
paint 
bar indicator.
I would like the bar on a 5 minute chart to be painted on it's close when the 
low/high of the current bar is the same as the low/high of the previous 5 
minute bar. 

I have SCRT and use quick editor.
Try this for the 5 min chart.
Paint bar ..
If high=high[1] and low=low[1]
..then paint bar...
[1] means 1 bar ago ie refers to the prev bar, so you can use [10] to mean 10 bars ago
The brackets you need are not the ones above the 9 and 0 on the keyboard.
They the ones to the right of the P (using no shift) ie the square ones not the curly.
If you want to use the same formula for 10 bars ago, you can highlight the 1 bar version and COPY it and the rename it and reedit it.
Hope that helps. 
PS   you can use the same formula with < > less than/greater than instead of = to get an outside bar or an inside bar.
Just a bit of fun!
Rgds
Jeremy

Also, can I adjust to say n bars ago? Meaning can I adjust to look if the 
current low or high on the close is the same as 10 or 20 bars ago??

Thank you for any help or leads.