[amibroker] MACD Histogram

2007-12-19 Thread earlvanvigil
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 is as follows TimeFrameSet(inWeekly); function TrendUpDirection()//Buy { local trendUpDirection;

Re: [amibroker] MACD Histogram

2007-10-26 Thread wavemechanic
[EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Friday, October 26, 2007 12:24 PM Subject: [amibroker] MACD Histogram 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 = Hist1 Ref(Hist1

[amibroker] MACD Histogram

2007-10-26 Thread professor77747
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 = Hist1 Ref(Hist1, -1); What I would like to do is use Condition13 as one of the conditions to buy or sell. If the Histogram is less than

Re: [amibroker] MACD Histogram

2007-10-26 Thread professor
Thanks, Tom Sent: Friday, October 26, 2007 10:10 AM Subject: Re: [amibroker] MACD Histogram Based on your question, I assume that your formula is: buy = condition13 + other conditions; What are the other conditions? Is there an interaction between condition13 and other conditions

Re: [amibroker] MACD Histogram

2007-10-26 Thread wavemechanic
, October 26, 2007 2:13 PM Subject: Re: [amibroker] MACD Histogram 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 conditions only); Filename = StrLeft(_DEFAULT_NAME(),StrLen

Re: [amibroker] MACD Histogram

2007-10-26 Thread professor
:19 PM Subject: Re: [amibroker] MACD Histogram 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 condition was not satisified. BillRecent Activity a.. 47New Members b.. 1New

Re: [amibroker] MACD Histogram

2007-10-26 Thread wavemechanic
() signal() and hist ref(hist, -1); Bill - Original Message - From: [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Friday, October 26, 2007 9:13 PM Subject: Re: [amibroker] MACD Histogram Bill, Thank you. I didn't notice that. I guess that I am doing this all wrong

Re: [amibroker] MACD Histogram

2007-10-26 Thread professor
- Original Message - 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 match. I assume that your words are correct. I want the buy condition to be when the MACD

Re: [amibroker] MACD Histogram

2007-10-26 Thread professor
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 26, 2007 7:26 PM Subject: Re: [amibroker] MACD Histogram Your code and words don't match. I assume that your words

Re: [amibroker] MACD Histogram

2007-10-19 Thread David LW
] MACDHistogram HiWavemechanic, Thank you for your reply. I know nothing inprogramming to know where to put it:( Regards David wavemechanic [EMAIL PROTECTED] wrote: Just add something like this properly including your conditions and then scan

Re: [amibroker] MACD Histogram

2007-10-18 Thread Roger
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 another. I look at most posted afls just to make sure a good idea doesn't slip by! Be sure to ask the forum again if the scan still doesn't

Re: [amibroker] MACD Histogram

2007-10-18 Thread wavemechanic
: [amibroker] MACD Histogram Hi Wavemechanic, Thank you for your reply. I know nothing in programming to know where to put it :( Regards David wavemechanic [EMAIL PROTECTED] wrote: Just add something like this properly including your conditions and then scan: Buy = iif(sum(hist

Re: [amibroker] MACD Histogram

2007-10-18 Thread David LW
Hi Roger, Thank you so much for the time :) Regards David Roger [EMAIL PROTECTED] wrote: 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 another. I

[amibroker] MACD Histogram

2007-10-17 Thread protraderinc
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 help to write the scanner. Settings: MACD default, I look for Histogram 4 down bars and 1 up bar for buy signal(I used to have the

Re: [amibroker] MACD Histogram

2007-10-17 Thread wavemechanic
PM Subject: [amibroker] MACD Histogram 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 help to write the scanner. Settings: MACD default, I look for Histogram 4 down bars and 1

Re: [amibroker] MACD Histogram

2007-10-17 Thread David LW
Hi Roger, Thank you for taking you time to look at it :) Its very nice. I find it useful. You trade futures right? Are you into stocks? I bought http://www.bottomspringers.com/ and its on the way to me probably I think in 3 weeks time as I'm not in USA. If you are interested, I need your

[amibroker] MacD Histogram

2007-05-09 Thread professor77747
I would like to use the MacD Histogram in a code. How can I use it? Is there a variable for it? I was going to use abs(MACD()) -abs(Signal()) to get the histogram, but it doesn't work if the MACD() is positive and the Signal() is negative or visa versa. Thanks, Tom

Re: [amibroker] MACD histogram with Slow Stochastic

2006-06-22 Thread Dennis
mailto:amibroker%40yahoogroups.com] On Behalf Of Dennis Sent: Wednesday, June 21, 2006 06:15 To: Amibroker Subject: [amibroker] MACD histogram with Slow Stochastic Can't achieve just the MACD histogram on it's own. Ideally I'd like to combine the histogram and slow stochastic in the one pane. Any

[amibroker] MACD histogram with Slow Stochastic

2006-06-21 Thread Dennis
Can't achieve just the MACD histogram on it's own. Ideally I'd like to combine the histogram and slow stochastic in the one pane. Any clues? cheers Dennis Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design.

RE: [amibroker] MACD histogram with Slow Stochastic

2006-06-21 Thread Terry
Post some code. Can't tell what you're doing wrong without it. -- Terry -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Sent: Wednesday, June 21, 2006 06:15 To: Amibroker Subject: [amibroker] MACD histogram with Slow Stochastic Can't