Re: [amibroker] OT: installing OS again

2010-09-09 Thread Aron Pipa
You can also take a look at the link below http://www.macrium.com/reflectfree.asp On Sep 8, 2010, at 10:44 PM, Keith McCombs kmcco...@engineer.com wrote: Anthony -- I use: http://www.terabyteunlimited.com/image-for-windows.htm#IFWFEATURE If you click on Download, you can download a trial

Re: [amibroker] Re: Amibroker commissions in other currencies.

2010-09-09 Thread Aron Pipa
Use buyprice and sellprice : Spread = 0.0002; Buyprice = close + spread; Sellprice = close - spread; On Sep 9, 2010, at 11:15 AM, pipadder pipad...@yahoo.com wrote: Hi, Thanks for the tip. I am actually using those specifications already, one needs to detail the margin,

[amibroker] I have a little Idea

2010-03-14 Thread Aron
; } av = tot/num ; Plot( av, , colorOrange, styleLine|styleThick|styleArea); Title = Table of Results : +msg+ \n- + \nAverage Equity = + av + \nTotal spins = + totspins + \nRed/Black Ratio = + totRed/totBlack + \nZero = + totzero/totspins*100 + %; Aron

[amibroker] Re: I have a little Idea

2010-03-14 Thread Aron
On 3/14/2010 11:48 PM, Aron wrote: Hello interested ! I have had no nerves recently to through the whole process that requires CBT. that's why I'm asking for any input regarding the following trading system (conceptual or technical); Wha do got: 1. unlimited basket of instruments 2

Re: [amibroker] Why writeif returns the same value all the time?

2010-03-13 Thread Aron
|There is nothing wrong with writeIf() try this explration: trendUp = mtRandom()0.5; *Filter* = 1; trendText = WriteIf(trendup , Trend UP, Trend Down); AddTextColumn(trendText , Trend); | On 3/13/2010 6:09 PM, googool123123 wrote: could someone please tell me why in the following code the

Re: Fw: [amibroker] Multiple Time Frames

2010-03-12 Thread Aron
You can try something like this: |TimeFrameSet(*inDaily*); Plot(*C*, , *colorGreen*,*styleBar*); TimeFrameRestore(); av = MA(*C*, 20); dayend = Hour()== 23; j = 0; Compressed = *Null*; *for* ( i = 0; i *BarCount*; i ++) { *if*(dayend[i]) { ||Compressed||[j] = av[i]; j++; } } delta

Re: [amibroker] Re: What do I need Buystop/Sellstop for?

2010-03-06 Thread Aron
I think you can use: getpositionlist() to count the number of opened positions and and cancelAllpendingOrders() if that number is higher than 9. On 3/6/2010 6:00 PM, B S wrote: I use IB - is there a way to limit the number of executions one would get using these orders? For example, say

Re: [amibroker] Calculate a backtest without using a portfolio

2010-03-05 Thread Aron
The backtest button in AA window has a small arrow. press it and select from the dropdown menu to run individual backtest. On 3/5/2010 10:31 PM, droskill wrote: Kind of a strange one here, but many times I want to explore the performance of a watchlist of stocks with a given system, but I

Re: [amibroker] Re: High Frequency Automated Trading with more than 1 Future Contract possible?

2010-02-28 Thread Aron
On 2/28/2010 1:57 PM, dubi1974 wrote: And one is working on tick basis, the other on 5min basis... So I want to trade different ideas on different futures at the same time. So I would need more than 1 instances of Amibroker open. Not necessarily, only your code will be more complex. Just an

Re: [amibroker] Re: High Frequency Automated Trading with more than 1 Future Contract possible?

2010-02-28 Thread Aron
On 2/28/2010 1:57 PM, dubi1974 wrote: Maybe Amibroker is the wrong approach for such ideas. But I think it should be somehow possible. The real limitation is the ability of the user to write complex and at the same time efficient code.

Re: [amibroker] barssince question

2010-02-28 Thread Aron
|bi = BarIndex(); event = ROC(*C*, 1) 0; numbar = ValueWhen(event,bi, 2); bsince = bi - numbar;| On 3/1/2010 4:41 AM, James wrote: How would I get barssince the second most recent occurence of an array instead of the most recent? In my head I was thinking of the syntax for valuewhen but

Re: [amibroker] Subscript Out of Range

