hi ford
the material pickewd up from trade2win forums .
just for your info
rv

--- On Sun, 9/5/10, ram vel <r...@yahoo.com> wrote:


From: ram vel <r...@yahoo.com>
Subject: [amibroker] Req Can we have afl showing gravity bars with color? 
please help [1 Attachment]
To: amibroker@yahoogroups.com
Date: Sunday, September 5, 2010, 11:14 AM


  


[Attachment(s) from ram vel included below] 





 
 
hi ford
 gravitycolor bars
can be coded in Amibroker,very well and easily.
I attach a simple code in tradestation,with hope someone will convert into Afl 
soon.
 
 
if you have tradestation, they're free on the forums OR you could easily code 
them yourself if you just read some easy language code. 
A moving average that changes colour when up/ down combined with heikin ashi 
bars.

Ive done some research and found that the colour charts turn blue or red in 
relation to a moving average which is based on the wieght of the price relative 
to the high or low. Meaning, if, for a particular bar, the prices 'tick count' 
is around the lower half of the bar, than the top half, it will turn red. if 
there is more activity in the top half than the bottom, it turns blue. I
m not sure how this average is writtin in code, but i do know it goes something 
like the difference between the number of ticks (regardless of time period) 
above the open (or top half of bar) and the bottom half (or lower than the 
open).
im sure there is a simpler way to explain. lol 
Ive done some research and found that the colour charts turn blue or red in 
relation to a moving average which is based on the wieght of the price relative 
to the high or low. Meaning, if, for a particular bar, the prices 'tick count' 
is around the lower half of the bar, than the top half, it will turn red. if 
there is more activity in the top half than the bottom, it turns blue. I
m not sure how this average is writtin in code, but i do know it goes something 
like the difference between the number of ticks (regardless of time period) 
above the open (or top half of bar) and the bottom half (or lower than the 
open).
im sure there is a simpler way to explain. lol
I had a look at your chart, it looks quite impressive. it seems to work better 
on very low time frames, so i can see why you may favour using another setup. 
 
eld (tradestation) code is here
 
Cheer up
regards
rv
 








      

Reply via email to