Use buyprice and sellprice :
Spread = 0.0002;
Buyprice = close + spread;
Sellprice = close - spread;
On Sep 9, 2010, at 11:15 AM, "pipadder" wrote:
>
>
>
>
>
>
>
>
> Hi,
>
> Thanks for the tip. I am actually using those specifications already, one
> needs to detail the margin, the va
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 wrote:
> Anthony --
> I use:
> http://www.terabyteunlimited.com/image-for-windows.htm#IFWFEATURE
> If you click on Download, you can download a trial version. Sorry, I
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
S}} " , num,e, (black/spins * 100));
> tot = tot + e;
>
> }
>
> 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
|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
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++;
}
}
del
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 I
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 wa
have you tried:
VolumeSum = sum(Volume, 3);
VolumeSumB = ref(VolumeSum, -1);
On 3/5/2010 5:43 PM, davemabe2000 wrote:
> I'm trying to add the volume of the three previous bars (not including the
> current one) in my backtest.
>
> If I sum them up "manually" I get one value:
>
> VolumeSumA = Volu
|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 bar
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.
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 exa
You can experiment with smth like this:
|ticker1 = "6AH0-GLOBEX-FUT-USD";
ticker2 = "6EH0-GLOBEX-FUT-USD";
ticker3 = "ESH0-GLOBEX-FUT-USD";
*for* ( n = 1; n < 4; n ++ )
{
symbol = VarGet("ticker" + n);
SetForeign(symbol);
{
//Your entry rules here
*Buy* = ..;
*Short* = ..;
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
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 free
//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 =
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 a
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[ind
bo.ProcessTradeSignals( bar );
}
bo.postProcess();
}
|
On 2/2/2010 8:40 PM, İlhan Ketrez wrote:
One reason is to trace bo.Cash for example.
2010/2/2 Aron mailto:aron.gro...@gmail.com>>
Why did you use custom backtester ?
On 2/2/2010 6:37 PM, İlhan Ketrez wrote:
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 bel
right click on TWS desktop shortcut and select properties then
Shortcut>Target
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:
>&
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 h
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
|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 ] =slow[bar-1]+(*Close*[bar]-slow[ba
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:
Not necessarily.
|SetForeign("$SPX");
//Get RSI value for the S&P500
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
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
that's because you do not have a static variable with that name.
Try this:
|ForeignSymbol = "$SPX";
SetForeign(ForeignSymbol);
//Get RSI value for the S&P500
RSISPX = LastValue(Ref(RSI(14),-1));
StaticVarSet("RSI-SPX-"+Name(),RSISPX);
// Trace statment to test what is happening
RSISPX = StaticVa
l got some .ob tickers in
the list. I don't know why.
----
*From:* Aron
*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 al
|
*BuyPrice* = Ref(*C*, -1)| ;
this is cheating :-)
s some .ob tickers are deleted, but not all. Any reason?
----
*From:* Aron
*To:* amibro...@yahoogroups..com
*Sent:* Fri, January 29, 2010 1:45:58 AM
*Subject:* Re: [amibroker] how to delete .ob ticker?
Run this scan:
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
preferences>charting>show 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.
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 Files\Notepad++\
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 settin
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 wrote:
>/
> Plus one for Notepad++./
sorry but what do you
|
*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 mak
|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 && sig.is
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
|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 tradin
shapeDownArrow*, *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 wi
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.
>
&
|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
|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 ++ ;
}
}
Mond
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: http://www.amibroker.com/docs/ab30
Where is : gp_sydney
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
i
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 plug
|*for*(i=5;i<51;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;i<51;i++)
{
AvgSum = Sum(C,i)/i;
ry= Ref(AvgSum ,-1);
slo
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=0AVHyL1I16nKWZGhwZjRwNHhfMTE0ZnN6ZjU1Zmg&hl=en&invite=CNrtq9sF
IMPORTANT PLEASE REA
|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;}
}
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 /autou
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 look
rt still shows
the old graph for 20 sec.
On 12/9/2009 7:33 PM, Aron wrote:
I think it works if you take out the plot statements form:
if( RAS == 1 ){
}
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 think it works if you take out the plot statements form:
if( RAS == 1 ){
}
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 been
> here b
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. NNT
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 o
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 anyon
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
su
This is better:
|inwl = 0;
*for* (i = 1; i<5;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; i<5; i++)
{
| *for* (i = 1; i<5; 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
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(
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
|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
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 )
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
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 = Stat
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, Aron wrote:
>
>> On 10/24/2009 11:16
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.
|
||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
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. B
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
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
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.
>
>
>
> -
also to a remote 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 -
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
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 Exclu
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 Setting>Advanced>Exclude Folders these parameters:
\db_*\;\Download
with no success.
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,
Does
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);
AddColumn(w3high,
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:
com
Subject: [amibroker] Automatic Analysis problem
Yes.
Best regards, and thanks,
vgakkhar
On Wed, 23 Sep 2009 20:26:35 +0530, Aron wrote:
> Do you have a 1 minute database..
>
> -Original Message-
> From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On
Be
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 wrote:
> Post the code
>
>
> From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroup
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 hel
Hello Yofa,
In an attempt to improve stops optimizing a FX system I was piking
trades randomly out of signals generated by my entry logic.
The funny thing is that I get better results by removing the entry logic
completely.
|
SetOption( "initialequity", 100 );
SetOption( "FuturesMode" , 1);
Se
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 a
I can not see what you are looking for in your code. Applystop() is for
exits not for entries.
If you want to buy on a new high immediately after close price crosses
your moving average the code should be smth. like this:
myAverage =
Cond1 = Cross(Close, myAverage);
Cond2 = ref(Cond1,-1); /
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* , tp
|SetOption("ReverseSignalForcesExit",1);|
nickeykhk wrote:
Nobody knows how to do this?
--- In amibroker@yahoogroups.com, "nickeykhk" wrote:
How do I backtest a system that will reverse a position when stopped out?
I've got this so far:
stopLoss = 10;
ApplyStop(stopTypeLoss,stopMod
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)
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 +
|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
|
Low5 = LLV(*L*,5);
Last = *BarCount*-1;
*if* (*Low*[Last]
>
> 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 write loops. Can anyone post a
> samp
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, colorLig
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
||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.
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 tick
|//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 wo
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)?
>
>
>
>
>
> --
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 wrote:
> Hello,
>
> I use P&F chart based on closing price by Graham Kavanagh, 17 Apr 2004. This
> is very helpfull tools for m
1 - 100 of 180 matches
Mail list logo