2010-02-25 Thread Aron
On 2/25/2010 2:02 PM, sohamdas wrote: for(i = 0; i 6; i++) { InstPeriod[i] = 0; // Initialize early values and as array DeltaPhase[i] = 0; cycle[i]=0; Period[i]=0; } You may try this: InstPeriod = iif ( barindex() 6, 0,..); DeltaPhase = iif (

Re: [amibroker] Re: amibroker FREEZING!

2010-02-10 Thread Aron
Check also if there is a heavy code that loads at program start up. (check code profile against you database max bars) On 2/10/2010 10:06 AM, jollypolly999 wrote: Firstly this is not a whinge. I gain pleasure from the AB program. A problem arrived yesterday in the form of Amibroker freezing

Re: [amibroker] Help Needed with formula

2010-02-06 Thread Aron
//Store your condition in a static variable: condition = macd() 0; staticvarset(condition, condition); color = iif(condition, colorgreen, ); plot(macd(), , color); //call the static variable holding you condition in another indicator pane: condition = staticvarget(condition); color =

Re: [amibroker] Re: AD-line

2010-02-03 Thread Aron
try smth. like this: |snapshot = LastValue(Second()) == 59; *if* (snapshot) { adv = GetRTDataForeign(bid,AD-NYSE-NYSE-IND); StaticVarSet( index, Nz(StaticVarGet(index) )+ 1); StaticVarSet(value, adv); } value = StaticVarGet(value); index = Nz(StaticVarGet(index)); adv_array[index] = value;

Re: [amibroker] windows 7 64-bits

2010-02-03 Thread Aron
Actually you are not a real administrator http://www.vistax64.com/tutorials/67567-administrator-account.html On 2/3/2010 6:40 PM, Edward Pottasch wrote:  hmmm but I am in Administrator Mode I believe. The ab5296beta file is downloaded in the Downloads area of the Administration. And I am

Re: [amibroker] Correct futures - forex backtesting

2010-02-02 Thread Aron
Why did you use custom backtester ? On 2/2/2010 6:37 PM, İlhan Ketrez wrote: Hello, I am a registered user of Amibroker and have sent this problem to Amibroker support before sending to the mailgroup. By now, more than one week has passed and there is no reply. I still do not want to

Re: [amibroker] Re: Simple Buy on Close, Sell on Open not as expected

2010-02-01 Thread Aron
Keith, All you need to do assign buyprice the previous close value: |*Buy* = 1; *Short* = *Cover* = 0; *Sell* = 1; *BuyPrice* = *ref(Close,-1)*; *SellPrice* = *Open*; SetOption(AllowSameBarExit, *True*);| On 2/1/2010 1:21 AM, Keith McCombs wrote: Bruce -- Sorry, that doesn't do it. All the

Re: [amibroker] Re: SetForeign and StaticVarSet question

2010-02-01 Thread Aron
Not necessarily. |SetForeign($SPX); //Get RSI value for the SP500 RSISPX = LastValue(Ref(RSI(14),-1)); ticker = Name(); // will be $SPX StaticVarSet(RSI-SPX-+ticker,RSISPX); RestorePriceArrays(); _TRACE(ticker); RSISPX = StaticVarGet(RSI-SPX-+ticker);| On 2/1/2010 12:03 AM, el_pato_ut wrote:

Re: [amibroker] Re: Simple Buy on Close, Sell on Open not as expected

2010-02-01 Thread Aron
OR: |*Buy* = 1; *Sell* = 1; *BuyPrice* = *Close*; *SellPrice* = *Open*; *Short*= *Cover* = 0; *PositionSize* = -10; SetOption( Allowsamebarexit,1); SetTradeDelays(0,1,0,0);| On 2/1/2010 9:27 AM, Aron wrote: Keith, All you need to do assign buyprice the previous close value: |*Buy* = 1; *Short

Re: [amibroker] Pimping my code

2010-02-01 Thread Aron
|period1 = Optimize(period1, 25, 10, 50, 5); period2= Optimize(period2, 840, 800, 900, 10); fast [0] = *C*[0]; slow [0] = *C*[0]; *for*( bar = 1; bar *BarCount*; bar++ ) { fast[ bar ] =fast[bar-1]+(*Close*[bar]-fast[bar-1])*2/(period1+1); slow[ bar ]

Re: [amibroker] Pimping my code

2010-02-01 Thread Aron
You would still have to use Foreign() . As far as I know for best execution times you need to use: No Incudes No user functions/procedures No loops No Foreign() On 2/1/2010 2:33 PM, Markus Witzler wrote: Hello Aron, right, I was thinking too complicated.;-) Still, would storing

Re: [amibroker] TWS Installation prblem: javaw.exe not found

2010-02-01 Thread Aron
in Vista I had to modify target to: C:\Windows\SysWOW64\javaw.exe On 2/1/2010 6:13 PM, Herman wrote: Hello, I am trying to get the TWS to work on Windows 7 (64bit). I am using TWS 4.0 build 9018 with Java version 6 update 18. Would anyone know why the tws installed without a problem

Re: [amibroker] TWS Installation prblem: javaw.exe not found

2010-02-01 Thread Aron
right click on TWS desktop shortcut and select properties then ShortcutTarget On 2/1/2010 6:39 PM, Herman wrote: Thanks Aron, but where do I make that change? herman On 01/02/2010 12:33 PM, Aron wrote: in Vista I had to modify target to: C:\Windows\SysWOW64\javaw.exe On 2/1/2010 6

Re: [amibroker] SetForeign and StaticVarSet question

2010-01-31 Thread Aron
that's because you do not have a static variable with that name. Try this: |ForeignSymbol = $SPX; SetForeign(ForeignSymbol); //Get RSI value for the SP500 RSISPX = LastValue(Ref(RSI(14),-1)); StaticVarSet(RSI-SPX-+Name(),RSISPX); // Trace statment to test what is happening RSISPX =

Re: [amibroker] how to delete .ob ticker?

2010-01-30 Thread Aron
, but not all. Any reason? *From:* Aron aron.gro...@gmail.com *To:* amibro...@yahoogroups..com *Sent:* Fri, January 29, 2010 1:45:58 AM *Subject:* Re: [amibroker] how to delete .ob ticker? Run this scan: | *Buy* =1; oAB

Re: [amibroker] Simple Buy on Close, Sell on Open not as expected

2010-01-30 Thread Aron
| *BuyPrice* = Ref(*C*, -1)| ; this is cheating :-)

