Stylethick or you might even try stylearea, just be sure it's the last Plot
statement or it will cover up your other lines.
color = iif(cond > 0, colorgreen, colorred);
Plot(cond,"cond",color,stylehistogram+stylethick);
--
Terry
> From: "sellcarad" <sellcarad@...>
> Reply-To: amibroker@yahoogroups.com
> Date: Fri, 07 Jan 2005 19:38:38 -0000
> To: amibroker@yahoogroups.com
> Subject: [amibroker] MACD Histogram
>
>
>
> Is there a way to modify the width of the bars for the built-in MACD
> histogram? The bars are narrow lines which are difficult to read
> when near zero. Also, is it possible to give the bars different
> colors when above zero versus below zero? Thanks for the help.
>
>
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>
>
Is there a way to modify the width of the bars for the built-in MACD histogram? The bars are narrow lines which are difficult to read when near zero. Also, is...
Stylethick or you might even try stylearea, just be sure it's the last Plot statement or it will cover up your other lines. color = iif(cond > 0, colorgreen,...
I tried this, but not sure of entering procedure - do I use "Indicator Builder" here, how do I enter or modify the built-in code? Sorry for basic question -...
You can always modify the built-in indicators with simple code like the change of color shown below. Here's some code the demonstrates a little more. It shows...
Thanks, Terry! ... like the ... price with 52 ... up ... can change ... become more ... 1,1); ... Line",colorWhite,styledashed+styleOwnScale,-1,1); ... in ... ...
Hi everyone, I just bought Amibroker for stocks trading. I usually use a small setup criteria to scan for my stocks but now I can't :( I would like to seek...
Hi David I only trade futures. Have never used the scan feature of Amibroker and I am not a programmer. Just do some cut and paste from one formula to ...
Just add something like this properly including your conditions and then scan: Buy = iif(sum(hist > histprev, 5) == 4 and ref(hist < histprev, -1), 1, 0); Bill...
OK, here is a simplified version that you can add to: First, let's be clear on your condition. As I understand, you want to buy when have 4 consecutive (I...
Thank you so much Bill. the scanner works exactly. I really appreciate you taking your time to advise and construct it. Thank you :) Thank you and best regards...
I have tried to use the difference in the MACD Histogram from one day to another, but it is not working correctly. Hist1 = MACD() - Signal(); Condition13 =...
Based on your question, I assume that your formula is: buy = condition13 + other conditions; What are the other conditions? Is there an interaction between...
Bill, Thank you for your reply. To check out this condition, I reduced wrote a formula with just 2 conditions. Here is the formula, _SECTION_BEGIN("2...
I don't think so. Your buy = macd > ref(macd) and hist < ref(hist). However, the data you presented has macd > ref(macd) and hist > ref(hist) so the buy...
Bill, Thank you. I didn't notice that. I guess that I am doing this all wrong. What I want is to have the condition met when the gap between the MACD and...
Your code and words don't match. I assume that your words are correct. "I want the buy condition to be when the MACD is below the Signal and the gap is...
... From: wavemechanic To: amibroker@yahoogroups.com Sent: Friday, October 26, 2007 7:26 PM Subject: Re: [amibroker] MACD Histogram Your code and words don't...
Bill, Thank you so much. I made the changes that you suggested and it seems to work. Tom From: wavemechanic To: amibroker@yahoogroups.com Sent: Friday, October...
Hi, I am having a little difficulty with an AFL formula. I want to compare one weeks MACD Histogram value to the previous weeks MACD Histogram value. My code...