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 histogram set to red for down and blue for up so I can see
clearly) I have this indicator but was give to me with another setting
MACD above Zero Line
RSI Above 30
This system is base on trend trading. Buying on pullback when the
market continue its up trend.
Thank you for your help in advance, greatly appreciated :)
SetChartBkGradientFill( ParamColor("Backgroud Top Color",
colorRed),ParamColor("Background Bottom Color", colorDarkGrey));
//This indicator shows the value of tomorrow's Closing Price
//in order for the slope of the MACD Histogram to change Direction.
//(ie. changing from a positive slope to a negative slope OR changing
//from a negative slope to a positive slope)
GraphXSpace = 8;
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...