Re: [amibroker] how to delete .ob ticker?

2010-01-30 Thread Aron
. *From:* Aron aron.gro...@gmail.com *To:* amibroker@yahoogroups.com *Sent:* Sat, January 30, 2010 3:21:20 AM *Subject:* Re: [amibroker] how to delete .ob ticker? |Make sure that you apply to all symbols . *Buy* =1; oAB = CreateObject( Broker.Application

Re: [amibroker] how to delete .ob ticker?

2010-01-29 Thread Aron
Run this scan: | *Buy* =1; oAB = CreateObject( Broker.Application ); oStocks= oAB.stocks(); Symbol = Name(); *if* ( StrFind(symbol, .ob)) oStocks.Remove( symbol ); | On 1/29/2010 5:22 AM, Ding Li wrote: Hi, all, I have a lot of xxx.ob tickers (OTC stocks) in my list. Is there a way to

Re: [amibroker] I don't have a line between each month ?

2010-01-28 Thread Aron
preferenceschartingshow vertical line between months On 1/28/2010 2:14 AM, Yves wrote: I'm made my graphe(PBC,MA, etc...) But I don't have a line between each month in Daily and monthly I'm have It in 5,15 and 60 minute.

Re: [amibroker] Re: UltraEdit - what to consider

2010-01-25 Thread Aron
If you are using Vista look in: C:\Users\_YourAccount_\AppData\Roaming\Notepad++\ On 1/25/2010 9:47 AM, Paolo wrote: Yes I did but unfortunately there is no such path C:\Documents and Settings\youruserid\Application Data\Notepad++\ I have added userDefineLang.xml to C:\Program

Re: [amibroker] Filter rules are not for backtesting

2010-01-18 Thread Aron
You can use exclude |//backtest only simbols in watchlist 0| |*Exclude* = ! InWatchList(0);| On 1/18/2010 8:49 PM, Markus Witzler wrote: Hello, I just wanted to make sure that filter = ... applies to exploration but NOT to backtest mode. For the latter, I have to use the filte settings

Re: [amibroker] Re: UltraEdit - what to consider

2010-01-15 Thread Aron
http://notepad-plus.sourceforge.net/uk/site.htm http://finance.groups.yahoo.com/group/amibroker/files/Notepad%2B%2B%20-%20AFL%20Customization/ On 1/15/2010 6:07 PM, schnitt_tt wrote: --- In amibroker@yahoogroups.com, Mark Hike markh...@... wrote: / Plus one for Notepad++./ sorry but

Re: [amibroker] Trace Output via Parameters (AFL Eventhandling ?)

2010-01-12 Thread Aron
| *function* trace_output(show,text) { *if* (show) { _TRACE(text); } *else* { *Null* ;} } show = ParamToggle( Tracing Output, No|Yes, 0) ; text = just a test; *for* (i = 1; i 10; i++) { trace_output(show,text); } | On 1/12/2010 3:11 PM, schnitt_tt wrote: Hi, trying to make my

Re: [amibroker] How to limit the size of position by both money and percent of equity ?

2010-01-11 Thread Aron
|SetPositionSize(10, *spsPercentOfEquity*);| |SetOption( UseCustomBacktestProc, 1 ); *if* ( Status( action ) == *actionPortfolio* ) { bo = GetBacktesterObject(); bo.preProcess(); *for* ( bar = 0; bar *BarCount*; bar ++ ) { *for* ( sig = bo.GetFirstSignal( bar ); sig

Re: [amibroker] Viewing Chart.png file via Outlook 2003 as created by AmiBroker

2010-01-08 Thread Aron
Switch to Thunderbird. On 1/8/2010 7:38 PM, bistrader wrote: I can no longer click on and view chart.png via Outlook 2003. Can anyone help? I am in AmiBroker and Send by Email chart.png. I use Outlook 2003 to manage / view emails, so chart.png is sent via my Outlook 2003. I go to my

Re: [amibroker] Re: Alert email setting for GMAIL

2010-01-06 Thread Aron
|Maybe you should use smth. like this: sent = Nz(StaticVarGet(Sent)); *if* ( *NOT* sent) { AlertIf( *Buy*, EMAIL, +1 ES- Go long on System-1 5min, 1, 15); StaticVarSet(Sent, 1); }| On 1/6/2010 6:25 PM, Chaitanya wrote: doesnt any one use alertif successfully for intraday trading. if

Re: [amibroker] Re: dayofweek

2010-01-05 Thread Aron
|monday = DayOfWeek()==1; since = DateNum() = 091101; // November 1, 2009 absoluteChange = abs( ROC( *C*, 1 ) ); Change = 0; Count = 0; *for* ( i = 0; i *BarCount*; i++ ) { *if* (since[i] monday[i]) { Change = Change + absoluteChange[i]; Count ++ ; } }

Re: [amibroker] Can anyone help me?

2010-01-05 Thread Aron
|PlotShapes( (*L*== LLV(*L*,12) )* *shapeUpArrow*, *colorRed*, 0, *L*); PlotShapes( (*H*== HHV(*H*,12) )* *shapeDownArrow*, *colorGreen*, 0, *H*);| On 1/5/2010 7:24 AM, Vinay Gakkhar. wrote: I want to use Plotshapes to give up down arrows on the lowest the highest of last 12 bars. Only one

Re: [amibroker] Can anyone help me?

2010-01-05 Thread Aron
Vinay, In order to get that you need to look into the future which is smth. you do not want to do. each arrow represents the topmost and bottom most for the period the period. Aron On 1/5/2010 10:46 AM, Vinay Gakkhar. wrote: Dear Aron, Thank you very much for your help. As you will see

Re: [amibroker] Can anyone help me?

2010-01-05 Thread Aron
*, *shapeUpArrow*); Plot(*C*, , Color,*styleBar*); PlotShapes ((bar == BarIndex() )* shape, Color, 0, position);| On 1/5/2010 1:33 PM, Vinay Gakkhar. wrote: Dear Aron, You are right that in order to get what I want I need to look into the future. That's alright with me. Request please advise me

Re: [amibroker] Reducing Database Management Time

2010-01-02 Thread Aron
http://www.premiumdata.net/ On 1/2/2010 12:32 PM, cascade3891 wrote: Hello Amibrokerzzz, I would like any suggestions on how to reduce database management time. I have been using the third party US-database list from IntelliCom consulting listed here:

Re: [amibroker] Does anyone do FX backtesting?

2009-12-26 Thread Aron
Preferences Currencies: Dynamic Rate (FX Sybmol) - enter symbol if it exists in the same database and has quotes otherwise use Fixed Rate and modify exchange rate manually. On 12/26/2009 8:50 AM, Potato Soup wrote: I tried using BuyPrice/SellPrice/ShortPrice/CoverPrice but the problem is

Re: [amibroker] Re: AmiBroker 5.29.5 BETA released

2009-12-24 Thread Aron
Having the same problem with Metastock data plugin. It is not initializing ... Aron On 12/24/2009 12:20 PM, cvanhaesendonck wrote: Hello, Small issue here: I use to run simultaneously 2 AB instances: one in EOD daily using a local ascii database and another using IB plugin. When I launch

Re: [amibroker] Help with filling array

2009-12-23 Thread Aron
|*for*(i=5;i51;i++) { AvgSum = Sum(*C*,i)/i; ry= Ref(AvgSum ,-1); array = (AvgSum - ry)/*C* *100; slope[i] = array[i]; } | On 12/23/2009 1:43 AM, Marty J wrote: I'm having trouble with the following code Like to fill the array. for(i=5;i51;i++) { AvgSum = Sum(C,i)/i; ry= Ref(AvgSum ,-1);

Re: [amibroker] What function can return the barindex in leftmost window

2009-12-11 Thread Aron
status( firstvisiblebarindex), status(lastvisiblebarindex) On 12/11/2009 10:44 AM, zl_1 wrote: please see the following URL http://docs.google.com/Doc?docid=0AVHyL1I16nKWZGhwZjRwNHhfMTE0ZnN6ZjU1Zmghl=eninvite=CNrtq9sF IMPORTANT PLEASE READ

Re: [amibroker] Automatic update

2009-12-10 Thread Aron
http://www.amibroker.com/guide/aqobjects.html http://www.amibroker.com/docs/Import.js On 12/10/2009 3:59 AM, peter wrote: Hi, I am new to amiborker. I am using yahoo as the data feed. In order to update the data, I have to manually run |C:\Program Files\AmiBroker\AmiQuote\Quote.EXE

Re: [amibroker] How to code this strategy ?

2009-12-10 Thread Aron
|SetBarsRequired(*sbrAll*, *sbrAll*); *Buy*[0] = 1; *Sell*= 0; *Short* = 0; *Cover* = 0; Cnt = 0; *for* ( i = 1; i *BarCount*; i ++) { Cnt++; *if* ( Cnt == 8) *Sell*[i] = 1; *if*( Cnt == 13) *Short*[i] = 1; *if* ( Cnt == 19) *Cover*[i] = 1; *if* (Cnt == 27){ Cnt = 0; *Buy*[i] = 1;} }

Re: [amibroker] How to Draw a Chart Just Once?

2009-12-09 Thread Aron
I think it works if you take out the plot statements form: if( RAS == 1 ){ Complex code here } On 12/9/2009 2:43 PM, progster01 wrote: Hi. I'm working a new-to-me corner of the AB universe lately, and I'm having an issue that I don't yet know a solution for. Perhaps someone else has

Re: [amibroker] How to Draw a Chart Just Once?

2009-12-09 Thread Aron
/2009 7:33 PM, Aron wrote: I think it works if you take out the plot statements form: if( RAS == 1 ){ Complex code here } On 12/9/2009 2:43 PM, progster01 wrote: Hi. I'm working a new-to-me corner of the AB universe lately, and I'm having an issue that I don't yet know a solution for. Perhaps

Re: [amibroker] How To Backtest Different Custom Symbol List Per Day?

2009-12-09 Thread Aron
http://www.amibroker.com/kb/2006/09/29/how-to-set-individual-trading-rules-for-symbols-in-the-same-backtest/ On 12/9/2009 7:44 PM, davemabe2000 wrote: I have through external means constructed a list of days and symbols for each day. I'd like to backtest a strategy using Amibroker that looks

Re: [amibroker] Fast local offline searches of AmiBroker mailing list

2009-12-06 Thread Aron
Hello 9mac What are the News Server (NNTP) Settings in Thunderbird 3 On 12/5/2009 12:28 AM, 9mac wrote: This is good when working offline or on a slow internet connection. 1. Install an NNTP client with good search capability, Thunderbird 3 works well (currently stable at RC2). 2. NNTP

Re: [amibroker] Count number of up bar and down bar?

2009-12-05 Thread Aron
up = roc(c,1)0; down = roc(c,1)0; up = cum(up); down = cum(down); ratio = up/down; addcolumn(ratio, up/down); On 12/5/2009 5:53 AM, h15...@yahoo.com wrote: Dear all I want to addcolumn in my exploration code which shows number of up/ down price change counts in days Could anyone help

Re: [amibroker] Position sizing question

2009-12-05 Thread Aron
I use Ref (atr(), -1) On 12/5/2009 9:04 PM, droskill wrote: I've got a system that uses the following for sizing: Size = -2 * BuyPrice/1.5 * ATR(7); Now this works great for backtesting - takes the buy price (the open in this case) and puts an ATR-based sizing to it that uses a max of 2%

Re: [amibroker] how to plot buyprice at chart?

2009-12-03 Thread Aron
buyPrice =...; shortPrice = ; |PlotShapes( *Buy* * *shapeSmallCircle*, *colorBrightGreen*, 0, *BuyPrice*,0); PlotShapes( *Short* * *shapeSmallCircle*, *colorRed*, 0, *ShortPrice*,0); | On 12/2/2009 1:28 PM, rink wrote: Hello all please tell me how to plot buy price at chart

Re: [amibroker] Switching watchlists during an exploration.

2009-11-17 Thread Aron
| *for* (i = 1; i5; i++) { wlname = CategoryGetName(*categoryWatchlist*, i); *Filter* = 1; AddColumn( IIf (InWatchList(i),ROC(*C*,1),*Null*), wlname, 1.2); }| On 11/17/2009 3:10 PM, Mike wrote: I am running a simple exploration showing the ROC of a watchlist. I want to run the exploration

Re: [amibroker] Switching watchlists during an exploration.

2009-11-17 Thread Aron
This is better: |inwl = 0; *for* (i = 1; i5;i ++) { wlname = CategoryGetName(*categoryWatchlist*, i); inwl = Max (inwl, InWatchList(i)); *Filter* = inwl; AddColumn( IIf (Inwl,ROC(*C*,1),*Null*), wlname, 1.2); }| On 11/18/2009 1:42 AM, Aron wrote: | *for* (i = 1; i5; i++) { wlname

Re: [amibroker] Increase and decrease a var with two GFX buttons.

2009-11-07 Thread Aron
Look at this example: |RequestTimedRefresh( 1 ); LeftButton = GetCursorMouseButtons() 1; reset = GetCursorMouseButtons() 4 ; // middle button pressed numClicks = Nz( StaticVarGet( counter ) ); *if* ( leftButton ) StaticVarSet( counter, numClicks + 1 ); *if* (reset ) { StaticVarSet(

Re: [amibroker] plotshapes question

2009-11-01 Thread Aron
|VarSet(shape1, *shapeDigit1*); VarSet(shape2, *shapeDigit2*); VarSet(shape3, *shapeDigit3*); VarSet(shape4, *shapeDigit4*); // etc, *Buy* = mtRandomA() 0.9; n = 0; shape = *Null*; *for* ( i = 0; i *BarCount*; i++ ) { *if* ( *Buy*[i] ) { n++; shape[i] = VarGet( shape +

Re: [amibroker] Query regarding crests troughs

2009-11-01 Thread Aron
http://www.amibroker.com/guide/afl/afl_view.php?id=111 http://www.amibroker.com/guide/afl/afl_view.php?name=trough On 10/31/2009 12:00 PM, loshude wrote: Hello members, I've a query regarding crest troughs. I want to know how to mark Crest (ONLY last 3 in the chart) Troughs (Only

Re: [amibroker] Determining lowest # of bars in watchlist

2009-10-27 Thread Aron
numbars = lasvatlue(barindex()); filter = 1; AddColumn( numbars, Number of Bars, 1.0 ) On 10/26/2009 10:28 PM, levibreidenbach wrote: I am trying to determine the # of bars each symbol has. Say I have a watch list with 5 symbols (A,B,C,D, and E) If each symbol has the following number of

Re: [amibroker] Determining lowest # of bars in watchlist

2009-10-27 Thread Aron
Forgot to add: |Listnum = 64; x = BarIndex(); *Filter* = Status(lastbarinrange) *Filter*= InWatchList( Listnum ) ; AddColumn(x,NumBars);| On 10/27/2009 1:32 PM, Aron wrote: numbars = lasvatlue(barindex()); filter = 1; AddColumn( numbars, Number of Bars, 1.0 )

Re: [amibroker] Windows 7 64 bit - Amibroker Professional activation?

2009-10-24 Thread Aron
On 10/24/2009 11:16 AM, loewenste...@rocketmail.com wrote: You need to install AB 64 bit too I've just installed Windows 7 and Amibroker Professional 5.20. When I tried to activate with the 64 bit registry key and then started Amibroker I got the message that it was an unregistered version.

Re: [amibroker] Re: Windows 7 64 bit - Amibroker Professional activation?

2009-10-24 Thread Aron
On 10/24/2009 4:34 PM, loewenste...@rocketmail.com wrote: I can not locate it either Where to find this, I looked on the AB website, logged in and cannot locate it? Thanks. --- In amibroker@yahoogroups.com, Aronaron.gro...@... wrote: On 10/24/2009 11:16 AM, loewenste...@... wrote:

[amibroker] Is this a bug?

2009-10-24 Thread Aron
A single click on trigger button in the Parameter dialog is not any more sufficient to remove a static variable: |RequestTimedRefresh(0); Plot(*C*, , *colorBlack*); Left = GetCursorMouseButtons() 1; ID = GetChartID(); *if* (Left) StaticVarSet(ID + stop, GetCursorYPosition()); stop =

Re: [amibroker] how do i make a recursive looping value?

2009-10-23 Thread Aron
| ||SetBarsRequired(-2,-2); temp = 0; myArray = 0; *for*(i=0; i*BarCount*; i++) { temp = temp + *C*[i]; myarray[i] = temp/i; } Plot(myArray,, *colorRed*);| On 10/23/2009 5:54 PM, Richard wrote: hi everyone, question: i read that AB doesn't support recursion (and doesn't allow me to

Re: [amibroker] Does the variable exist ?

2009-10-21 Thread Aron
Formula Editor Edit Find On 10/21/2009 6:57 PM, amsiev wrote: How do I check in AFL if a variable exists ? Say I have a variable AmiP8 and want to know in the program if this variable exists. What's the AFL instruction for that ? Should be something like : If (VarExist(AmiP8)) etc. But I

Re: [amibroker] Automated Internet Based Stock Scanners

2009-10-14 Thread Aron
Herman, you can also take a look at: http://scanthemarket.com/ Herman wrote: Real-Time scanning of a large number of stocks is complicated by the ticker quota set by the data provider, internet BW, and the limited processing power most of us must work with. I am looking for an Internet

Re: [amibroker] Automated Internet Based Stock Scanners

2009-10-14 Thread Aron
Herman, you can also take a look at: http://scanthemarket.com/ Herman wrote: Real-Time scanning of a large number of stocks is complicated by the ticker quota set by the data provider, internet BW, and the limited processing power most of us must work with. I am looking for an Internet

Re: [amibroker] Cross Hairs

2009-10-12 Thread Aron
View X-Y Labels markbouri...@sbcglobal.net wrote: This may be a dumb question but is there a way to have the price on the right and date on the bottom of the cross hairs? This is the way it works on some charting software. Most likely that I am missing something.

RE: [amibroker] Re: Auto Folder backup

2009-10-04 Thread Aron
All the folders I tried to exclude appeared in Backup. And also Aver would not remember Watchers after closing the application. Maybe there is something I did wrong. Thanks , Aron From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf Of Keith McCombs Sent: Sunday, October

RE: [amibroker] Re: Auto Folder backup

2009-10-04 Thread Aron
location using FTP. Aron From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf Of Keith McCombs Sent: Sunday, October 04, 2009 11:52 AM To: amibroker@yahoogroups.com Subject: Re: [amibroker] Re: Auto Folder backup Aron -- I'll try some things -- when I get a chance

RE: [amibroker] Re: Auto Folder backup

2009-10-03 Thread Aron
Hello Rob, A quick Autover question: How to exclude from backing up Amibroker database folders (I have all named them with db_ prefix e.g.: db_Forex, db_eSignal, etc..) and also Amiquote\Download. I used in SettingAdvancedExclude Folders these parameters: \db_*\;\Download with no success.

RE: [amibroker] Re: Auto Folder backup

2009-10-03 Thread Aron
frequent changes to .afl files and the like. I've been looking for AutoVer's functionality for many years. Just found it last week. Love it, and its free. Aron -- As for your problem, you might try just a subset to figure out what is going on. For example, do the following work in Exclude Folders

RE: [amibroker] Change default Portfolio Equity Chart?

2009-09-27 Thread Aron
Edit Portfolio.afl and save it as myColoredPrtfolio.afl From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf Of Mark Hike Sent: Sunday, September 27, 2009 7:02 AM To: amibroker@yahoogroups.com Subject: [amibroker] Change default Portfolio Equity Chart? Hi Folks,

RE: [amibroker] New high questions

2009-09-25 Thread Aron
I think this is what you need: TimeFrameSet( inMonthly ); m3high = H == HHV(H, 3); TimeFrameSet( inWeekly ); w3high = H == HHV(H, 3); TimeFrameSet( inDaily ); d3high = H == HHV(H, 3); TimeFrameRestore(); Filter = m3high || w3high || d3high; AddColumn(m3high,monthly, 1.0);

RE: [amibroker] Need some math help

2009-09-24 Thread Aron
A = bbtop(); B = bbaverage; D = hhv(5,h); Oscillator = 100 * (D-B)/ (A-B); Condition = Oscillator 75; -Original Message- From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf Of wrzec Sent: Thursday, September 24, 2009 5:13 AM To: amibroker@yahoogroups.com Subject:

RE: [amibroker] Automatic Analysis problem

2009-09-23 Thread Aron
Post the code From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf Of Vinay Gakkhar. Sent: Wednesday, September 23, 2009 7:55 AM To: Amibroker Subject: [amibroker] Automatic Analysis problem Dear learned senior members, I have a small problem, can someone please

RE: [amibroker] Automatic Analysis problem

2009-09-23 Thread Aron
of Analysis Automatic Analysis Explore with Run every: 5min, and Settings Periodicity: 1 Minute. Best regards, and thanks, Vinay Gakkhar On Wed, 23 Sep 2009 12:39:30 +0530, Aron aron.gro...@gmail.com wrote: Post the code From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com

RE: [amibroker] Automatic Analysis problem

2009-09-23 Thread Aron
Subject: [amibroker] Automatic Analysis problem Yes. Best regards, and thanks, vgakkhar On Wed, 23 Sep 2009 20:26:35 +0530, Aron aron.gro...@gmail.com wrote: Do you have a 1 minute database.. -Original Message- From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com

Re: [amibroker] Hibernate and resume optimization

2009-06-12 Thread Aron
One thing is for sure: Your computer will not blow up. hydrob...@rocketmail.com wrote: I am wondering if it is possible to hibernate during a lengthy optimization and then continue the optimization where it left off after resuming from hibernation. Have never used hibernation before, so I am

Re: [amibroker] Re: reversing a position if stopped

2009-06-11 Thread Aron
|SetOption(ReverseSignalForcesExit,1);| nickeykhk wrote: Nobody knows how to do this? --- In amibroker@yahoogroups.com, nickeykhk nickey...@... wrote: How do I backtest a system that will reverse a position when stopped out? I've got this so far: stopLoss = 10;

Re: [amibroker] Apply Stop

2009-06-11 Thread Aron
If you intended to create a mess, you fully succeeded :-) your code should look something like this: |Wmovavg= ... *Buy* = *C*Wmovavg; // consider cross(c, wmovag); st = ... tp = ... tr = ApplyStop( *stopTypeLoss*, *stopModePoint*, st, 1 ); ApplyStop( *stopTypeProfit*, *stopModePoint* ,

Re: [amibroker] Inability to get correct values when switching time frames

2009-06-09 Thread Aron
try this: |TimeFrameSet(*inDaily*); C1 = Ref(*C*,-1) ; C2 = Ref(*C*,-2); C3 = Ref(*C*,-3); C4 = Ref(*C*,-4); C5 = Ref(*C*,-5); CD = *C* ; Plot(*C*, Name() , *colorWhite*, *styleBar*); *Filter* = Status(lastbarinrange); AddColumn(Cd, Cd,1.4); AddColumn(C1, C1,1.4); AddColumn(C2, C2,1.4);

Re: [amibroker] Re: AFL Studies

2009-05-19 Thread Aron
here is something that might get you started: select your points using left mouse button , clear all using middle mouse button. |SetBarsRequired( -2, -2 ); bi = BarIndex(); bis = SelectedValue( bi ); symbol = Name(); tframe = Interval(); chartID = GetChartID(); Xname = X + chartID + symbol +

Re: [amibroker] Re: Volume check

2009-05-12 Thread Aron
|pds = Param(pds, 10, 1, 100,1); Hi = HHV (*V*, pds); Lo = LLV(*V*, pds); Vosc = (*V*-Lo)/(Hi - Lo) *100; Plot(Vosc, , *colorRed*, *styleHistogram*);| M. Dawson wrote: Then if I find the last high 1 or 5 times ago. How do I reference what the volume is on that date. If twenty days ago I got

Re: [amibroker] if (Buy[i] = 0) not behaving as expected

2009-05-07 Thread Aron
everything.. gmorlosky wrote: In the line ~9 if(Buy[i] = 0, if I change that to 1, which is equal to a Buy, I get no Plots, even though the Explore shows 1s for half the tickers, else with 0, I get all plots. What is wrong ? NumBars = 20; fvb = Status(firstvisiblebar); for( i = 0; (

Re: [amibroker] Why does this IF error ?

2009-05-07 Thread Aron
fc is an array gmorlosky wrote: I get an error about not being numeric for line # 2 below which I // out. Why is if (fc 20) not valid ? fc = Foreign( symbol, C ); // if (fc 20) if( ! IsNull( fc[ 0 ] ) ) { Plot( 100 * ( fc - fc[ fvb ] )/ fc[ fvb ], symbol, colorLightOrange + (

Re: [amibroker] loop question

2009-05-07 Thread Aron
| Low5 = LLV(*L*,5); Last = *BarCount*-1; *if* (*Low*[Last] low5[Last-1]) { }| Noah Bender wrote: Dear all, I understand I can't reference an array in an if statement and I should probably write a loop to get the value of signallow5 in the code below. I am still learning how to

Re: [amibroker] prevent printing on interpretation window

2009-05-04 Thread Aron
||EnableTextOutput(False); murthysuresh wrote: my interpretation window has so much duplicate info that i cannot use it to write my own stuff. i cleaned up the printf and Tooltip info from my code. i still have duplicates. any help is appreciated.

Re: [amibroker] how to avoid old tickers in exploration-last-bar-only

2009-04-22 Thread Aron
Filter = Status(lastbarinrange) DateNum() == Now(3); gonzagags wrote: Hi I use exploration in stocks, using the choice 'last bar only'. But because I use last bar, the exploration shows me old tickers that have its last bar months, or years ago.. How could I avoid that kind of tickers to

Re: [amibroker] Linking indicators to change when one parameter is changed ?

2009-04-21 Thread Aron
Staticvarset() gmorlosky wrote: How do I link 2 indicators together in separate panes in the same window, so that when I chnage a parameter on one, it changes that same parameter on the other indicator (basically synchronizing the indicators)?

Re: [amibroker] Re: Linking indicators to change when one parameter is changed ?

2009-04-21 Thread Aron
|//pane 1 pds = Param(pds, 10, 5, 100, 1); pds = StaticVarSet(pds, pds); *Title* = pds: + pds; //pane2 pds = StaticVarGet(pds); Plot (EMA(*C*, pds), , *colorRed*); *Title* = pds: + pds;| gmorlosky wrote: Hmmm... Not quite what I need (or maybe I don't understand how it would work). My

Re: [amibroker] How can I implement to PnF by Graham Kavanagh 17 Apr 2004

2009-04-16 Thread Aron Pipa
That is the exploration code I wrote sometimes ago.. If you are interested for a newer version you may contact me privately. Aron. On 4/15/09, tomczykd tomcz...@yahoo.com wrote: Hello, I use PF chart based on closing price by Graham Kavanagh, 17 Apr 2004. This is very helpfull tools for me

Re: [amibroker] Re: JScript code not working on Vista 64 bit

2009-04-13 Thread Aron
I can run Jscript in Vistax64 with no problems. maybe you need to check the code. Blair wrote: Dennis, I think you are correct.. again... I was hoping someone here would be able to give me a nudge in the proper direction, but probably too specialized an issue just yet. I was thinking, as

Re: [amibroker] Re: JScript code not working on Vista 64 bit

2009-04-13 Thread Aron
); } % script = GetScriptObject(); filelist = script.GetSubFolderNames(G:\\Data\\, ); printf(filelist);| Blair wrote: --- In amibroker@yahoogroups.com, Aron aron.gro...@... wrote: I can run Jscript in Vistax64 with no problems. maybe you need to check the code. Aron, I have the code running

Re: [amibroker] Re: JScript code not working on Vista 64 bit

2009-04-13 Thread Aron
: Aron, Thank you for testing it out. I guess it is something specific in my sytem. At least I know that now. I will keep testing.. If you have much experience with JScript, can you give me any pointers? Thaanks Again. I really appreciate your help and testing. Blair

Re: [amibroker] New to Amibroker - How to create a function for use from another indicator

2009-04-09 Thread Aron
see: #include neil.wrightson wrote: Hi, As per above, I just bought Amibroker and it looks good so far. I want to create a Pivot point price (may already exist in Amibroker but I have not found it yet) that I can use in other indicators I develop. The function is function PPrice () {

Re: [amibroker] MT3 Plugin

2009-04-08 Thread Aron
In any case, I removed MT3.rar form download location. Ton Sieverding wrote: Don't know Aron. If this is a false positive. When downloading MT from metaquotes I did not get the virus warning. So something mustbe wrong with the first download. Better be careful ... Ton

Re: [amibroker] MT3 Plugin

2009-04-07 Thread Aron
... Something wrong with the RAR ... Regards, Ton. - Original Message - From: Aron To: amibroker@yahoogroups.com Sent: Monday, April 06, 2009 9:01 PM Subject: Re: [amibroker] MT3 Plugin You can download the file form here

  1   2   >