Re: [amibroker] Commands to create a white on black chart: SetChartOptions for Axes/Grid Color

2010-08-04 Thread afzal hossain
Try this if works for you PlotOHLC(Open, High, Low, Close,  "BIdx = " + BarIndex() +  "\n" + "O = " + O + "\n"+"H = "+ H + "\n"+"L  = " + L  + "\n"+"C ", IIf(Close>Open, colorBrightGreen,colorRed), styleCandle);  RegardsAfzal --- On Tue, 8/3/10, william.schram wrote: From: wil

[amibroker] Percentage calculation Amibroker

2010-08-04 Thread afzal hossain
Hello All Can anybody tell me how can i see in the amibroker % (percentage) change in price and volume for last 3 days, last 7 days , last 15 days, last 21days and last 3 month. % can be positive or negative. Can anybody help me to give such afl? Thanks and RegardsAfzal

[amibroker] Automatic analysis Scan code for bullish stocks

2010-08-04 Thread afzal hossain
Hello What could be the automatic analysis scan code for last 3 days bullish stock? Thanks in advanceAfzal

[amibroker] Buy Sell scanning afl code for Amibroker

2010-08-16 Thread afzal hossain
Friends Please help me to write a code for the following condition. - "x" is a value which increase or decrease with price- I have four straight line of value 30, 50, 65 and 70 --- Case1---  when "x" cross from bellow to above 30 is a buy signal warning and  when "x" cross 50 is a buy signal,  wh

Re: [amibroker] Req please help by correcting bar count error in the afl

2010-08-17 Thread afzal hossain
HiMay be this will help you _SECTION_BEGIN("INIT"); SetChartOptions(0,chartShowArrows|chartShowDates); ScanLookBack = Param("Scan Lookback", 2, 1, 25 ); fraction= IIf(StrRight(Name(),3) == "", 3.2, 3.2); _SECTION_END(); _SECTION_BEGIN("Price"); SetChartOptions(0,chartSh

Re: [amibroker] Help with code afl- color macd

2010-08-18 Thread afzal hossain
Lets try it _SECTION_BEGIN("MACD");r1 = Param( "Fast avg", 12, 2, 200, 1 );r2 = Param( "Slow avg", 26, 2, 200, 1 );r3 = Param( "Signal avg", 9, 2, 200, 1 );a=MACD(r1,r2);b=Signal(r1,r2,r3);Plot(a,"MACD",IIf(a>b,colorGreen,colorRed),styleLine|styleThick);Plot(b,"SIGNAL",colorAqua,styleDashed);Plot

Re: [amibroker] Help with code afl- color macd

2010-08-18 Thread afzal hossain
t;b,colorGreen,colorRed),styleLine|styleThick);Plot(b,"SIGNAL",colorAqua,styleDashed);Plot(a-b,"Histgram",IIf(a-b>0,colorBrightGreen,colorBrown),styleHistogram|styleThick); _SECTION_END(); regardsafzal --- On Wed, 8/18/10, afzal hossain wrote: From: afzal hossain Subject:

Re: [amibroker] Help with code afl- color macd

2010-08-18 Thread afzal hossain
lease help keep your good work going on.   regards rv --- On Wed, 8/18/10, afzal hossain wrote: From: afzal hossain Subject: Re: [amibroker] Help with code afl- color macd To: amibroker@yahoogroups.com Date: Wednesday, August 18, 2010, 12:51 PM   Try this one also---histogram color chang

Re: [amibroker] Req Exploration code for finding stocks with price crossed today above 20ema and

2010-08-20 Thread afzal hossain
Hi ford I am not a expert, i am learning try this EMA13=EMA(C,13); r1 = Param( "Fast avg", 12, 2, 200, 1 );r2 = Param( "Slow avg", 26, 2, 200, 1 );r3 = Param( "Signal avg", 9, 2, 200, 1 );a=MACD(r1,r2);b=Signal(r1,r2,r3); Buy=C>EMA13 AND a>b;Sell=C wrote: From: ford7k Subject: [amibroker] Req Ex

Re: [amibroker] Re: Req Exploration code for finding stocks with price crossed today above 20ema and

2010-08-20 Thread afzal hossain
Thanks  I has a difference, and make good sense regardsafzal --- On Fri, 8/20/10, booker_1324 wrote: From: booker_1324 Subject: [amibroker] Re: Req Exploration code for finding stocks with price crossed today above 20ema and To: amibroker@yahoogroups.com Date: Friday, August 20, 2010, 2:36 PM

Re: [amibroker] AFL Query

2010-08-22 Thread afzal hossain
Try this if it works for you | may be i am wrong that you want _SECTION_BEGIN("Price-Volume Change %");PlotOHLC(Open,High,Low,Close,"",IIf(Close>Open, colorBrightGreen,colorRed), styleCandle); //price selectiononedy=Param("Day",1,1,100,1);pronedybfr=LastValue(Ref(C,-onedy));prccngonedy=LastValue

[amibroker] Feeding Fundamental Data [1 Attachment]

2010-08-27 Thread afzal hossain
Hi All Can any body tell me how can i feed attached fundamental data in to Amibroker?This data I have collected from a website. Amibroker does not have a data feeder for www.dsebd.org I use a local data feeder for intraday and eod from .csv file. ThanksAfzal

Re: [amibroker] 52 week high

2010-08-29 Thread afzal hossain
YOU can use this tow for high and low Plot(HHV(H,Param("Hi-Days",30,7,365,1)),"DysHi",colorGold,33);Plot(LLV(L,Param("Lo-Days",30,7,365,1)),"DysLo",colorYellow,33); --- On Sun, 8/29/10, prasantaroy36 wrote: From: prasantaroy36 Subject: [amibroker] 52 week high To: amibroker@yahoogroups.com Dat

Re: [amibroker] 52 week high

2010-08-29 Thread afzal hossain
Sorryuse this Plot(HHV(H,Param("Hi-Days",365,7,365,1)),"DysHi",colorGold,33);Plot(LLV(L,Param("Lo-Days",365,7,365,1)),"DysLo",colorYellow,33); --- On Sun, 8/29/10, afzal hossain wrote: From: afzal hossain Subject: Re: [amibroker] 52 week high To: amibro

[amibroker] plot line btn higher high and lower low of RSI [1 Attachment]

2010-09-06 Thread afzal hossain
Friends Could you please guys help me to draw line between higher high and lower low value of RSI? Please find the attach as example. RegardsAfzal

Re: [amibroker] plot line btn higher high and lower low of RSI

2010-09-07 Thread afzal hossain
ly, Day(), Month() ); segments = segments != Ref( segments , -1 ); Plot( segments, "", colorDarkBlue, styleHistogram | styleOwnScale | styleDashed | styleNoLabel ); }

Re: [amibroker] plot line btn higher high and lower low of RSI

2010-09-07 Thread afzal hossain
Hi Reinsley I tried the following linePlot( C, "RSIc(" + n + ")", colorgreen, styleline ); instead of Plot( C, "RSIc(" + n + ")", 1, 64 ); and looks like it is working just not perfectly matching with clouds below 30. any way good works Reinsley Regards