Re: [amibroker] Need help in coding

2010-06-14 Thread Ara Kaloustian
Look in help files for PlotShapes - Original Message - From: Vinay Gakkhar. To: Amibroker Sent: Sunday, June 13, 2010 10:46 PM Subject: [amibroker] Need help in coding I use the following to get price bars in red, green or yellow color; red for downtrend, green for

Re: [amibroker] Need help in coding

2010-06-14 Thread Vinay Gakkhar
Dear Ara, Thanks for your immediate reply. As help files tell me how to have 2 colors, and I need 3 colors, that is why I am seeking guidance from persons like you. Can you please help me? Best regards, vgakkhar On Mon, 14 Jun 2010 11:44:35 +0530, Ara Kaloustian a...@san.rr.com wrote:

[amibroker] Re: Self Adaptive Bollinger

2010-06-14 Thread WiseStockTrader
Hello Implementing this would be a little complex but I would be interested in seeing how it performs in comparison with the one included in the WiseTrader Toolbox at www.wisetradertoolbox.com. The bollinger bands in the toolbox have 3 different adaptors based on volatility and how strong the

[amibroker] Re: Self Adaptive Bollinger

2010-06-14 Thread WiseStockTrader
Hello it is an interesting idea but i think it tends to stick to the highest standard deviation to much making the bands to wide. Judge for yourself. Here is my crude implementation with some hacks to make it work fast: http://www.wisestocktrader.com/indicatorpasties/55-adaptive-bollinger Here

[amibroker] Re: Need help in coding

2010-06-14 Thread Mike
You can have as many colors as you want just by following the same IIF pattern. The final color of the final nested IIF is the color to use when all others do not apply. colors = IIF(condition1, colorGreen, IIF(condition2, colorRed, colorYellow)); Mike --- In amibroker@yahoogroups.com, Vinay

Re: [amibroker] impenetrable AFL

2010-06-14 Thread Ton Sieverding
Rick changing a string to a number THAT'S COMING FROM AN ARRAY and after that changing a number to a string again, should give me the same array with the initial strings. But the fact that I can use IF after the string manipulation shows me that I am no longer having an array ... I still do not

Re: [amibroker] Re: Need help in coding

2010-06-14 Thread Vinay Gakkhar.
Dear Mike, Thank you very much for your help. Best regards, vgakkhar On Mon, 14 Jun 2010 13:22:23 +0530, Mike sfclimb...@yahoo.com wrote: You can have as many colors as you want just by following the same IIF pattern. The final color of the final nested IIF is the color to use when all

Re: [amibroker] impenetrable AFL

