Hello all,
I am new to amibroker and am trying to run some explorations on a system I
have built. I have read the tutorial on exploratins but still a bit
confused. ANy one have any sample exploration code that I could look at or
sore reading material on it.
please let me know
ze
hello I have quotetracker.
My amibroker is misssing data points from quotetracker and I want to back
fill. I have the data in quoptetracker as I checked there charts and the
missing data is there, but I can't seem to find a way to transport it into
quote tracker does anyone know how to do this??
hello,
anyone know the code for a system to close all open positions when the
market closes for that day.
Basically a day trading position?
Then at the open of the next days sessions the system start again.
thanks
zeek
I have a trading system that I want to buy when price crosses above 20 bar
high. I know how to write if high or close crosses. but i want to know if
price crosses above even if not high or close, just the current price. How
would I code that?
thanks in advance .
zeek
here is an easy one
anyone know how to code a trailstop at the entryprice of a trade? either the
buyprice or the short price.
It would be appreciated thanks
zeek
Hello,
I am trying to incorporate IB automation into my trading system. I read the
manual about automation. Does anyone have some sample code they wrote with
IB automation
thanks
zeek
looking for a code to use on multiple entry and exits for the autotrader
with IB. i have the code with the system in amibroker but I am tryign to
plug it in to autotrader. Any one know how to do that??
thanks in advance
zeek
I am trying to set up gmail in my alerts in preferences, has anyone done
that that can help me out??
thanks
zeek
Hello all,
I found this code in one of the files on the autrading group. I think
herman wrote it.
PrevDT = StaticVarGet("DateTime");
DT = LastValue(DateTime());
NewBar = DT != PrevDT;
StaticVarSet("DateTime",DT);
My question is how could DT != PrevDt.,
Because DT is lastvalue date time and
Any one can help it would be great
i have a strategy that checks out in afl and sometimes displays on a chart
but after a few seconds the chart screen goes blank and reads "error:
formula execution halted because of an error - no chart to display." then if
i click the screen the chart will reapp
My questions is regarding static variables.
When using them for IB controller, does one need to initialize them when
autotrader is turned on. can one set them by using a param trigger like;
paramtrigger( "autotraderstart",autotrader on)
if (autotraderon)
setstaticvar("", '''):
etc etc with
Hello all,
I have been working on a strategy with a profit target for some time now and
trying to automate it into IB. this is proving most difficult as I can't
seem to get any of the orders to process.
If any one has a piece of autocode that uses 2 profit targets, I would love
to see it. Or if
Hello all
I am trying to understand loops more clearly. I have a question on some code
that i have been studying maybe someone can help:
If I have a loop
for( i = 0; i < BarCount; i++ )
{
condition .
{
for (j = i + 1; j < BarCount; j++)
{ .
Anyone have this problem before.
I have one screen plotting achart with an autotrading system connected to
IB.
when I open another pane on that chart and populate it with another system
either hooked up to autotrader or not, the screen says error and won't plot
the chart.
So I can only display o
Hello all,
I have managed to set up a backtester that uses sigscaleout with loops. I
would like to use a sigscaleout type function for autotrader. does anyone
have any ideas on how to do that??
thanks zeek
hello all,
here is an interesting question. one of my triggers is a moving average
crossover. Once the crossover occurs i have another condition. and buy is
created if condition B is met. I want to give the second condition only 10
bars to be completed after the moving average crossover occurs in
Hello,
all I am trying to set up a backtester on s&P emini data. Just wanted to
know what the appropriate point value should be in the code.
I thought 0.5m but i am not sure. Can anyone help?
zeek
Is there a way to code
that one should only buy if current position is zero?? Meaning one is
currently not short. and vica versa. I can't seem to find away to this??
please help
Hello all,
So I have been studying this loop over and over again and have a problem. It
is used for sigscaleout. I am not sure what i=j does in the code. I should
say why it does what it does. When I remove the i=j in the code, then the
chart plots multiple short signals for that short. WHen the i=
Hello all,
I have a question on sigscaleout. Do i have to use a loop when I use
sigscaleout or can I use it in an array? so far I have only been able to use
it in a loop.
Also, if I have a short sigscaleout and a long sigscaleout in the same loop.
I have noticed that only one of the sigscaleouts a
Hello,
Is there a way to code the position size in the backtester based on the
current account value in the backtester??
So like if my account increases 10K, i would add another contract??
thanks
zeek
Hello all,
I am trying to access my account equity from the backtester and plot it on
the chart. Below is the code I have but I am pretty sure that it is wrong
but not sure why. Can anyone help???
Curequity=0;
SetOption("UseCustomBacktestProc", True );
if( Status("action") == actionPortfolio )
{
Hey everyone,
Is the USERKB weblink broken? I can't seem to access it???
thanks
zeek
I think I am having a little problem with my static var code. I expected to
see in an exploration with the variable "onshort" a value of 1 when a short
trade is on. Instead all I see is zeros in the exploration. I am not sure
why. there are two parts to the code. If anyone can tell me what is wron
Can anyone tell me why this code won't produce a sigscaleout in an
exploration?. I thought I had the right code. I guess i Don't.
thanks
Buy= conditon1 AND (H>highsignal);
BuyPrice = Max(O,Highsignal+.05);
Sell= Low<=TrailingStop;
SellPrice = TrailingStop;
Buy = IIf( Buy == sigScaleOut, Buy, E
Hello all,
I have been working on plotting the actual trade with the custom backtest
interface.
I have been able to do that for the buy,sell,short,cover.
I am having some difficulty with the sigscaleout to plot? I can't seem to
figure out how to access it.
can anyone help me with this task.
t
hello all,
I am trying to access the custom backtester interface to change the share
size based on account value. But the code is off. I think sig.poshares is
incorrect. Is there another term to call or set the shares in the
backtester.
thanks
if (Status("action")==actionPortfolio)
{
bo=GetBackt
27 matches
Mail list logo