2010-06-14 Thread Yuki Taga
That was exactly my take on it. Wonderful that I can use IF, but why is it possible? Tomasz (The layman's interpretation, please.) ^_^ Yuki Monday, June 14, 2010, 5:11:34 PM, you wrote: TS Rick changing a string to a number THAT'S COMING FROM AN ARRAY TS and after that changing a number

[amibroker] Re: impenetrable AFL

2010-06-14 Thread Rob
It doesn't give you the same array... it gives you a scalar. (as Bruce mentioned it seems sometimes AFL can see an array has the same value all the way through and treats it as a scalar). --- In amibroker@yahoogroups.com, Yuki Taga yukit...@... wrote: That was exactly my take on it. Wonderful

[amibroker] Re: impenetrable AFL

2010-06-14 Thread Bruce
Yuki, Ton, Let me make what is hopefully a constructive suggestion. When in doubt, use AddColumn() for debug. It is your friend. In this case, you might do something like the following Explore - res = StrToNum( NumToStr( C ) ); Filter = BarIndex( ) = BarCount - 10; AddColumn( C, C, 8.2 );

Re: [amibroker] Re: Self Adaptive Bollinger

2010-06-14 Thread Anthony Faragasso
Here is something slapped together: /*Adaptive Zones Bollinger Bands OSCILLATOR*/ /*Automatically Adjusts the overbought and oversold levels based on past performance*/ //Bollinger Bands /*Input */ Lookback=Param(lookback,20,1,500,1); PerCent=Param(Percent enclosure,95,50,100,1); P =

[amibroker] read individual values

2010-06-14 Thread erichrod1
Hi Dr. Howard, I have your book and love it. It help me improve my backtests. Talking about how to read individual values in the portfolio-phase of the backtest, I have a question: How to use this custom objective function to take value IF TIMEFRAME IS RANGEBAR? I use this function in my

Re: [amibroker] Re: impenetrable AFL

2010-06-14 Thread Ton Sieverding
Hi Bruce, What I did is the following : // This is an array ... myString = Close; _TRACE(myString1 +myString); _TRACE(myString2 +Ref(myString,-1)); _TRACE(myString3 +Ref(myString,-2)); // This still is an array ... mySuperStr = StrToNum(NumToStr(Close)); _TRACE(mySuperString1 +mySuperStr);

[amibroker] Re: impenetrable AFL

2010-06-14 Thread Rob
Ton, As I have alluded to several times, AFL can spot an array with the same value all the way through it and in such a case can treat it like a scalar... which is what it does here. Think about it... if an array has exactly the same value all the way through, and you know it, why would you

[amibroker] Re: impenetrable AFL

2010-06-14 Thread Bruce
Ton, Rob - Not exactly. Last post on this, I promise, but the details can be important in other situations where AFL cannot make this transparent. Ton, let's expand your example slightly - // This is an array ... myString = Close; _TRACE(myString1 +myString); _TRACE(myString2

[amibroker] Fibonacci Price and Time

2010-06-14 Thread tomczykd
Hello, I'm working to create Fibonacci Price and Time similar to Stock and Commodity Price Time aplication. Fibonacci Price is working good and was easy to prepare. I can plot vertical lines on entry and exit date. I can count how mamy days is between entry and exit date. And here I have the

Re: [amibroker] Fibonacci Price and Time

2010-06-14 Thread Ara Kaloustian
to plot beyong the last bar, you need to use low level graphics Look in help for functions starting with gfx - Original Message - From: tomczykd To: amibroker@yahoogroups.com Sent: Monday, June 14, 2010 9:46 AM Subject: [amibroker] Fibonacci Price and Time Hello,

[amibroker] Request Can some afl expert give me jimberg formula buy sell stoploss rules

2010-06-14 Thread ford7k
hi afl experts Can somebody give me afl code for above please next can you give buy sell on profit sell on stoploss rules in code for backtest over 1 year eod data,please --- what I tried so far I tried RSI back test with buy above 50,sell below50 as rules Result netloss I

[amibroker] Large Volume Industry Updates

2010-06-14 Thread papadawg1
Anyone have a good way to update a large number of stocks with the correct industry assignment? I've been fooling around with some of the vb/jscript examples from newsletters in the past, but haven't been able to get them to work (I'll admit to be a novice when it comes to running external

Re: [amibroker] Digest Number 9316

2010-06-14 Thread Pablo Bozzolo
Hi! could someone help me whith a function ? The idea es return something like function non_above (a,b){ return ( (Ref (a,-1)Ref (b,-1)) AND (Ref (a,-2)Ref (b,-2)) AND (Ref (a,-3)Ref (b,-3)) AND (Ref (a,-4)Ref (b,-4)) AND (Ref (a,-5)Ref (b,-5)) AND (Ref (a,-6)Ref (b,-6)) AND

[amibroker] Re: impenetrable AFL

2010-06-14 Thread Rob
Bruce, Thanks as always for an exact reply. Luckily I don't use the backtester... so for me, my rudimentary understanding and logic seems to have served my needs. But always good to really understand what's going on under the hood. --- In amibroker@yahoogroups.com, Bruce bru...@... wrote:

[amibroker] Re: Digest Number 9316

2010-06-14 Thread italoarg76
Hi! Have someone recived my question ? :) Yahoo! 've informed the messaged was not delivered --- In amibroker@yahoogroups.com, Pablo Bozzolo boctu...@... wrote: Hi! could someone help me whith a function ? The idea es return something like function non_above (a,b){ return (

[amibroker] Re: Digest Number 9316

2010-06-14 Thread Mike
See Sum function. http://www.amibroker.com/guide/afl/afl_view.php?id=151 non_above = Sum(Ref(a, -1) Ref(b, -1), 6) == 6; Mike --- In amibroker@yahoogroups.com, Pablo Bozzolo boctu...@... wrote: Hi! could someone help me whith a function ? The idea es return something like function

[amibroker] Re: Digest Number 9316

2010-06-14 Thread italoarg76
Mike! thanks I didn't pay attention of integer conversion of booleans :)) Great solution!! function non_above (a,b){ bars = 6; // numero de bars anteriores que no deben haber superado la grafica return ( Sum( (Ref(a, -1) Ref(b, -1)) , bars) == bars ); } Thanks again! --- In

Re: [amibroker] impenetrable AFL

2010-06-14 Thread Rick Osborn
Ton You may have this a little backward. The first operation is NumToString - which changes the array value to a string. The next operation is StrToNum - which changes the string back to a number. It becomes just a number, not an array Best Regards Rick Osborn

Re: [amibroker] read individual values

2010-06-14 Thread Howard B
Hi Erich -- Thanks for the kind words about my books. I am afraid I do not understand your question. Usually the backtest is made over a range of dates or bars. Can you express the rangebar range you want tested in dates or bars? You can export the results of a backtest or explore, including

[amibroker] Re: Request Can some afl expert give me jimberg formula buy sell stoploss rules

2010-06-14 Thread Mike
The functions you are asking about are clearly documented in the user guide. Cross: http://www.amibroker.com/guide/afl/afl_view.php?id=34 EMA: http://www.amibroker.com/guide/afl/afl_view.php?name=ema MA: http://www.amibroker.com/guide/afl/afl_view.php?name=ma To try multiple variations, run an

[amibroker] Re: Self Adaptive Bollinger

2010-06-14 Thread googool123123
Thank you, very much! --- In amibroker@yahoogroups.com, Anthony Faragasso ajf1...@... wrote: Here is something slapped together: /*Adaptive Zones Bollinger Bands OSCILLATOR*/ /*Automatically Adjusts the overbought and oversold levels based on past performance*/ //Bollinger Bands

[amibroker] Re: Self Adaptive Bollinger

2010-06-14 Thread googool123123
Thank you, very much! --- In amibroker@yahoogroups.com, WiseStockTrader wisestocktra...@... wrote: Hello it is an interesting idea but i think it tends to stick to the highest standard deviation to much making the bands to wide. Judge for yourself. Here is my crude implementation with

[amibroker] OT: on line back ups system

2010-06-14 Thread Ara Kaloustian
Does anyone have an on-line back up system they are happy with? I tried Acronis and it looks to me like their product is in beta test ... too awkward to use especially from multiple computers... I do like their other products Thanks Ara

Re: [Komunitas AmiBroker] LSIP

2010-06-14 Thread Timur Langit
Mantap... ini bener2 mirip yg mahal yah? ada weekly, monthly high segala... wuih cakeeeppp 2010/6/15 muhammad anas muhanasjam...@yahoo.co.id Lsip kayaknya layak untuk dicermati. IHSG akan tampak lebih manis bila bisa tembus 2850 - 2870. Semoga

Re: [Komunitas AmiBroker] LSIP

2010-06-14 Thread ayahnyanadia
Pak Muh Anas, boleh ga di share aflnya..? Thanks Powered by Telkomsel BlackBerry® -Original Message- From: muhammad anas muhanasjam...@yahoo.co.id Sender: amibroker-4-bei@yahoogroups.com Date: Tue, 15 Jun 2010 08:33:37 To: amibroker-4-bei@yahoogroups.com Reply-To:

Re: [Komunitas AmiBroker] LSIP

2010-06-14 Thread Eco Syariah
Chart nya cakep dah... LSIP nya cakep juga kan ? BTW... itu pakai AB atau software lain ya ? 2010/6/15 Timur Langit timurlangit.is.h...@gmail.com Mantap... ini bener2 mirip yg mahal yah? ada weekly, monthly high segala... wuih cakeeeppp 2010/6/15 muhammad anas muhanasjam...@yahoo.co.id

Re: [Komunitas AmiBroker] LSIP

2010-06-14 Thread AnasMR
Mpok Ami Start Small Think Big Go Now -Original Message- From: Eco Syariah esyar...@gmail.com Sender: amibroker-4-bei@yahoogroups.com Date: Tue, 15 Jun 2010 08:37:14 To: amibroker-4-bei@yahoogroups.com Reply-To: amibroker-4-bei@yahoogroups.com Subject: Re: [Komunitas AmiBroker] LSIP

Re: [Komunitas AmiBroker] LSIP

2010-06-14 Thread AnasMR
Itu modifnya Pak Timur Start Small Think Big Go Now -Original Message- From: ayahnyana...@yahoo.com Sender: amibroker-4-bei@yahoogroups.com Date: Tue, 15 Jun 2010 01:44:52 To: amibroker-4-bei@yahoogroups.com Reply-To: amibroker-4-bei@yahoogroups.com Subject: Re: [Komunitas AmiBroker]

Re: [Komunitas AmiBroker] LSIP

2010-06-14 Thread Eco Syariah
Cara baca info pada chart LSIP dan IHSG itu gimana mas Anas ? and what should we do dgn info itu ? Thanks, ES 2010/6/15 AnasMR muhanasjam...@yahoo.co.id Mpok Ami Start Small Think Big Go Now -- *From: * Eco Syariah esyar...@gmail.com *Sender: *

Re: [Komunitas AmiBroker] LSIP

2010-06-14 Thread ayahnyanadia
Pak Muh Anas, boleh ga di share aflnya..? Thanks Powered by Telkomsel BlackBerry® -Original Message- From: AnasMR muhanasjam...@yahoo.co.id Sender: amibroker-4-bei@yahoogroups.com Date: Tue, 15 Jun 2010 01:41:56 To: amibroker-4-bei@yahoogroups.com Reply-To:

Re: [Komunitas AmiBroker] Pretty Bollinger

2010-06-14 Thread irwan
Pak Anton dan rekans Mohon bantuan, Kenapa ya pretty bol new color aflnya gak bisa dibuka? Untuk yg lain bisa (bbrsi dan bol indy) Regards Irwan -Original Message- From: Anton Wibowo ant...@gmail.com Sender: amibroker-4-bei@yahoogroups.com Date: Sun, 13 Jun 2010 17:12:38 To:

Re: [Komunitas AmiBroker] LSIP

2010-06-14 Thread Timur Langit
Gurih guriiihhh Setelah beberapa hari mencoba menggunakan screener dari 'mirip yg mahal', kok sepertinya trading jadi simple yah? Non Sofia emang bener lho katanya kemaren hebatnya yg mahal itu adalah screenernya Namun, hebatnya MIRIP yg mahal justru bisa intraday bagi yg

RE: [Komunitas AmiBroker] help :: explorer untuk beda time frame

2010-06-14 Thread Christopher Tahir
Mnrt yg sy baca,katanya hrs buka 2 amibroker br bs. Best Regards, Christopher Tahir MSN : chris_ta...@hotmail.com YM : chris_ta...@ymail.com FB : chris.ta...@yahoo.com Blog : ez-stock.blogspot.com -Original Message- From: Timur Langit Sent: 15/06/2010 10:39:13 AM Subject: [Komunitas

Re: [Komunitas AmiBroker] LSIP

2010-06-14 Thread Musicallypso
udh bs entry blm bwt LSIP dan tp di brp? 2010/6/15 Timur Langit timurlangit.is.h...@gmail.com Gurih guriiihhh Setelah beberapa hari mencoba menggunakan screener dari 'mirip yg mahal', kok sepertinya trading jadi simple yah? Non Sofia emang bener lho katanya kemaren

Re: [Komunitas AmiBroker] LSIP

2010-06-14 Thread ayahnyanadia
Pak sy kmrin dah aplikasikan utk KLBF pas msh di 1960, wkt itu di buaya lucu lucu udah gold, kmdian sy liat explorer buaya lucu candle ijo msh 1, konfirmasi lg ke buaya lucu sesuai prmintaan bu sofia yg bpk warna latarnya ijo muda jadi deh ambil KLBF bbrp biji. Skrg dah mrah muda jd siap siap